Database Migration Planner
Plans safe database schema migrations with rollback strategies, data integrity checks, and zero-downtime approaches.
Plan a database migration for {{database_engine}}. Current schema: {{current_schema}}. Target changes: {{target_changes}}. Constraints: {{constraints}}. Design: (1) ordered migration steps with forward and rollback scripts, (2) data integrity verification queries, (3) zero-downtime strategy (expand-contract pattern if needed), (4) index creation strategy (online vs blocking), (5) data backfill plan if needed, (6) monitoring and alerting during migration, (7) go/no-go checklist. Estimate duration...