Migration Safety Checker

Rewrite a schema migration into independently deployable, zero-downtime steps that never take a long-held blocking lock on a live table. Use when you are about to run an ALTER TABLE, CREATE INDEX, add a constraint, rename a column, or change a column type against a production database with live traffic. Do NOT use for greenfield table/column design with no rows yet - use database-schema instead; do NOT use for broad correctness/integrity review of a migration - use review-db instead.

SkillMedev 20b1d54 4.3 KB Updated

File contents

SkillMedev/database-performance/tree/main/skills/migration-safety-checker commit 20b1d54d48

Frequently asked questions

npx skillmds@latest add skillmedev/migration-safety-checker