Database Migrations & Management
Automates the creation and management of safe, reversible, and zero-downtime database schema migrations across multiple ORMs and SQL environments.
The Database Migrations skill provides a robust framework for handling schema evolution with a focus on production safety and data integrity. It enforces critical best practices such as mandatory reversible scripts (up/down), data preservation strategies, and specialized zero-downtime patterns for high-traffic tables. By supporting a wide array of tools including Prisma, Alembic, Flyway, and raw SQL, it allows Claude to intelligently detect your environment and generate production-grade migration code that avoids table locks and minimizes risk.
Key Features
01Zero-downtime patterns for safe schema changes on live production tables
02Automated generation of reversible migration scripts with mandatory up/down logic
03Built-in safety checklists to prevent accidental data loss and long-running locks
04Native support for Prisma, Alembic, Flyway, and standard SQL migrations
05Intelligent environment detection to match your project's existing migration tool
061 GitHub stars
Use Cases
01Standardizing database schema changes across teams using validated ORM templates
02Implementing new database tables and indexes with automated rollback capabilities
03Safely renaming columns in high-traffic databases using multi-stage migration patterns