-
-
/trunk/django_evolution/management/commands/evolve.py (Diff revision 1) Could be rewritten as: mutations = [mutation for mutation in temp_mutations if mutation.is_mutable(app_label, database_sig, database)]
-
/trunk/django_evolution/management/commands/evolve.py (Diff revision 1) This appears to undo the CommandError change, which should be fixed. We don't really want to force an exit, in case we're being called by another module here.
-
/trunk/django_evolution/tests/multi_db.py (Diff revision 1) This seems to be failing because nothing ever defines 'db_multi' in settings.DATABASES. Probably need to add this to test/settings.py and convert over the old database keys.
django-evolution on multi-db
Review Request #1716 — Created July 16, 2010 and submitted
Information | |
---|---|
mbee | |
Django Evolution (deprecated) | |
Reviewers | |
django-evolution | |
chipx86 |
This patch is a (working) attempt to manage multi-db schemas. I have successfully tested it on the reviewboard schema (from version 1.0.4 to 1.5). To use it, just do as you would have used syncdb: ./manage.py evolve --database my_db If you have any comments, don't hesitate.
A new test named multi_db has been created, but for obscure reasons, it doesn't work properly. All other tests passed. If you have any idea...