Register all active platform services and base features in core DB so admin can manage them, add delivery/hospitality/sports-center backend phases, update apps catalog and production deploy tooling. Co-authored-by: Cursor <cursoragent@cursor.com>
20 lines
420 B
Python
20 lines
420 B
Python
"""Initial Hospitality schema — Phase 12.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)
|