commit changes before looking at something else

This commit is contained in:
Kelly McDonald 2021-07-06 10:34:57 -04:00
parent 7406bf7da1
commit dce1d86e93
2 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,7 @@ def create_or_update_local_spec(remote,workflow_spec_id):
localcategory.name = specdict['category']['name'] localcategory.name = specdict['category']['name']
localcategory.display_name = specdict['category']['display_name'] localcategory.display_name = specdict['category']['display_name']
localcategory.display_order = specdict['category']['display_order'] localcategory.display_order = specdict['category']['display_order']
localcategory.library = False
session.add(localcategory) session.add(localcategory)
localspec.category = localcategory localspec.category = localcategory

View File

@ -15,6 +15,7 @@ class WorkflowSpecCategoryModel(db.Model):
name = db.Column(db.String) name = db.Column(db.String)
display_name = db.Column(db.String) display_name = db.Column(db.String)
display_order = db.Column(db.Integer) display_order = db.Column(db.Integer)
library = db.Column(db.Boolean)
class WorkflowSpecCategoryModelSchema(SQLAlchemyAutoSchema): class WorkflowSpecCategoryModelSchema(SQLAlchemyAutoSchema):