view rhodecode/lib/dbmigrate/migrate/versioning/config.py @ 2912:976e2b032650 beta

patched basic auth function to overcome git issues with proxy that doesn't send both username and password. ref #586
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 09 Oct 2012 19:26:30 +0200
parents 9753e0907827
children
line wrap: on
line source

#!/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'