drizzle-kit 0.9.43 → 0.9.44

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -164460,7 +164460,7 @@ var prepareAlterReferencesJson = (tableName, columns) => {
164460
164460
  };
164461
164461
  } else if (references.type === "changed") {
164462
164462
  const [oldFkey] = references.old.split(";");
164463
- const [fkName, toTable, toColumn, onDelete, onUpdate] = references.old.split(";");
164463
+ const [fkName, toTable, toColumn, onDelete, onUpdate] = references.new.split(";");
164464
164464
  const alterReference = {
164465
164465
  type: "alter_reference",
164466
164466
  fromTable: tableName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.9.43",
3
+ "version": "0.9.44",
4
4
  "author": "Alex Blokh <aleksandrblokh@gmail.com>",
5
5
  "license": "MIT",
6
6
  "bin": {