This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2020-04-17 12:33:50 +00:00
|
|
|
"""${message}
|
|
|
|
|
|
|
|
Revision ID: ${up_revision}
|
|
|
|
Revises: ${down_revision | comma,n}
|
|
|
|
Create Date: ${create_date}
|
|
|
|
|
|
|
|
"""
|
|
|
|
from alembic import op
|
|
|
|
import sqlalchemy as sa
|
2020-05-11 08:07:23 +00:00
|
|
|
import sqlalchemy_utils
|
|
|
|
import citext
|
|
|
|
import teal
|
2020-04-17 12:33:50 +00:00
|
|
|
${imports if imports else ""}
|
|
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
|
|
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"}
|