Files @ 1c2371dc86bd
Branch filter:

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

leonardo
Bugfix: On the changelog page, its possible that the some changeset is already checked out by the browser. So we check for that on page load.
#!/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'