drizzle-kit 0.28.0-842fab3 → 0.28.0-96ca2b5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. package/api.js +3 -2
  2. package/api.mjs +3 -2
  3. package/bin.cjs +1 -1
  4. package/package.json +1 -1
package/api.js CHANGED
@@ -21407,8 +21407,9 @@ var init_sql = __esm({
21407
21407
  if (_config.invokeSource === "indexes") {
21408
21408
  return { sql: escapeName(columnName), params: [] };
21409
21409
  }
21410
+ const schemaName = chunk.table[Table2.Symbol.Schema];
21410
21411
  return {
21411
- sql: chunk.table[IsAlias] || chunk.table[Table2.Symbol.Schema] === void 0 ? escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName) : escapeName(chunk.table[Table2.Symbol.Schema]) + "." + escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName),
21412
+ sql: chunk.table[IsAlias] || schemaName === void 0 ? escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName) : escapeName(schemaName) + "." + escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName),
21412
21413
  params: []
21413
21414
  };
21414
21415
  }
@@ -35738,7 +35739,7 @@ var init_insert3 = __esm({
35738
35739
  /**
35739
35740
  * Adds an `on duplicate key update` clause to the query.
35740
35741
  *
35741
- * Calling this method will update update the row if any unique index conflicts. MySQL will automatically determine the conflict target based on the primary key and unique indexes.
35742
+ * Calling this method will update the row if any unique index conflicts. MySQL will automatically determine the conflict target based on the primary key and unique indexes.
35742
35743
  *
35743
35744
  * See docs: {@link https://orm.drizzle.team/docs/insert#on-duplicate-key-update}
35744
35745
  *
package/api.mjs CHANGED
@@ -21412,8 +21412,9 @@ var init_sql = __esm({
21412
21412
  if (_config.invokeSource === "indexes") {
21413
21413
  return { sql: escapeName(columnName), params: [] };
21414
21414
  }
21415
+ const schemaName = chunk.table[Table2.Symbol.Schema];
21415
21416
  return {
21416
- sql: chunk.table[IsAlias] || chunk.table[Table2.Symbol.Schema] === void 0 ? escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName) : escapeName(chunk.table[Table2.Symbol.Schema]) + "." + escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName),
21417
+ sql: chunk.table[IsAlias] || schemaName === void 0 ? escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName) : escapeName(schemaName) + "." + escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(columnName),
21417
21418
  params: []
21418
21419
  };
21419
21420
  }
@@ -35743,7 +35744,7 @@ var init_insert3 = __esm({
35743
35744
  /**
35744
35745
  * Adds an `on duplicate key update` clause to the query.
35745
35746
  *
35746
- * Calling this method will update update the row if any unique index conflicts. MySQL will automatically determine the conflict target based on the primary key and unique indexes.
35747
+ * Calling this method will update the row if any unique index conflicts. MySQL will automatically determine the conflict target based on the primary key and unique indexes.
35747
35748
  *
35748
35749
  * See docs: {@link https://orm.drizzle.team/docs/insert#on-duplicate-key-update}
35749
35750
  *
package/bin.cjs CHANGED
@@ -89049,7 +89049,7 @@ init_utils2();
89049
89049
  var version2 = async () => {
89050
89050
  const { npmVersion } = await ormCoreVersions();
89051
89051
  const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
89052
- const envVersion = "0.28.0-842fab3";
89052
+ const envVersion = "0.28.0-96ca2b5";
89053
89053
  const kitVersion = envVersion ? `v${envVersion}` : "--";
89054
89054
  const versions = `drizzle-kit: ${kitVersion}
89055
89055
  ${ormVersion}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.28.0-842fab3",
3
+ "version": "0.28.0-96ca2b5",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",