drizzle-kit 0.20.16-0fef055 → 0.20.16-ca9dd07

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/bin.cjs +3 -3
  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 = (schema5) => {
60433
+ getCustomDefaults = (pgSchema3) => {
60434
60434
  const customDefaults = [];
60435
- Object.entries(schema5).map(([schema6, tables]) => {
60435
+ Object.entries(pgSchema3).map(([schema5, 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: schema6,
60448
+ schema: schema5,
60449
60449
  table: tableConfig.name,
60450
60450
  column: column7.name,
60451
60451
  func: column7.defaultFn
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.20.16-0fef055",
3
+ "version": "0.20.16-ca9dd07",
4
4
  "repository": "https://github.com/drizzle-team/drizzle-kit-mirror",
5
5
  "author": "Drizzle Team",
6
6
  "license": "MIT",