Zero-Downtime Database Migrations: How to Change a Live Schema Safely
A practical playbook for changing a live database schema with no downtime: expand and contract, safe locks, batched backfills, and rollbacks.

A practical playbook for changing a live database schema with no downtime: expand and contract, safe locks, batched backfills, and rollbacks.

How to change a live PostgreSQL schema without freezing tables or breaking running code: the expand and contract pattern, safer versions of risky ALTERs, and tested code.
