]>
git.datanom.net - wpp.git/blob - db_repository/versions/002_migration.py
1 from sqlalchemy
import *
5 from migrate
.changeset
import schema
9 def upgrade(migrate_engine
):
10 # Upgrade operations go here. Don't create your own engine; bind
11 # migrate_engine to your metadata
12 pre_meta
.bind
= migrate_engine
13 post_meta
.bind
= migrate_engine
16 def downgrade(migrate_engine
):
17 # Operations to reverse the above upgrade go here.
18 pre_meta
.bind
= migrate_engine
19 post_meta
.bind
= migrate_engine
This page took 0.127375 seconds and 6 git commands to generate.