Database Migrations

•
5
•

Provides expert guidance and implementation patterns for safe, zero-downtime database schema changes and data migrations.

This skill equips Claude with specialized knowledge for managing database schema evolutions across major SQL engines and ORMs like Prisma, Drizzle, Django, and golang-migrate. It emphasizes safety-first principles, including the expand-contract pattern for zero-downtime deployments, non-blocking index creation, and batching large data updates to prevent production locks. Whether you are adding columns to a multi-million row PostgreSQL table or setting up migration tooling for a new project, this skill ensures best practices are followed to maintain data integrity and system availability.

主要功能

01ORM-specific workflows for Prisma, Drizzle, and Django
02Batch processing patterns for high-volume data migrations
03Safe PostgreSQL indexing and schema modification scripts
045 GitHub stars
05Comprehensive migration safety checklists and anti-pattern prevention
06Zero-downtime deployment patterns using Expand-Contract strategies

使用场景

01Implementing standardized, reversible migration workflows for new backend services
02Adding columns or indexes to high-traffic production databases without downtime
03Refactoring complex database schemas while maintaining application compatibility