Zero-downtime Postgres schema migration
Prompt
Create a database migration diagram for a zero-downtime PostgreSQL schema change: application service, existing orders table, new normalized tables, migration job, dual-write period, backfill worker, read path validation, and final cutover. Show the sequence from schema expansion to backfill to cleanup.
Why this prompt works
It names the migration phases engineers care about during rollout, so the diagram captures operational steps instead of only source and target tables.
Follow-up prompt
Add rollback path, feature flag for read switch, and monitoring checks before cleanup.