drizzle-kit 0.20.16-ca9dd07 → 0.20.17-f62f2f6

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/bin.cjs +5 -5
  2. package/package.json +1 -1
package/bin.cjs CHANGED
@@ -60430,9 +60430,9 @@ var init_studio = __esm({
60430
60430
  unregister();
60431
60431
  return { schema: sqliteSchema3, relations: relations4 };
60432
60432
  };
60433
- getCustomDefaults = (pgSchema3) => {
60433
+ getCustomDefaults = (schema5) => {
60434
60434
  const customDefaults = [];
60435
- Object.entries(pgSchema3).map(([schema5, tables]) => {
60435
+ Object.entries(schema5).map(([schema6, tables]) => {
60436
60436
  Object.entries(tables).map(([, table4]) => {
60437
60437
  let tableConfig;
60438
60438
  if ((0, import_drizzle_orm8.is)(table4, import_pg_core4.PgTable)) {
@@ -60445,7 +60445,7 @@ var init_studio = __esm({
60445
60445
  tableConfig.columns.map((column7) => {
60446
60446
  if (column7.defaultFn) {
60447
60447
  customDefaults.push({
60448
- schema: schema5,
60448
+ schema: schema6,
60449
60449
  table: tableConfig.name,
60450
60450
  column: column7.name,
60451
60451
  func: column7.defaultFn
@@ -60621,7 +60621,7 @@ var init_studio = __esm({
60621
60621
  table: d.table,
60622
60622
  column: d.column
60623
60623
  }));
60624
- return c.json({ version: "4", dialect: dialect6, customDefaults: preparedDefaults });
60624
+ return c.json({ version: "5", dialect: dialect6, customDefaults: preparedDefaults });
60625
60625
  }
60626
60626
  if (type === "proxy") {
60627
60627
  const { sql: sql2, params, mode, method } = body.data;
@@ -63890,7 +63890,7 @@ init_source();
63890
63890
  // package.json
63891
63891
  var package_default = {
63892
63892
  name: "drizzle-kit",
63893
- version: "0.20.16",
63893
+ version: "0.20.17",
63894
63894
  repository: "https://github.com/drizzle-team/drizzle-kit-mirror",
63895
63895
  author: "Drizzle Team",
63896
63896
  license: "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.16-ca9dd07",
3
+ "version": "0.20.17-f62f2f6",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",