Files @ 2e7f21429316
Branch filter:

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

Marcin Kuzminski
tries to fix issue #177 by fallback to user.user_id instead of fetching from db, user.user_id
never have raise an exception so i will consider it safe.
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