Aller au contenu

Approval policy: database migrations

A migration cannot be rolled back once applied in production: a faulty one can lose data or block a table, and fixing it takes a new migration written by hand. Many tables keep their model in a json column, so an UPDATE rewriting existing rows changes the model too.

  • Never auto-approve a PR that adds, edits, renames or deletes a file under this directory, whatever the risk score.
  • The reviewers from .cursor/approval-policies/reviewers.md decide.