Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Jeff Kerr gojefferson

🎯
Focusing
View GitHub Profile
@majackson
majackson / migrations.md
Last active Aug 3, 2022
Django migrations without downtime
View migrations.md

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
d3noob / .block
Last active Nov 30, 2019
Area Gradient fill
View .block
license: mit