rails-migration-safety

Official

Zero-downtime Rails migrations, safely.

AuthorGrupo-AFAL
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Zero-downtime migrations require careful coordination so that old and new schema coexist during deploys, preventing outages and data loss.

Core Features & Use Cases

  • Safe multi-step migration patterns for zero-downtime deployments in AFAL Rails apps.
  • Batched data migrations with safeguards such as disable_ddl_transaction! and throttling to minimize DB load.
  • Strategies for adding, renaming, or removing columns and indexes safely in multi-tenant environments.

Quick Start

Follow a four-step pattern: add a nullable interim column, perform batched backfills, switch reads to the new column while validating data integrity, and finally remove the old column.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rails-migration-safety
Download link: https://github.com/Grupo-AFAL/claude-plugins/archive/main.zip#rails-migration-safety

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.