Skip to content

Commit caee212

Browse files
fix: add missing nulls_not_distinct property handling in IndexStmt
- Restore nulls_not_distinct property transformation in IndexStmt method - Fixes regression introduced in previous commit that broke CREATE INDEX tests - Both create_view-281.sql and create_index tests now pass Co-Authored-By: Dan Lynch <[email protected]>
1 parent 80d169e commit caee212

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/transform/src/transformers/v15-to-v16.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,6 +2188,9 @@ export class V15ToV16Transformer {
21882188
result.unique = node.unique;
21892189
}
21902190

2191+
if (node.nulls_not_distinct !== undefined) {
2192+
result.nulls_not_distinct = node.nulls_not_distinct;
2193+
}
21912194

21922195
if (node.primary !== undefined) {
21932196
result.primary = node.primary;

0 commit comments

Comments
 (0)