Skip to content

Commit a39814d

Browse files
fix: add TableLikeClause options mapping for INCLUDING DEFAULTS + INCLUDING GENERATED (12→24) - fixes create_table_like-50.sql
Co-Authored-By: Dan Lynch <[email protected]>
1 parent f6ef966 commit a39814d

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
@@ -1773,6 +1773,9 @@ export class V13ToV14Transformer {
17731773
if (options === 6) {
17741774
return 12;
17751775
}
1776+
if (options === 12) {
1777+
return 24; // INCLUDING DEFAULTS + INCLUDING GENERATED: PG13 (4+8) -> PG14 (8+16)
1778+
}
17761779
if (options === 8) {
17771780
return 16;
17781781
}

0 commit comments

Comments
 (0)