Files @ 031a698e85ea
Branch filter:

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

Marcin Kuzminski
fixes issue #756 cleanup repos didn't properly compose paths of repos to be cleaned up.
- it just worked on repos on root filesystem
#!/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'