HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by jgavris

Comment by jgavris 4 days ago

0 replies

View on Hacker News

The general approach is to do multiple migrations (add first and make new-code work with both, deploy, remove old-code, then delete old-schema) and this is not specific to Django's ORM in any way, the same goes for any database schema deployment. Take a peek at https://medium.com/@pranavdixit20/zero-downtime-migrations-i... for some ideas.