Write zero-downtime database migrations
Create safe migration. Zero-downtime steps: add nullable columns, deploy code, backfill, add constraints, remove old columns.
Safe migrations