Files @ 851ea1139169
Branch filter:

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

Tony Bussieres
No more relying on user agent to check if the request is for a git action. Patch candidate for issue #368
#!/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'