v8.0.0-rc.14-dev.21: TML-3287: Raw SQL ending in a line comment renders valid DDL (#30546)
- Prisma: 181 events in the last 90 days
- Prisma: 181th Release in the last 90 days
- Previous: 2 days earlier · v8.0.0-rc.14-dev.20: Hover shows declarations and /// documentation in PSL files (#30569)
What happened
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…
Summary assembled by rule from the sources below