Skip to content

Commit f6ef966

Browse files
fix: add TableLikeClause options mapping for INCLUDING DEFAULTS (4→8) - fixes create_table_like-48.sql
Co-Authored-By: Dan Lynch <[email protected]>
1 parent 8794434 commit f6ef966

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/transform/src/transformers/v13-to-v14.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,6 +1767,9 @@ export class V13ToV14Transformer {
17671767
if (options === 2) {
17681768
return 4;
17691769
}
1770+
if (options === 4) {
1771+
return 8; // INCLUDING DEFAULTS: PG13 value 4 -> PG14 value 8
1772+
}
17701773
if (options === 6) {
17711774
return 12;
17721775
}

0 commit comments

Comments
 (0)