← Back to events
ActiveTechRelease8.0.0-rc.14

v8.0.0-rc.14-dev.21: TML-3287: Raw SQL ending in a line comment renders valid DDL (#30546)

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

Why it's spreading

Sources