Re:Rails migrations with no downtime
by kmfrk on Sunday February 12, 2012 @09:25PM
(#3583911)
What's the Django equivalent of this?
[ Parent
| on HN ]
You pretty much have to do the same thing - release code using new models before migrating the db. Django tends to spell out all columns in its SQL statements, so when you delete one from the db, but fail to upgrade the code you will run into a db exception.
I'd also recommend using South for migrations http://south.aeracode.org/