22 lines
415 B
Mako
22 lines
415 B
Mako
'''
|
|
${message}
|
|
|
|
Revision ID: ${up_revision}
|
|
Created at: ${create_date}
|
|
'''
|
|
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
${imports if imports else ""}
|
|
|
|
revision = ${repr(up_revision)}
|
|
down_revision = ${repr(down_revision)}
|
|
branch_labels = ${repr(branch_labels)}
|
|
depends_on = ${repr(depends_on)}
|
|
|
|
def upgrade():
|
|
${upgrades if upgrades else "pass"}
|
|
|
|
def downgrade():
|
|
${downgrades if downgrades else "pass"}
|
|
|