From 7b2b16af1bc952d6f283a72bebf7becacedbd748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Tue, 15 Nov 2022 18:35:22 +0100 Subject: use DateTime instead of ISO 8601, added missing duration to db --- alembic/script.py.mako | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 alembic/script.py.mako (limited to 'alembic/script.py.mako') 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"} -- cgit v1.2.3