drizzle-kit 0.20.6 → 0.20.7-72b0933
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +3 -4
- package/package.json +1 -1
- package/utils.js +2 -2
package/bin.cjs
CHANGED
@@ -11983,8 +11983,8 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
11983
11983
|
}
|
11984
11984
|
for (const [key, value] of Object.entries(tableToPk)) {
|
11985
11985
|
result[key].compositePrimaryKeys = {
|
11986
|
-
[`${key}_${value.join("_")}
|
11987
|
-
name: `${key}_${value.join("_")}
|
11986
|
+
[`${key}_${value.join("_")}`]: {
|
11987
|
+
name: `${key}_${value.join("_")}`,
|
11988
11988
|
columns: value
|
11989
11989
|
}
|
11990
11990
|
};
|
@@ -62158,7 +62158,7 @@ init_source();
|
|
62158
62158
|
// package.json
|
62159
62159
|
var package_default = {
|
62160
62160
|
name: "drizzle-kit",
|
62161
|
-
version: "0.20.
|
62161
|
+
version: "0.20.7",
|
62162
62162
|
repository: "https://github.com/drizzle-team/drizzle-kit-mirror",
|
62163
62163
|
author: "Drizzle Team",
|
62164
62164
|
license: "MIT",
|
@@ -62512,7 +62512,6 @@ var logSuggestionsAndReturn = async ({
|
|
62512
62512
|
shouldAskForApprove = true;
|
62513
62513
|
}
|
62514
62514
|
}
|
62515
|
-
shouldAskForApprove = true;
|
62516
62515
|
} else if (statement.type === "alter_table_alter_column_set_notnull") {
|
62517
62516
|
if (typeof statement.columnDefault === "undefined") {
|
62518
62517
|
const res = await connection.query(
|
package/package.json
CHANGED
package/utils.js
CHANGED
@@ -11709,8 +11709,8 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
11709
11709
|
}
|
11710
11710
|
for (const [key, value] of Object.entries(tableToPk)) {
|
11711
11711
|
result[key].compositePrimaryKeys = {
|
11712
|
-
[`${key}_${value.join("_")}
|
11713
|
-
name: `${key}_${value.join("_")}
|
11712
|
+
[`${key}_${value.join("_")}`]: {
|
11713
|
+
name: `${key}_${value.join("_")}`,
|
11714
11714
|
columns: value
|
11715
11715
|
}
|
11716
11716
|
};
|