Rules that matter for Prisma teams
ALTER TABLE ... DROP COLUMNwith app-code impact.ALTER TABLE ... RENAME COLUMNwhere old code still reads the old field.ADD COLUMN ... NOT NULLwithout a safe rollout.CREATE INDEXwithoutCONCURRENTLYon existing tables.- Foreign keys, unique constraints, and primary keys added inline.
- Contract-without-expand PRs that remove code references and drop schema together.
Why not only use a SQL linter?
SQL linting answers whether a migration is mechanically risky. MergeBrake adds the application question: if this migration ships, which files may still depend on the dropped or renamed symbol?