mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Update templates.process_type to be normal and set the column as not null.
This commit is contained in:
@@ -305,7 +305,7 @@ class Template(db.Model):
|
||||
process_type = db.Column(db.String(255),
|
||||
db.ForeignKey('template_process_type.name'),
|
||||
index=True,
|
||||
nullable=True,
|
||||
nullable=False,
|
||||
default=NORMAL)
|
||||
|
||||
def get_link(self):
|
||||
@@ -337,7 +337,7 @@ class TemplateHistory(db.Model):
|
||||
process_type = db.Column(db.String(255),
|
||||
db.ForeignKey('template_process_type.name'),
|
||||
index=True,
|
||||
nullable=True,
|
||||
nullable=False,
|
||||
default=NORMAL)
|
||||
|
||||
MMG_PROVIDER = "mmg"
|
||||
|
||||
Reference in New Issue
Block a user