1 | # Code was removed, since it was ugly and deprecated.
|
More like this
- Cookie based Messages (deprecated) by guettli 4 years ago
- Pass db.Field to newforms.Widget by guettli 5 years, 10 months ago
- check if form has changed (deprecated) by guettli 5 years, 2 months ago
- Pull ID from arbitrary sequence by nirvdrum 5 years, 10 months ago
- post_migrate handler to load initial SQL after migrating with south by stingydrone 2 years, 4 months ago
Comments
For postgresql it's better use: http://apgdiff.sourceforge.net/
java -jar apgdiff.jar original_schema_dump.sql new_schema_dump.sql > diff.sql
It's more easy and safe then kdiff3. :-)
#
kdiff3 is a visual tool. Its very safe since it does only show the differences. The ALTER statements need to be created by hand.
Neverthless, thank you for the comment. I will look at apgdiff.
#
django-evolution is the solution: It handles database upgrades for you. With django-evolution the above snippets is not needed. Except for verifying that two databases are in sync.
#