Files @ 238486bb71ab
Branch filter:

Location: kallithea/rhodecode/lib/dbmigrate/migrate/versioning/templates/script/pylons.py_tmpl

Marcin Kuzminski
Switched handling of RhodeCode extra params in consistent way
- use only os.environ for both hg and git
- hacking ui objects was bad
- os.environ allows easier to call rhodecode hooks externally
from sqlalchemy import *
from migrate import *

def upgrade(migrate_engine):
    # Upgrade operations go here. Don't create your own engine; bind migrate_engine
    # to your metadata
    pass

def downgrade(migrate_engine):
    # Operations to reverse the above upgrade go here.
    pass