~ubuntu-branches/ubuntu/saucy/migrate/saucy-proposed

« back to all changes in this revision

Viewing changes to migrate/versioning/config.py

  • Committer: Bazaar Package Importer
  • Author(s): Jan Dittberner
  • Date: 2010-07-12 00:24:57 UTC
  • mfrom: (1.1.5 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100712002457-4j2fdmco4u9kqzm5
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# -*- coding: utf-8 -*-
 
3
 
 
4
from sqlalchemy.util import OrderedDict
 
5
 
 
6
 
 
7
__all__ = ['databases', 'operations']
 
8
 
 
9
databases = ('sqlite', 'postgres', 'mysql', 'oracle', 'mssql', 'firebird')
 
10
 
 
11
# Map operation names to function names
 
12
operations = OrderedDict()
 
13
operations['upgrade'] = 'upgrade'
 
14
operations['downgrade'] = 'downgrade'