chore: prepare yanting monorepo handoff
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
"""phase1 initial tables
|
||||
|
||||
Revision ID: 202606030100
|
||||
Revises:
|
||||
Create Date: 2026-06-03 01:00:00
|
||||
"""
|
||||
from alembic import op
|
||||
|
||||
from app.db import Base
|
||||
from app.models import * # noqa: F401,F403
|
||||
|
||||
revision = "202606030100"
|
||||
down_revision = None
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade() -> None:
|
||||
bind = op.get_bind()
|
||||
Base.metadata.create_all(bind=bind)
|
||||
|
||||
|
||||
def downgrade() -> None:
|
||||
bind = op.get_bind()
|
||||
Base.metadata.drop_all(bind=bind)
|
||||
|
||||
Reference in New Issue
Block a user