Skip to content

Commit 591449b

Browse files
committed
no longer panics but fails tests and still doesn't enforce foreign keys
1 parent e6d019a commit 591449b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sql/analyzer/apply_foreign_keys.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ func applyForeignKeysToNodes(ctx *sql.Context, a *Analyzer, n sql.Node, cache *f
147147
Table: tbl,
148148
Sch: updateDest.Schema(),
149149
OriginalNode: targets[i],
150+
Editor: fkEditor,
150151
AllUpdaters: fkChain.GetUpdaters(),
151152
}
152153
}

0 commit comments

Comments
 (0)