Files
sqlalchemy-migrate/migrate/versioning/base/__init__.py
2009-07-08 23:57:15 +02:00

14 lines
358 B
Python

"""Things that should be imported by all migrate packages"""
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'