33 lines
849 B
Python
33 lines
849 B
Python
"""empty message
|
|
|
|
Revision ID: d46f10b87507
|
|
Revises: 169f586b8369
|
|
Create Date: 2023-04-14 14:35:38.469465
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
from sqlalchemy.dialects import mysql
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'd46f10b87507'
|
|
down_revision = '169f586b8369'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('appointment', schema=None) as batch_op:
|
|
batch_op.drop_column('location')
|
|
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
with op.batch_alter_table('appointment', schema=None) as batch_op:
|
|
batch_op.add_column(sa.Column('location', mysql.VARCHAR(length=64), nullable=True))
|
|
|
|
# ### end Alembic commands ###
|