Skip to content

Commit 6c6cc6b

Browse files
committed
repositions migration
1 parent 48d3579 commit 6c6cc6b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/postgres-database/src/simcore_postgres_database/migration/versions/9dddb16914a4_update_confirmation_created_column.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""update confirmation created column
22
33
Revision ID: 9dddb16914a4
4-
Revises: 5679165336c8
4+
Revises: 06eafd25d004
55
Create Date: 2025-07-28 17:25:06.534720+00:00
66
77
"""
@@ -12,13 +12,12 @@
1212

1313
# revision identifiers, used by Alembic.
1414
revision = "9dddb16914a4"
15-
down_revision = "5679165336c8"
15+
down_revision = "06eafd25d004"
1616
branch_labels = None
1717
depends_on = None
1818

1919

2020
def upgrade():
21-
# ### commands auto generated by Alembic - please adjust! ###
2221
# Step 1: Add new column as nullable first
2322
op.add_column(
2423
"confirmations",
@@ -44,11 +43,9 @@ def upgrade():
4443

4544
# Step 4: Drop old column
4645
op.drop_column("confirmations", "created_at")
47-
# ### end Alembic commands ###
4846

4947

5048
def downgrade():
51-
# ### commands auto generated by Alembic - please adjust! ###
5249
# Step 1: Add back the old column
5350
op.add_column(
5451
"confirmations",
@@ -71,4 +68,3 @@ def downgrade():
7168

7269
# Step 4: Drop new column
7370
op.drop_column("confirmations", "created")
74-
# ### end Alembic commands ###

0 commit comments

Comments
 (0)