{ "failed": true, "failure_threshold": "error", "dialect": "postgres", "dir": "migrations", "findings": [ { "rule": "BC104", "title": "dropped column breaks deployed code", "severity": "warning", "file": "migrations/1790100000_drop_bio.up.sql", "line": 1, "message": "dropping a column retires a name application versions already deployed against the old schema still select and insert, so each of them starts failing the moment this migration commits, whether or not the column held any rows; deploy readers that no longer use the column first, then drop it in a later release", "context": { "statement_index": 0, "subjects": [ { "kind": "column", "name": "bio", "parent": "users" } ] } }, { "rule": "DS102", "title": "column dropped", "severity": "error", "file": "migrations/1790100000_drop_bio.up.sql", "line": 1, "message": "DROP COLUMN permanently deletes the column's data; deploy readers that no longer use the column first, then drop it in a later release", "context": { "statement_index": 0, "subjects": [ { "kind": "column", "name": "bio", "parent": "users" } ] } } ] }