Mercurial > libervia-backend
comparison sat/memory/migration/script.py.mako @ 3715:b9718216a1c0 0.9
merge bookmark 0.9
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 01 Dec 2021 16:13:31 +0100 |
parents | 71516731d0aa |
children |
comparison
equal
deleted
inserted
replaced
3714:af09b5aaa5d7 | 3715:b9718216a1c0 |
---|---|
1 """${message} | |
2 | |
3 Revision ID: ${up_revision} | |
4 Revises: ${down_revision | comma,n} | |
5 Create Date: ${create_date} | |
6 | |
7 """ | |
8 from alembic import op | |
9 import sqlalchemy as sa | |
10 ${imports if imports else ""} | |
11 | |
12 # revision identifiers, used by Alembic. | |
13 revision = ${repr(up_revision)} | |
14 down_revision = ${repr(down_revision)} | |
15 branch_labels = ${repr(branch_labels)} | |
16 depends_on = ${repr(depends_on)} | |
17 | |
18 | |
19 def upgrade(): | |
20 ${upgrades if upgrades else "pass"} | |
21 | |
22 | |
23 def downgrade(): | |
24 ${downgrades if downgrades else "pass"} |