2016-03-19 20:37:04 +00:00
|
|
|
'''
|
|
|
|
${message}
|
|
|
|
|
|
|
|
Revision ID: ${up_revision}
|
|
|
|
Created at: ${create_date}
|
|
|
|
'''
|
|
|
|
|
|
|
|
import sqlalchemy as sa
|
|
|
|
from alembic import op
|
2020-06-05 22:03:37 +00:00
|
|
|
|
2016-03-19 20:37:04 +00:00
|
|
|
${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"}
|