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

33 lines
804 B
Python

"""empty message
Revision ID: 990cd6f0472e
Revises: 98fe9675245a
Create Date: 2023-04-20 17:22:11.061461
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '990cd6f0472e'
down_revision = '98fe9675245a'
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.add_column(sa.Column('has_called', sa.Boolean(), nullable=True))
# ### 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.drop_column('has_called')
# ### end Alembic commands ###