You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/postgres-database/src/simcore_postgres_database/migration/versions/9dddb16914a4_update_confirmation_created_column.py
+2-6Lines changed: 2 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
"""update confirmation created column
2
2
3
3
Revision ID: 9dddb16914a4
4
-
Revises: 5679165336c8
4
+
Revises: 06eafd25d004
5
5
Create Date: 2025-07-28 17:25:06.534720+00:00
6
6
7
7
"""
@@ -12,13 +12,12 @@
12
12
13
13
# revision identifiers, used by Alembic.
14
14
revision="9dddb16914a4"
15
-
down_revision="5679165336c8"
15
+
down_revision="06eafd25d004"
16
16
branch_labels=None
17
17
depends_on=None
18
18
19
19
20
20
defupgrade():
21
-
# ### commands auto generated by Alembic - please adjust! ###
22
21
# Step 1: Add new column as nullable first
23
22
op.add_column(
24
23
"confirmations",
@@ -44,11 +43,9 @@ def upgrade():
44
43
45
44
# Step 4: Drop old column
46
45
op.drop_column("confirmations", "created_at")
47
-
# ### end Alembic commands ###
48
46
49
47
50
48
defdowngrade():
51
-
# ### commands auto generated by Alembic - please adjust! ###
0 commit comments