Files @ df57253e965a
Branch filter:

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

Mads Kiilerich
invalidation: simplify get_prefix

str.split will always have a [0], and cache_key will always contain
repo_name=cache_args and the split will thus always return two elements
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