Mercurial > kallithea
comparison rhodecode/lib/dbmigrate/migrate/versioning/config.py @ 833:9753e0907827 beta
added dbmigrate package, added model changes
moved out upgrade db command to that package
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 11 Dec 2010 01:54:12 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
832:634596f81cfd | 833:9753e0907827 |
---|---|
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' |