orchid-orm 1.45.3 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1546,7 +1546,7 @@ const collectCodeFkeys = (config, { codeTable, changeTableAst: { shape } }, curr
1546
1546
  {
1547
1547
  name: x.options?.name,
1548
1548
  references: {
1549
- columns: [key],
1549
+ columns: [name],
1550
1550
  fnOrTable,
1551
1551
  foreignColumns: x.foreignColumns,
1552
1552
  options: x.options