##// END OF EJS Templates
models: update db.py with major changes for python3
models: update db.py with major changes for python3

File last commit:

r5042:4c5af799 default
r5071:d5c2bc34 default
Show More
config.py
14 lines | 316 B | text/x-python | PythonLexer
#!/usr/bin/python
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'