Skip to main content
Run any Skill in Manus
with one click

database-migration-safety

Stars3
Forks0
UpdatedMay 20, 2026 at 07:50

Use when planning or executing a schema migration on a production database — adding columns, changing types, dropping fields, adding indexes, or shifting constraints without downtime or data loss. Triggers when the user mentions "database migration", "schema change", "online migration", "expand contract", "blue-green schema", "Alembic", "Flyway", "Liquibase", "gh-ost", "pt-online-schema-change", or "this migration is locking the table". The skill covers the expand-contract pattern, lock-free techniques, the online-safety filter per operation type, backfill strategy, and reversible-vs-one-way migrations. For backup and restore in case the migration goes wrong, see backup-and-restore. For the schema design that precedes the migration, see schema-design.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly