v8.0.0-rc.12-dev.3: fix(postgres): drop RLS policies before the DDL they block (#30232)
- Prisma 近 90 天出现 125 次
- Prisma 近 90 天第 125 次发版
- 上一次:同一天稍早 · v8.0.0-rc.12-dev.2
发生了什么
Linked issue Fixes #30226 Summary When one contract change removes both a column and an RLS policy referencing it, the planner emits dropColumn before dropPolicy , and Postgres rejects the migration with 2BP01. Policy drops are now spliced ahead of the first structural table/column drop, so the generated plan applies cleanly. Testing performed New regression test in test/migrations/rls-planner.test.ts (drops a publi…
摘要按规则整理自下方来源原文