Django Migrations without Downtime
The following instructions describe a set of processes allowing you to run Django database migrations against a production database without having to bring the web service down.
Note that in the below instructions, migrations are all run manually at explicit points, and are not an automatic part of the deployment process.
Adding Fields or Tables
Adding a (nullable) field or a new table
- Make the model or column addition in your code.