forked from sartography/spiff-arena
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
82de145
commit 0f141e1
Showing
17 changed files
with
916 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
spiffworkflow-backend/migrations/versions/da22d9039670_.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
"""empty message | ||
Revision ID: da22d9039670 | ||
Revises: 384e2bbda36b | ||
Create Date: 2024-09-17 15:13:48.384925 | ||
""" | ||
from alembic import op | ||
import sqlalchemy as sa | ||
|
||
|
||
# revision identifiers, used by Alembic. | ||
revision = 'da22d9039670' | ||
down_revision = '384e2bbda36b' | ||
branch_labels = None | ||
depends_on = None | ||
|
||
|
||
def upgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
with op.batch_alter_table('human_task_user', schema=None) as batch_op: | ||
batch_op.add_column(sa.Column('ended_at_in_seconds', sa.Integer(), nullable=True)) | ||
batch_op.add_column(sa.Column('created_at_in_seconds', sa.Integer(), nullable=True)) | ||
|
||
# with op.batch_alter_table('task', schema=None) as batch_op: | ||
# batch_op.drop_constraint('guid', type_='unique') | ||
|
||
# ### end Alembic commands ### | ||
|
||
|
||
def downgrade(): | ||
# ### commands auto generated by Alembic - please adjust! ### | ||
# with op.batch_alter_table('task', schema=None) as batch_op: | ||
# batch_op.create_unique_constraint('guid', ['guid']) | ||
|
||
with op.batch_alter_table('human_task_user', schema=None) as batch_op: | ||
batch_op.drop_column('created_at_in_seconds') | ||
batch_op.drop_column('ended_at_in_seconds') | ||
|
||
# ### end Alembic commands ### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.