Files @ 971ce5e20856
Branch filter:

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

Marcin Kuzminski
added warning on sqlite when using migration.
Sqlite prior to 3.7 series are known to not support some
migration changes like table renames. Thus are failing.
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