Database Migration Expert

•
173k
•

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

This skill provides a comprehensive framework for managing database schema evolutions without risking production downtime. It guides users through the expand-contract pattern, concurrent indexing, and safe data backfilling for PostgreSQL, MySQL, and popular ORMs like Prisma, Drizzle, and Django. Whether you are adding a column to a table with millions of rows or setting up a migration pipeline for a new project, this skill ensures your database changes are immutable, reversible, and production-ready by following industry-standard best practices.

主要功能

01172,650 GitHub stars
02Batch-based data backfill patterns for handling production-sized datasets
03Comprehensive migration safety checklists and anti-pattern detection
04PostgreSQL safety optimizations including concurrent index creation
05Zero-downtime migration strategies using the expand-contract pattern
06Tool-specific workflows for Prisma, Drizzle, Django, and golang-migrate

使用场景

01Refactoring existing database structures using safe multi-stage deployments
02Planning a non-breaking schema change for a high-traffic production database
03Implementing custom SQL migrations for operations not supported by standard ORMs