]> git.datanom.net - wpp.git/blame_incremental - db_repository/versions/002_migration.py
rm test access
[wpp.git] / db_repository / versions / 002_migration.py
... / ...
CommitLineData
1from sqlalchemy import *
2from migrate import *
3
4
5from migrate.changeset import schema
6pre_meta = MetaData()
7post_meta = MetaData()
8
9def 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
14
15
16def 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.061055 seconds and 5 git commands to generate.