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.
- package/bin.cjs +3 -3
- 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 = (pgSchema3) => {
|
60434
60434
|
const customDefaults = [];
|
60435
|
-
Object.entries(
|
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:
|
60448
|
+
schema: schema5,
|
60449
60449
|
table: tableConfig.name,
|
60450
60450
|
column: column7.name,
|
60451
60451
|
func: column7.defaultFn
|