"""0004_добавил поле отмены приема

Revision ID: 69fee5fc14c8
Revises: 1e122f5b8727
Create Date: 2025-06-01 19:38:02.360583

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '69fee5fc14c8'
down_revision: Union[str, None] = '1e122f5b8727'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('scheduled_appointments', sa.Column('is_canceled', sa.Boolean(), server_default='false', nullable=False))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('scheduled_appointments', 'is_canceled')
    # ### end Alembic commands ###
