diff --git a/packages/postgres-database/src/simcore_postgres_database/migration/versions/23c0b8409738_remove_submit_timestamp.py b/packages/postgres-database/src/simcore_postgres_database/migration/versions/52a0e8148dd5_remove_submit_timestamp.py similarity index 54% rename from packages/postgres-database/src/simcore_postgres_database/migration/versions/23c0b8409738_remove_submit_timestamp.py rename to packages/postgres-database/src/simcore_postgres_database/migration/versions/52a0e8148dd5_remove_submit_timestamp.py index 889b850f48d..8589578abe7 100644 --- a/packages/postgres-database/src/simcore_postgres_database/migration/versions/23c0b8409738_remove_submit_timestamp.py +++ b/packages/postgres-database/src/simcore_postgres_database/migration/versions/52a0e8148dd5_remove_submit_timestamp.py @@ -1,36 +1,28 @@ """remove submit timestamp -Revision ID: 23c0b8409738 +Revision ID: 52a0e8148dd5 Revises: 77ac824a77ff -Create Date: 2024-12-16 07:30:03.814989+00:00 +Create Date: 2024-12-16 14:55:15.114923+00:00 """ -import sqlalchemy as sa from alembic import op +import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. -revision = "23c0b8409738" -down_revision = "77ac824a77ff" +revision = '52a0e8148dd5' +down_revision = '77ac824a77ff' branch_labels = None depends_on = None def upgrade(): # ### commands auto generated by Alembic - please adjust! ### - op.drop_column("comp_tasks", "submit") + op.drop_column('comp_tasks', 'submit') # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### - op.add_column( - "comp_tasks", - sa.Column( - "submit", - postgresql.TIMESTAMP(timezone=True), - autoincrement=False, - nullable=True, - ), - ) + op.add_column('comp_tasks', sa.Column('submit', postgresql.TIMESTAMP(timezone=True), autoincrement=False, nullable=True)) # ### end Alembic commands ###