Skip to content

Commit 5070345

Browse files
committed
upgraded upgrade
1 parent 4862cd4 commit 5070345

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,28 @@
11
"""remove submit timestamp
22
3-
Revision ID: 23c0b8409738
3+
Revision ID: 52a0e8148dd5
44
Revises: 77ac824a77ff
5-
Create Date: 2024-12-16 07:30:03.814989+00:00
5+
Create Date: 2024-12-16 14:55:15.114923+00:00
66
77
"""
8-
import sqlalchemy as sa
98
from alembic import op
9+
import sqlalchemy as sa
1010
from sqlalchemy.dialects import postgresql
1111

1212
# revision identifiers, used by Alembic.
13-
revision = "23c0b8409738"
14-
down_revision = "77ac824a77ff"
13+
revision = '52a0e8148dd5'
14+
down_revision = '77ac824a77ff'
1515
branch_labels = None
1616
depends_on = None
1717

1818

1919
def upgrade():
2020
# ### commands auto generated by Alembic - please adjust! ###
21-
op.drop_column("comp_tasks", "submit")
21+
op.drop_column('comp_tasks', 'submit')
2222
# ### end Alembic commands ###
2323

2424

2525
def downgrade():
2626
# ### commands auto generated by Alembic - please adjust! ###
27-
op.add_column(
28-
"comp_tasks",
29-
sa.Column(
30-
"submit",
31-
postgresql.TIMESTAMP(timezone=True),
32-
autoincrement=False,
33-
nullable=True,
34-
),
35-
)
27+
op.add_column('comp_tasks', sa.Column('submit', postgresql.TIMESTAMP(timezone=True), autoincrement=False, nullable=True))
3628
# ### end Alembic commands ###

0 commit comments

Comments
 (0)