Docs
v1 • Updated regularly
Back

Database Migrations

Zero-downtime migrations and rollback patterns.

Zero-downtime pattern

  1. Additive change → dual write → backfill → switch reads → remove old.
  2. Gate risky changes behind feature flags.
  3. Always have a rollback plan and tested backups.