From 803e4be0089a93f7bcf25fbf24fccf5e4421d7c1 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Thu, 23 Jan 2020 10:53:59 -0500 Subject: [PATCH] Stores workflow JSON --- crc/models/workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crc/models/workflow.py b/crc/models/workflow.py index d004c30e..12b302ec 100644 --- a/crc/models/workflow.py +++ b/crc/models/workflow.py @@ -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'))