From b35e9773198ef2d8b37c4ca223f08147db47de0b Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Sat, 12 Dec 2015 21:14:28 +0100 Subject: moving the root of source code from / to /src/ --- src/migrations/script.py.mako | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 src/migrations/script.py.mako (limited to 'src/migrations/script.py.mako') diff --git a/src/migrations/script.py.mako b/src/migrations/script.py.mako new file mode 100755 index 00000000..95702017 --- /dev/null +++ b/src/migrations/script.py.mako @@ -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"} -- cgit