Axon Shaft docs
Checklist catalog

Database migrations

Migrations that lock tables, lose data or break the running version, and hand-written ones where the repo generates them.

What it looks for

  • Operations that lock large tables
  • Changes that lose data
  • Migrations that break the version still running
  • Hand-written migrations where the repo generates them

A finding might read: Adding a NOT NULL column with no default locks orders

Files it runs on

It runs only when a changed file matches one of these, and is skipped otherwise.

  • **/migrations/**
  • **/drizzle/**
  • **/*.sql
  • **/*.schema.ts
  • **/schema.prisma

Last updated on