Axon Shaft docs
Templates

Database and migrations review

Checks schema changes and migrations: locks, data loss, missing indexes, and migrations that don't match the schema.

  • Kind: Code review
  • Category: Reviews
  • Added to new projects: No

Checklists, in order

  1. Database migrations: Migrations that lock tables, lose data or break the running version, and hand-written ones where the repo generates them.
  2. Schema and migration in step: A schema file changed with no migration in the same pull request, or a migration with no schema change.
  3. What else it can break: Callers, exports and configs elsewhere in the repo that the change didn't update.

Last updated on