commit changes before looking at something else
This commit is contained in:
parent
7406bf7da1
commit
dce1d86e93
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue