Rails Migrations

Use when writing, reviewing, or executing database migrations — especially on tables with existing data in production. Covers safe zero-downtime patterns, the strong_migrations gem, concurrent index creation, column and table renames, data backfills, and removing columns safely. Extends rails-core rule 5 (multi-step nullable columns) with the full toolkit. Triggers on "migration", "add column", "rename column", "backfill", "index", "drop column", "change column type", "zero-downtime".

mickzijdel Updated

File contents

mickzijdel/rails-toolkit/tree/main/skills/rails-migrations commit 94eff4ca4d

Frequently asked questions

npx skillmds@latest add mickzijdel/rails-migrations