migration-immutability
OfficialPreserve deployed migrations; prevent drift.
Authorblock
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Once a migration has been applied in any environment, its content is effectively frozen. Editing an existing deployed migration can cause schema drift across environments and desynchronization between databases.
Core Features & Use Cases
- Enforces the rule that deployed migrations must not be edited in place; changes must be added as new migrations.
- Guides developers to create a new migration with a descriptive name and document the rationale for the change.
- Applies to migrations under server/migrations that have been merged into origin/main and deployed across environments.
Quick Start
Create a new corrective migration and apply it to update the deployed schema.
Dependency Matrix
Required Modules
None requiredComponents
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: migration-immutability Download link: https://github.com/block/proto-fleet/archive/main.zip#migration-immutability Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.