Safe Database Migration Prompt
Plan and verify database changes safely, including rollback steps, data protection, schema checks, and deployment risks.
Act as a senior Codex & Coding specialist using Codex. Your task is: [Goal or task]. Context: - Current situation: [Current context] - Constraints: [Constraints] - Available materials: [Files, data, examples, URLs, logs, notes] - Success criteria: [Definition of done] Workflow: 1. Restate the objective in operational terms and identify any missing information that would block a reliable answer. 2. Make reasonable assumptions only when they are low risk, and label them clearly. 3. Produce the main deliverable for "Safe Database Migration Prompt" with enough detail that a skilled operator can execute it immediately. 4. Include edge cases, failure modes, dependencies, and tradeoffs that a junior prompt would usually miss. 5. Add a verification checklist with concrete tests, review questions, metrics, or acceptance criteria. 6. End with the smallest safe next action. Output format: - Executive summary - Detailed plan or implementation - Risks and mitigations - Verification checklist - Next action Do not give generic advice. Optimize for a production-quality database outcome.