What problem does it solve?
It prevents production incidents caused by unsafe database schema migrations by ensuring changes are planned and executed with clear lock-safety, rollback/one-way discipline, and the expand-contract approach.
Core Features & Use Cases
- Expand-contract migration planning: Breaks risky schema+code changes into independent phases (expand, migrate, switch, contract) so the system never lands in a broken transitional state.
- Online safety filtering by operation type: Evaluates common operations (NOT NULL, type changes, constraints, unique indexes, FK validation, drops/renames) and flags when they require expand-contract or online schema change tooling.
- Operationally safe backfill and rollback strategy: Designs throttled, resumable, idempotent backfills and enforces reversible vs explicitly one-way decisions with backup-verified rollback paths.
Quick Start
Use database-migration-safety when you are planning a production migration to get an expand-contract phase plan, a lock/online-safety verdict, and a rollback or explicitly one-way justification.