##// END OF EJS Templates
tries to fix issue #177 by fallback to user.user_id instead of fetching from db, user.user_id...
tries to fix issue #177 by fallback to user.user_id instead of fetching from db, user.user_id never have raise an exception so i will consider it safe.

File last commit:

r833:9753e090 beta
r1269:2e7f2142 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'