##// END OF EJS Templates
db: add Alembic "migration environment"...
db: add Alembic "migration environment" Add in kallithea/alembic an unmodified Alembic "migration environment", as generated by 'alembic init': Copyright (C) 2009-2016 by Michael Bayer. Alembic is a trademark of Michael Bayer. Also update LICENSE, MANIFEST and setup metadata.

File last commit:

r5980:7894a440 default
r5980:7894a440 default
Show More
script.py.mako
24 lines | 494 B | application/x-mako | MakoHtmlLexer
"""${message}
Revision ID: ${up_revision}
Revises: ${down_revision | comma,n}
Create Date: ${create_date}
"""
# revision identifiers, used by Alembic.
revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}
branch_labels = ${repr(branch_labels)}
depends_on = ${repr(depends_on)}
from alembic import op
import sqlalchemy as sa
${imports if imports else ""}
def upgrade():
${upgrades if upgrades else "pass"}
def downgrade():
${downgrades if downgrades else "pass"}