##// END OF EJS Templates
fixes rhodecode upgrade problem that caused setuptool to crash on importing sqlalchemy models
fixes rhodecode upgrade problem that caused setuptool to crash on importing sqlalchemy models

File last commit:

r833:9753e090 beta
r1541:70e646b2 beta
Show More
config.py
14 lines | 339 B | text/x-python | PythonLexer
#!/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'