Database Schema Upgrade (deprecated)

1
# Code was removed, since it was ugly and deprecated.

More like this

  1. Cookie based Messages (deprecated) by guettli 2 years, 9 months ago
  2. check if form has changed (deprecated) by guettli 3 years, 11 months ago
  3. newforms and ModelForm by danfairs 4 years, 1 month ago
  4. Digg-like paginator, updated by miracle2k 3 years, 8 months ago
  5. check database interity by d2 1 year, 7 months ago

Comments

Alberto Paro (on October 31, 2008):

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. :-)

#

guettli (on November 3, 2008):

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.

#

guettli (on August 31, 2009):

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.

#

(Forgotten your password?)