Skip to content

Instantly share code, notes, and snippets.

View gojefferson's full-sized avatar
🎯
Focusing

Jeff Kerr gojefferson

🎯
Focusing
View GitHub Profile
@majackson
majackson / migrations.md
Last active March 7, 2024 04:12
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
d3noob / .block
Last active November 30, 2019 18:24
Area Gradient fill
license: mit