What problem does it solve?
Unsafe, unplanned database schema and data changes cause production outages, data corruption, and extended downtime, disrupting services and risking irreversible data loss for engineering teams.
Core Features & Use Cases
- Production-grade safety guardrails: Enforces immutable migrations, separate schema and data changes, and pre-deployment safety checklists to eliminate human error in production database updates.
- Zero-downtime deployment patterns: Implements the expand-contract strategy for schema changes, concurrent index creation, and batch data backfills to avoid service interruptions during updates.
- Multi-ORM and database support: Provides workflow examples and best practices for PostgreSQL, MySQL, Prisma, Drizzle, Kysely, Django, TypeORM, and golang-migrate.
- Use Case: A SaaS platform needs to add a new user profile column and backfill existing user data without downtime. This skill guides the team through the safe, phased migration process with full rollback safeguards.
Quick Start
Use the database-migrations skill to create a zero-downtime migration to add a nullable avatar_url column to the users table with a concurrent index for PostgreSQL, including a backfill plan for existing rows.