Implements safe, zero-downtime database schema changes and migrations across multiple ORMs and SQL dialects.
This skill provides Claude with specialized expertise for managing database evolution in production environments, focusing on safety, reversibility, and performance. It covers best practices for PostgreSQL and MySQL while offering specific implementation patterns for popular tools like Prisma, Drizzle, Django, and golang-migrate. By emphasizing the separation of DDL and DML and utilizing the expand-contract pattern, it helps developers avoid common pitfalls such as locking large tables or breaking application compatibility during deployments. It is an essential companion for backend developers planning complex schema refactors or high-scale data backfills.
主要功能
01Safe PostgreSQL patterns for concurrent indexing and non-blocking column changes
02Batch data migration scripts for processing millions of rows without locking
030 GitHub stars
04ORM-specific workflows for Prisma, Drizzle, Django, and TypeORM
05Zero-downtime migration strategies using the Expand-Contract pattern
06Comprehensive safety checklists for pre-deployment migration audits
使用场景
01Transitioning from manual SQL updates to structured ORM-based migration workflows
02Refactoring legacy database schemas in high-traffic production environments
03Adding constraints and indexes to large tables without causing service interruptions