Database Migrations

•
10
•

Guides safe, reversible database schema changes and zero-downtime migrations across PostgreSQL, MySQL, and major ORMs.

The Database Migrations skill provides production-grade best practices for planning, testing, and executing schema updates, data backfills, and rollbacks without incurring table locks or downtime. Supporting major engines like PostgreSQL and MySQL alongside popular ORMs like Prisma, Drizzle, Kysely, Django, and TypeORM, this skill enforces critical safety principles such as separating DDL from DML, creating concurrent indexes, and forward-only production rollbacks. It is invaluable whenever you need to alter large production tables, configure database migration tooling, or execute zero-downtime application deployments.

Características Principales

01Safe column and index additions avoiding full table locks
02Zero-downtime schema migration strategies for PostgreSQL and MySQL
03Separation of DDL schema changes and DML data backfills
04Pre-migration safety checklists and forward-only rollback patterns
05Best practices for popular ORMs including Prisma, Drizzle, and TypeORM
0610 GitHub stars

Casos de Uso

01Executing multi-step data backfills and column transformations safely without locking records
02Configuring schema migration workflows with ORMs like Prisma, Drizzle, or golang-migrate
03Planning zero-downtime table alterations and index additions on large production databases