Add the Healthcare platform backend (phases 13.0–13.7) with Alembic migration revision fix, production deploy script, validation reports, shared UI exports, and loyalty list page client directives so Next.js build succeeds. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
417 B
Python
20 lines
417 B
Python
"""Initial Delivery schema — Phase 13.0 foundation."""
|
|
from alembic import op
|
|
from app.core.database import Base
|
|
import app.models # noqa: F401
|
|
|
|
revision = "0001_initial"
|
|
down_revision = None
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
bind = op.get_bind()
|
|
Base.metadata.create_all(bind=bind)
|
|
|
|
|
|
def downgrade():
|
|
bind = op.get_bind()
|
|
Base.metadata.drop_all(bind=bind)
|