Back
Database Migrations
Zero-downtime migrations and rollback patterns.
Zero-downtime pattern
- Additive change → dual write → backfill → switch reads → remove old.
- Gate risky changes behind feature flags.
- Always have a rollback plan and tested backups.