unrhodecode/rhodecode/lib/dbmigrate/migrate/versioning/config.py
RhodeCode Admin c86b6915f1 dbmigrate: python3 changes
- removed utf8 marker
- syntax fixes
2023-07-18 09:40:40 +02:00

14 lines
316 B
Python

#!/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'