Skip to content

Instantly share code, notes, and snippets.


Jeff Kerr gojefferson

View GitHub Profile
majackson /
Last active Aug 3, 2022
Django migrations without downtime

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

  1. Make the model or column addition in your code.
d3noob / .block
Last active Nov 30, 2019
Area Gradient fill
View .block
license: mit