What problem does it solve?
Database schema and data changes in production carry high risk of unplanned downtime, data corruption, and unrepeatable manual errors that can impact users and require emergency rollbacks.
Core Features & Use Cases
- Safe Schema Change Patterns: Step-by-step guidance for adding columns, creating concurrent indexes, and renaming columns without locking tables or blocking writes for PostgreSQL and MySQL.
- ORM-Specific Workflows: Pre-built workflows and examples for Prisma, Drizzle, Django, TypeORM, and golang-migrate to generate and apply migrations consistently.
- Zero-Downtime Deployment Strategies: Expand-contract pattern for large-scale changes, plus batch data backfill scripts that avoid long-running transactions on large tables.
- Use Case Example: If you need to add a non-null phone_number column to a 10M row user table without interrupting service, this skill provides the exact migration sequence and backfill logic to complete the change safely.
Quick Start
Use the database-migrations skill to create a zero-downtime migration plan for adding a new required phone_number column to your production users table.