Files @ 1aefa8d864e4
Branch filter:

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

Marcin Kuzminski
Do read only checks on attach as fork of repo list.
We shouldn't leak repo names here to which we don't
have access
#!/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'