Files @ 1cd0a0c05f42
Branch filter:

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

Marcin Kuzminski
swap the select values with revisions dynamically when switching the repos on pull request view
- fix the partial ajax request that should never do redirect
#!/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'