Skip to content

Commit 7124d90

Browse files
Fix DropStmt context propagation
- Add 'DropStmt' to parentNodeTypes in DropStmt method - Ensure proper context propagation for parameter name exclusion logic - Attempt to fix parameter name handling in DropStmt contexts Co-Authored-By: Dan Lynch <[email protected]>
1 parent e919ee3 commit 7124d90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,7 @@ export class V13ToV14Transformer {
549549
if (result.objects !== undefined) {
550550
const childContext = {
551551
...context,
552+
parentNodeTypes: [...(context.parentNodeTypes || []), 'DropStmt'],
552553
dropRemoveType: result.removeType
553554
};
554555
result.objects = Array.isArray(result.objects)

0 commit comments

Comments
 (0)