orchid-orm 1.45.3 → 1.45.4

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.
@@ -1545,7 +1545,7 @@ const collectCodeFkeys = (config, { codeTable, changeTableAst: { shape } }, curr
1545
1545
  {
1546
1546
  name: x.options?.name,
1547
1547
  references: {
1548
- columns: [key],
1548
+ columns: [name],
1549
1549
  fnOrTable,
1550
1550
  foreignColumns: x.foreignColumns,
1551
1551
  options: x.options