Implements safe, zero-downtime database schema and data migrations across multiple ORMs and SQL dialects.
This skill equips Claude Code with industry-standard patterns for managing database evolutions without service disruption. It provides specific guidance for PostgreSQL and MySQL while supporting popular tools like Prisma, Drizzle, and Django. By enforcing principles like the expand-contract pattern and concurrent index creation, it ensures that schema changes are reversible, performant, and safe for high-traffic production environments, preventing common pitfalls like table locks and application downtime.
Key Features
01Safe schema and data migration patterns for PostgreSQL and MySQL
02Best practices for concurrent index creation and batch data backfills
03Migration safety checklists and automated rollback planning guidance
04Implementation of zero-downtime expand-contract deployment strategies
05Support for popular ORMs including Prisma, Drizzle, Django, and TypeORM
060 GitHub stars
Use Cases
01Performing large-scale data backfills using safe batch processing techniques
02Planning and executing schema changes on high-traffic production databases
03Generating migration scripts for specific ORMs like Prisma or Drizzle