Files @ 58905069da21
Branch filter:

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

Marcin Kuzminski
Speed up of last_changeset extraction in VCS, in edge cases for git we can get 10x speed improvement by limiting the history extraction if we only need last changeset
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