mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-28 18:55:14 +00:00
9b199cad71
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
33 lines
868 B
Python
33 lines
868 B
Python
"""empty message
|
|
|
|
Revision ID: 56e17aab85ca
|
|
Revises: 64adf34a98db
|
|
Create Date: 2023-07-14 11:54:20.187703
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = '56e17aab85ca'
|
|
down_revision = '64adf34a98db'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('human_task', schema=None) as batch_op:
|
|
batch_op.create_unique_constraint('process_instance_task_unique', ['process_instance_id', 'task_id'])
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('human_task', schema=None) as batch_op:
|
|
batch_op.drop_constraint('process_instance_task_unique', type_='unique')
|
|
|
|
# ### end Alembic commands ###
|