Execute zero-downtime database migrations with validation and rollback.
## Workflow: Database Migration Execution **Input:** Source and target schemas, table sizes, and maintenance window. **Step 1 — Pre-flight:** Validate disk space, replication lag, and backup freshness. **Step 2 — Script:** Generate idempotent DDL with safe column order and batches. **Step 3 — Validate:** Create row-count, checksum, and FK integrity checks. **Output:** Migration runbook with pre-flight, scripts, and rollback procedures.
Free to copy and use. Compatible with Claude 4 Opus, GPT-5, Gemini 2.0 Flash.
Provide current and target schemas with row counts and replication details.
Initial release
Sign in and download this prompt to leave a review.