You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
339 B
14 lines
339 B
#!/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'
|
|
|