~sirn/fanboi2

ref: 0e52a2d9448755b13e9989cf85879c52b7bc7b10 fanboi2/migration/script.py.mako -rw-r--r-- 371 bytes View raw
0e52a2d9Kridsada Thanabulpong [build] fix broken dependencies version lock 10 months ago
                                                                                        
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""${message}

Revision ID: ${up_revision}
Revises: ${down_revision}
Create Date: ${create_date}
"""
from alembic import op
import sqlalchemy as sa
${imports if imports else ""}


revision = ${repr(up_revision)}
down_revision = ${repr(down_revision)}


def upgrade():
    ${upgrades if upgrades else "pass"}


def downgrade():
    ${downgrades if downgrades else "pass"}