SQL Migration Safety Doctor
Catch the dangerous migration before it locks or wrecks your production database.
What it does
- Destructive.
- Risky operations: DROP.
- TRUNCATE.
- Drops without IF EXISTS.
- Lossy column-type changes.
- NOT NULL added without a default.
- DELETE.
- UPDATE with no WHERE.
Scans SQL migration files for destructive and risky operations: DROP and TRUNCATE, drops without IF EXISTS, lossy column-type changes, NOT NULL added without a default, DELETE or UPDATE with no WHERE, non-concurrent index builds, dropped constraints, renames, and data backfills mixed into schema changes. Each finding is ranked by severity with a safer rewrite. Postgres, MySQL, and SQLite.
How to run
Get it on Agensi and run it with any agent that reads SKILL.md, such as Claude Code, Codex, or Cursor. The listing includes setup steps and exactly what it reads.
Good to know
Works with any assistant that reads the open SKILL.md standard. Not locked to a single tool or vendor.
Questions
What does SQL Migration Safety Doctor do?
Catch the dangerous migration before it locks or wrecks your production database.
What does it need to run?
It works with anything that reads SKILL.md, so it is not tied to one tool or vendor.
Add SQL Migration Safety Doctor to your toolkit.
Current price and purchase option are shown on Agensi. Instant download. Works with any agent that reads SKILL.md.
Get SQL Migration Safety Doctor on Agensi