Getting ChatGPT to Write Accurate Database Migration Rollback Scripts
ChatGPT can draft migration rollback scripts fast, but it often misses destructive-change traps, data-loss edge cases, and framework-specific conventions. Here's how to prompt it so the output is actually safe to run.