diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-10 15:55:48 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-10 15:55:48 +0530 |
commit | b5409433e1af5f3b93555403c08755411a28dc72 (patch) | |
tree | 725dd351c067d41ef78eec45852f5b43059414d1 /migrations/script.py.mako | |
parent | 7852d78515f8e108ba99dce270f58d48dce9ca5f (diff) |
initial migration
Diffstat (limited to 'migrations/script.py.mako')
-rw-r--r-- | migrations/script.py.mako | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/migrations/script.py.mako b/migrations/script.py.mako new file mode 100644 index 0000000..2c01563 --- /dev/null +++ b/migrations/script.py.mako @@ -0,0 +1,24 @@ +"""${message} + +Revision ID: ${up_revision} +Revises: ${down_revision | comma,n} +Create Date: ${create_date} + +""" +from alembic import op +import sqlalchemy as sa +${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"} |