"""Phase 13.2 — Doctor Panel."""
from alembic import op
from app.core.database import Base
import app.models  # noqa: F401

revision = "0003_phase_132_doctor_panel"
down_revision = "0002_phase_131_appointments"
branch_labels = None
depends_on = None


def upgrade():
    bind = op.get_bind()
    Base.metadata.create_all(bind=bind)


def downgrade():
    for table in ("visit_notes", "visit_sessions"):
        op.drop_table(table)
