drizzle-kit 0.22.7 → 0.22.8
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +2 -2
- package/package.json +1 -1
- package/payload.js +1 -1
- package/payload.mjs +1 -1
package/bin.cjs
CHANGED
@@ -27624,7 +27624,7 @@ var init_jsonStatements = __esm({
|
|
27624
27624
|
tableName,
|
27625
27625
|
data: it,
|
27626
27626
|
schema: schema5,
|
27627
|
-
constraintName: json1.tables[`${schema5}.${tableName}`].compositePrimaryKeys[PgSquasher.unsquashPK(it).name].name
|
27627
|
+
constraintName: json1.tables[`${schema5 || "public"}.${tableName}`].compositePrimaryKeys[PgSquasher.unsquashPK(it).name].name
|
27628
27628
|
};
|
27629
27629
|
});
|
27630
27630
|
};
|
@@ -129537,7 +129537,7 @@ var printVersions = async () => {
|
|
129537
129537
|
var versions = async () => {
|
129538
129538
|
const { npmVersion } = await ormCoreVersions();
|
129539
129539
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
129540
|
-
const envVersion = "0.22.
|
129540
|
+
const envVersion = "0.22.8";
|
129541
129541
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
129542
129542
|
const versions2 = `drizzle-kit: ${kitVersion}
|
129543
129543
|
${ormVersion}`;
|
package/package.json
CHANGED
package/payload.js
CHANGED
@@ -21755,7 +21755,7 @@ var init_jsonStatements = __esm({
|
|
21755
21755
|
tableName,
|
21756
21756
|
data: it,
|
21757
21757
|
schema: schema4,
|
21758
|
-
constraintName: json1.tables[`${schema4}.${tableName}`].compositePrimaryKeys[PgSquasher.unsquashPK(it).name].name
|
21758
|
+
constraintName: json1.tables[`${schema4 || "public"}.${tableName}`].compositePrimaryKeys[PgSquasher.unsquashPK(it).name].name
|
21759
21759
|
};
|
21760
21760
|
});
|
21761
21761
|
};
|
package/payload.mjs
CHANGED
@@ -21761,7 +21761,7 @@ var init_jsonStatements = __esm({
|
|
21761
21761
|
tableName,
|
21762
21762
|
data: it,
|
21763
21763
|
schema: schema4,
|
21764
|
-
constraintName: json1.tables[`${schema4}.${tableName}`].compositePrimaryKeys[PgSquasher.unsquashPK(it).name].name
|
21764
|
+
constraintName: json1.tables[`${schema4 || "public"}.${tableName}`].compositePrimaryKeys[PgSquasher.unsquashPK(it).name].name
|
21765
21765
|
};
|
21766
21766
|
});
|
21767
21767
|
};
|