Files @ e5abb9efaf2c
Branch filter:

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

Marcin Kuzminski
add option for graphmod to support both hg 2.2 and hg 2.1
#!/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'