1 | # Code was removed, since it was ugly and deprecated.
|
More like this
- Cookie based Messages (deprecated) by guettli 2 years, 9 months ago
- check if form has changed (deprecated) by guettli 3 years, 11 months ago
- newforms and ModelForm by danfairs 4 years, 1 month ago
- Digg-like paginator, updated by miracle2k 3 years, 8 months ago
- check database interity by d2 1 year, 7 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.
#