Files @ 76ae40e514eb
Branch filter:

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

Mads Kiilerich
config: automatically assign instance_id for host and process if it has been set to *

It is no longer a problem to invent new instance_ids on startup - unused keys
will be deleted.
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