Skip to content

Commit 7af2bfd

Browse files
committed
fixes migration script
1 parent 41b02a6 commit 7af2bfd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
"""new products ui column
22
3-
Revision ID: 8ec5d2f28966
3+
Revision ID: 78f24aaf3f78
44
Revises: 68777fdf9539
5-
Create Date: 2025-02-12 13:00:37.615966+00:00
5+
Create Date: 2025-02-12 16:06:09.815111+00:00
66
77
"""
88
import sqlalchemy as sa
99
from alembic import op
1010
from sqlalchemy.dialects import postgresql
1111

1212
# revision identifiers, used by Alembic.
13-
revision = "8ec5d2f28966"
13+
revision = "78f24aaf3f78"
1414
down_revision = "68777fdf9539"
1515
branch_labels = None
1616
depends_on = None
1717

1818

1919
def upgrade():
20+
# ### commands auto generated by Alembic - please adjust! ###
2021
op.add_column(
2122
"products",
2223
sa.Column(
@@ -26,7 +27,10 @@ def upgrade():
2627
nullable=False,
2728
),
2829
)
30+
# ### end Alembic commands ###
2931

3032

3133
def downgrade():
34+
# ### commands auto generated by Alembic - please adjust! ###
3235
op.drop_column("products", "ui")
36+
# ### end Alembic commands ###

0 commit comments

Comments
 (0)