v8.0.0-rc.14-dev.21: TML-3287: Raw SQL ending in a line comment renders valid DDL (#30546)
- Prisma 近 90 天出现 181 次
- Prisma 近 90 天第 181 次发版
- 上一次:2 天前 · v8.0.0-rc.14-dev.20: Hover shows declarations and /// documentation in PSL files (#30569)
发生了什么
Linked issue Refs TML-3287 , a slice of the Linear project SQL expression literals . Depends on no other slice. Summary A raw SQL body in a schema can end in a line comment. The planner pastes that body into a larger statement, so everything after it on the same line, such as the closing parenthesis of CHECK (...) , was swallowed by the comment and the migration failed. Now every place the planner puts contract SQL…
摘要按规则整理自下方来源原文