Mercurial > kallithea
comparison rhodecode/lib/dbmigrate/migrate/versioning/templates/script/default.py_tmpl @ 833:9753e0907827 beta
added dbmigrate package, added model changes
moved out upgrade db command to that package
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 11 Dec 2010 01:54:12 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
832:634596f81cfd | 833:9753e0907827 |
---|---|
1 from sqlalchemy import * | |
2 from migrate import * | |
3 | |
4 def upgrade(migrate_engine): | |
5 # Upgrade operations go here. Don't create your own engine; bind migrate_engine | |
6 # to your metadata | |
7 pass | |
8 | |
9 def downgrade(migrate_engine): | |
10 # Operations to reverse the above upgrade go here. | |
11 pass |