Files @ 87ec80c280bb
Branch filter:

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

Marcin Kuzminski
fixed issues with python2.5
added compat module to rhodecode to have one point of fetching backward incompatible libs.
#!/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'