Lucas Roesler 2/20/2017

Zero downtime deploys: A tale of Django migrations

Read Original

This article details a method for ensuring zero-downtime Django deployments by automating the validation of database migrations. It explains how to use regex checks on generated SQL to enforce backward compatibility, covering common pitfalls like adding columns with defaults and the importance of nullable fields.

Zero downtime deploys: A tale of Django migrations

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes