diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2022-11-15 18:35:22 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2022-11-15 18:35:22 +0100 |
commit | 7b2b16af1bc952d6f283a72bebf7becacedbd748 (patch) | |
tree | 0f16f363ca1d25994cf288a062b4540ae802494c /alembic/script.py.mako | |
parent | fixed scoping (diff) | |
download | biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.tar biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.tar.gz biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.tar.bz2 biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.tar.lz biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.tar.xz biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.tar.zst biblos-stat-7b2b16af1bc952d6f283a72bebf7becacedbd748.zip |
Diffstat (limited to 'alembic/script.py.mako')
-rw-r--r-- | alembic/script.py.mako | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/alembic/script.py.mako b/alembic/script.py.mako new file mode 100644 index 0000000..55df286 --- /dev/null +++ b/alembic/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() -> None: + ${upgrades if upgrades else "pass"} + + +def downgrade() -> None: + ${downgrades if downgrades else "pass"} |