DB Migrations

Use when a schema change must ship without downtime — NOT NULL, rename, type change, or backfilling millions of live rows — for the expand-contract sequence and the lock/batching discipline that keeps each step from freezing prod. NOT lock internals or EXPLAIN (that is `postgresdb`), NOT drizzle-kit mechanics (that is `drizzle-orm`), NOT PITR (that is `backups`).

ericrisco 657d205 7 files · 35.9 KB Updated

File contents

ericrisco/rsc-harness/tree/main/skills/db-migrations commit 657d205adc

Frequently asked questions

npx skillmds@latest add ericrisco/db-migrations