Migration Writer

Write a safe, reversible, zero-downtime database migration using expand-contract — add the new shape, backfill in batches, switch reads/writes, then drop the old — so every deploy stays compatible with the running app version. Use when adding or changing schema on a live system, renaming/dropping a column, adding NOT NULL or a foreign key on a large table, or when a migration risks locks, table rewrites, or an unrevertable step.

imtiazrayhan d8b4c9b 5.5 KB Updated

File contents

imtiazrayhan/agentscamp-library/tree/main/skills/migration-writer commit d8b4c9bde9

Frequently asked questions

npx skillmds@latest add imtiazrayhan/migration-writer