2024-07-29 11:43:52 +08:00

33 lines
784 B
Python

"""empty message
Revision ID: ffde36a65d1a
Revises: 72bce1509968
Create Date: 2023-04-14 10:41:44.158147
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'ffde36a65d1a'
down_revision = '72bce1509968'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('workday', schema=None) as batch_op:
batch_op.add_column(sa.Column('cost', sa.Integer(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
with op.batch_alter_table('workday', schema=None) as batch_op:
batch_op.drop_column('cost')
# ### end Alembic commands ###