Database Migrations

•
12
•

Implements safe, reversible, and zero-downtime database schema changes across multiple SQL dialects and popular ORMs.

This skill equips Claude with expert-level knowledge for managing database schema evolutions in production environments. It focuses on mission-critical patterns such as the expand-contract strategy for zero-downtime deployments, safe column additions, and concurrent indexing to prevent table locks. With specialized support for tools like Prisma, Drizzle, Django, and golang-migrate, it provides a standardized framework for backfilling data, handling large migrations, and maintaining audit trails, ensuring that database changes are always predictable and reversible.

Key Features

01Zero-downtime 'expand-contract' migration patterns
02Safe PostgreSQL indexing and column modification strategies
03Comprehensive migration safety checklists to prevent production locks
04Tool-specific workflows for Prisma, Drizzle, Kysely, and Django
05Batch processing patterns for large-scale data backfills
0612 GitHub stars

Use Cases

01Executing high-volume data transformations on production tables with millions of rows
02Setting up robust migration workflows for new full-stack projects
03Refactoring legacy database schemas without causing service interruptions