Files @ 8beaaea70a89
Branch filter:

Location: kallithea/rhodecode/lib/dbmigrate/migrate/versioning/config.py

Mads Kiilerich
compare: move get_changesets to compare controller where it is used - 2nd half that was lost in 6c79bfcd3b54

That is a better location than the pull request model. It should probably be
split up and moved to the backend specific Repository classes.
#!/usr/bin/python
# -*- coding: utf-8 -*-

from sqlalchemy.util import OrderedDict


__all__ = ['databases', 'operations']

databases = ('sqlite', 'postgres', 'mysql', 'oracle', 'mssql', 'firebird')

# Map operation names to function names
operations = OrderedDict()
operations['upgrade'] = 'upgrade'
operations['downgrade'] = 'downgrade'