Stores workflow JSON

This commit is contained in:
Aaron Louie 2020-01-23 10:53:59 -05:00
parent fd21f4f301
commit 803e4be008
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class WorkflowStatus(enum.Enum):
class WorkflowModel(db.Model):
__tablename__ = 'workflow'
id = db.Column(db.Integer, primary_key=True)
bpmn_workflow_json = db.Column(db.TEXT)
bpmn_workflow_json = db.Column(db.JSON)
status = db.Column(db.Enum(WorkflowStatus))
study_id = db.Column(db.Integer, db.ForeignKey('study.id'))
workflow_spec_id = db.Column(db.String, db.ForeignKey('workflow_spec.id'))