##// END OF EJS Templates
routing: optionally use explicit db object on route....
routing: optionally use explicit db object on route. - makes it harder to integrate plugins - makes it consistent on other places - allows some plugins to use just the names

File last commit:

r1:854a839a default
r1989:f7b19fb3 default
Show More
config.py
14 lines | 339 B | text/x-python | PythonLexer
project: added all source files and assets
r1 #!/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'