drizzle-kit 0.20.16-ca9dd07 → 0.20.17-f62f2f6
Sign up to get free protection for your applications and to get access to all the features.
- package/bin.cjs +5 -5
- 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 = (
|
60433
|
+
getCustomDefaults = (schema5) => {
|
60434
60434
|
const customDefaults = [];
|
60435
|
-
Object.entries(
|
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:
|
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: "
|
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.
|
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",
|