Adds primary process ID to workflow spec
This commit is contained in:
parent
803e4be008
commit
7fc2e87b84
|
@ -13,6 +13,7 @@ class WorkflowSpecModel(db.Model):
|
|||
name = db.Column(db.String)
|
||||
display_name = db.Column(db.String)
|
||||
description = db.Column(db.Text)
|
||||
primary_process_id = db.Column(db.String)
|
||||
|
||||
|
||||
class WorkflowSpecModelSchema(ModelSchema):
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
"""empty message
|
||||
|
||||
Revision ID: 0accb57bf013
|
||||
Revises: e9092efd6f26
|
||||
Create Date: 2020-01-23 10:52:49.343854
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0accb57bf013'
|
||||
down_revision = 'e9092efd6f26'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column('workflow_spec', sa.Column('primary_process_id', sa.String(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
def downgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.drop_column('workflow_spec', 'primary_process_id')
|
||||
# ### end Alembic commands ###
|
Loading…
Reference in New Issue