Database Migration Patterns

•
15
•

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

This skill provides a comprehensive framework for managing database evolution in production environments, offering expert guidance on schema modifications, data backfills, and rollback procedures. It covers industry-standard best practices for popular tools like Prisma, Drizzle, and Django, while emphasizing safety through the use of concurrent operations and the expand-contract pattern. Whether you are adding columns to a multi-million row table or setting up a new migration pipeline, this skill ensures changes are performed without table locks or application downtime.

主要功能

01Non-blocking index creation and large-scale data backfill techniques
02Comprehensive migration safety checklists and anti-pattern prevention
03Zero-downtime deployment strategies using the Expand-Contract pattern
04Workflow guidance for Prisma, Drizzle, Django, and golang-migrate
0515 GitHub stars
06Safe schema modification patterns for PostgreSQL and MySQL

使用场景

01Planning and executing schema changes on high-traffic production databases
02Implementing automated migration workflows for new full-stack projects
03Performing complex data transformations and backfills without service interruption