1
0
Fork 0
forked from mia/0x0
This commit is contained in:
Martin Herkt 2016-11-01 05:17:54 +01:00
commit 56f0295be2
No known key found for this signature in database
GPG key ID: C24B9CD04DC6AE7F
11 changed files with 711 additions and 0 deletions

22
migrations/script.py.mako Executable file
View file

@ -0,0 +1,22 @@
"""${message}
Revision ID: ${up_revision}
Revises: ${down_revision}
Create Date: ${create_date}
"""
# revision identifiers, used by Alembic.
revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}
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"}