mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -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),
|
process_type = db.Column(db.String(255),
|
||||||
db.ForeignKey('template_process_type.name'),
|
db.ForeignKey('template_process_type.name'),
|
||||||
index=True,
|
index=True,
|
||||||
nullable=True,
|
nullable=False,
|
||||||
default=NORMAL)
|
default=NORMAL)
|
||||||
|
|
||||||
def get_link(self):
|
def get_link(self):
|
||||||
@@ -337,7 +337,7 @@ class TemplateHistory(db.Model):
|
|||||||
process_type = db.Column(db.String(255),
|
process_type = db.Column(db.String(255),
|
||||||
db.ForeignKey('template_process_type.name'),
|
db.ForeignKey('template_process_type.name'),
|
||||||
index=True,
|
index=True,
|
||||||
nullable=True,
|
nullable=False,
|
||||||
default=NORMAL)
|
default=NORMAL)
|
||||||
|
|
||||||
MMG_PROVIDER = "mmg"
|
MMG_PROVIDER = "mmg"
|
||||||
|
|||||||
Reference in New Issue
Block a user