drizzle-kit 0.26.0 → 0.26.2-18dfb56
Sign up to get free protection for your applications and to get access to all the features.
- package/api.d.mts +28 -28
- package/api.d.ts +28 -28
- package/api.js +49 -4
- package/api.mjs +49 -4
- package/bin.cjs +5 -5
- package/package.json +2 -2
- package/utils.js +3 -3
- package/utils.mjs +3 -3
package/api.d.mts
CHANGED
@@ -219,7 +219,7 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
219
219
|
value: string;
|
220
220
|
}> | undefined;
|
221
221
|
}>>;
|
222
|
-
views: zod.ZodRecord<zod.ZodString, zod.ZodObject<zod.objectUtil.extendShape<{
|
222
|
+
views: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<zod.objectUtil.extendShape<{
|
223
223
|
name: zod.ZodString;
|
224
224
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
225
225
|
name: zod.ZodString;
|
@@ -310,7 +310,7 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
310
310
|
isExisting: boolean;
|
311
311
|
withCheckOption?: "local" | "cascaded" | undefined;
|
312
312
|
definition?: string | undefined;
|
313
|
-
}
|
313
|
+
}>>>;
|
314
314
|
_meta: zod.ZodObject<{
|
315
315
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
316
316
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -523,7 +523,19 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
523
523
|
columns: Record<string, string>;
|
524
524
|
tables: Record<string, string>;
|
525
525
|
};
|
526
|
-
|
526
|
+
internal?: {
|
527
|
+
indexes?: Record<string, {
|
528
|
+
columns: Record<string, {
|
529
|
+
isExpression?: boolean | undefined;
|
530
|
+
} | undefined>;
|
531
|
+
} | undefined> | undefined;
|
532
|
+
tables?: Record<string, {
|
533
|
+
columns: Record<string, {
|
534
|
+
isDefaultAnExpression?: boolean | undefined;
|
535
|
+
} | undefined>;
|
536
|
+
} | undefined> | undefined;
|
537
|
+
} | undefined;
|
538
|
+
views?: Record<string, {
|
527
539
|
name: string;
|
528
540
|
columns: Record<string, {
|
529
541
|
name: string;
|
@@ -543,19 +555,7 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
543
555
|
isExisting: boolean;
|
544
556
|
withCheckOption?: "local" | "cascaded" | undefined;
|
545
557
|
definition?: string | undefined;
|
546
|
-
}
|
547
|
-
internal?: {
|
548
|
-
indexes?: Record<string, {
|
549
|
-
columns: Record<string, {
|
550
|
-
isExpression?: boolean | undefined;
|
551
|
-
} | undefined>;
|
552
|
-
} | undefined> | undefined;
|
553
|
-
tables?: Record<string, {
|
554
|
-
columns: Record<string, {
|
555
|
-
isDefaultAnExpression?: boolean | undefined;
|
556
|
-
} | undefined>;
|
557
|
-
} | undefined> | undefined;
|
558
|
-
} | undefined;
|
558
|
+
}> | undefined;
|
559
559
|
}>;
|
560
560
|
type MySqlSchema = TypeOf<typeof schema$1>;
|
561
561
|
|
@@ -1854,7 +1854,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1854
1854
|
value: string;
|
1855
1855
|
}> | undefined;
|
1856
1856
|
}>>;
|
1857
|
-
views: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1857
|
+
views: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1858
1858
|
name: zod.ZodString;
|
1859
1859
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1860
1860
|
name: zod.ZodString;
|
@@ -1930,7 +1930,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1930
1930
|
}>;
|
1931
1931
|
isExisting: boolean;
|
1932
1932
|
definition?: string | undefined;
|
1933
|
-
}
|
1933
|
+
}>>>;
|
1934
1934
|
enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
|
1935
1935
|
_meta: zod.ZodObject<{
|
1936
1936
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -2103,7 +2103,15 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
2103
2103
|
columns: Record<string, string>;
|
2104
2104
|
tables: Record<string, string>;
|
2105
2105
|
};
|
2106
|
-
|
2106
|
+
enums: {};
|
2107
|
+
internal?: {
|
2108
|
+
indexes?: Record<string, {
|
2109
|
+
columns: Record<string, {
|
2110
|
+
isExpression?: boolean | undefined;
|
2111
|
+
} | undefined>;
|
2112
|
+
} | undefined> | undefined;
|
2113
|
+
} | undefined;
|
2114
|
+
views?: Record<string, {
|
2107
2115
|
name: string;
|
2108
2116
|
columns: Record<string, {
|
2109
2117
|
name: string;
|
@@ -2119,15 +2127,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
2119
2127
|
}>;
|
2120
2128
|
isExisting: boolean;
|
2121
2129
|
definition?: string | undefined;
|
2122
|
-
}
|
2123
|
-
enums: {};
|
2124
|
-
internal?: {
|
2125
|
-
indexes?: Record<string, {
|
2126
|
-
columns: Record<string, {
|
2127
|
-
isExpression?: boolean | undefined;
|
2128
|
-
} | undefined>;
|
2129
|
-
} | undefined> | undefined;
|
2130
|
-
} | undefined;
|
2130
|
+
}> | undefined;
|
2131
2131
|
}>;
|
2132
2132
|
type SQLiteSchema = TypeOf<typeof schema>;
|
2133
2133
|
|
package/api.d.ts
CHANGED
@@ -219,7 +219,7 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
219
219
|
value: string;
|
220
220
|
}> | undefined;
|
221
221
|
}>>;
|
222
|
-
views: zod.ZodRecord<zod.ZodString, zod.ZodObject<zod.objectUtil.extendShape<{
|
222
|
+
views: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<zod.objectUtil.extendShape<{
|
223
223
|
name: zod.ZodString;
|
224
224
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
225
225
|
name: zod.ZodString;
|
@@ -310,7 +310,7 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
310
310
|
isExisting: boolean;
|
311
311
|
withCheckOption?: "local" | "cascaded" | undefined;
|
312
312
|
definition?: string | undefined;
|
313
|
-
}
|
313
|
+
}>>>;
|
314
314
|
_meta: zod.ZodObject<{
|
315
315
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
316
316
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -523,7 +523,19 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
523
523
|
columns: Record<string, string>;
|
524
524
|
tables: Record<string, string>;
|
525
525
|
};
|
526
|
-
|
526
|
+
internal?: {
|
527
|
+
indexes?: Record<string, {
|
528
|
+
columns: Record<string, {
|
529
|
+
isExpression?: boolean | undefined;
|
530
|
+
} | undefined>;
|
531
|
+
} | undefined> | undefined;
|
532
|
+
tables?: Record<string, {
|
533
|
+
columns: Record<string, {
|
534
|
+
isDefaultAnExpression?: boolean | undefined;
|
535
|
+
} | undefined>;
|
536
|
+
} | undefined> | undefined;
|
537
|
+
} | undefined;
|
538
|
+
views?: Record<string, {
|
527
539
|
name: string;
|
528
540
|
columns: Record<string, {
|
529
541
|
name: string;
|
@@ -543,19 +555,7 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
543
555
|
isExisting: boolean;
|
544
556
|
withCheckOption?: "local" | "cascaded" | undefined;
|
545
557
|
definition?: string | undefined;
|
546
|
-
}
|
547
|
-
internal?: {
|
548
|
-
indexes?: Record<string, {
|
549
|
-
columns: Record<string, {
|
550
|
-
isExpression?: boolean | undefined;
|
551
|
-
} | undefined>;
|
552
|
-
} | undefined> | undefined;
|
553
|
-
tables?: Record<string, {
|
554
|
-
columns: Record<string, {
|
555
|
-
isDefaultAnExpression?: boolean | undefined;
|
556
|
-
} | undefined>;
|
557
|
-
} | undefined> | undefined;
|
558
|
-
} | undefined;
|
558
|
+
}> | undefined;
|
559
559
|
}>;
|
560
560
|
type MySqlSchema = TypeOf<typeof schema$1>;
|
561
561
|
|
@@ -1854,7 +1854,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1854
1854
|
value: string;
|
1855
1855
|
}> | undefined;
|
1856
1856
|
}>>;
|
1857
|
-
views: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1857
|
+
views: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1858
1858
|
name: zod.ZodString;
|
1859
1859
|
columns: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
|
1860
1860
|
name: zod.ZodString;
|
@@ -1930,7 +1930,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
1930
1930
|
}>;
|
1931
1931
|
isExisting: boolean;
|
1932
1932
|
definition?: string | undefined;
|
1933
|
-
}
|
1933
|
+
}>>>;
|
1934
1934
|
enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
|
1935
1935
|
_meta: zod.ZodObject<{
|
1936
1936
|
tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
|
@@ -2103,7 +2103,15 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
2103
2103
|
columns: Record<string, string>;
|
2104
2104
|
tables: Record<string, string>;
|
2105
2105
|
};
|
2106
|
-
|
2106
|
+
enums: {};
|
2107
|
+
internal?: {
|
2108
|
+
indexes?: Record<string, {
|
2109
|
+
columns: Record<string, {
|
2110
|
+
isExpression?: boolean | undefined;
|
2111
|
+
} | undefined>;
|
2112
|
+
} | undefined> | undefined;
|
2113
|
+
} | undefined;
|
2114
|
+
views?: Record<string, {
|
2107
2115
|
name: string;
|
2108
2116
|
columns: Record<string, {
|
2109
2117
|
name: string;
|
@@ -2119,15 +2127,7 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
|
|
2119
2127
|
}>;
|
2120
2128
|
isExisting: boolean;
|
2121
2129
|
definition?: string | undefined;
|
2122
|
-
}
|
2123
|
-
enums: {};
|
2124
|
-
internal?: {
|
2125
|
-
indexes?: Record<string, {
|
2126
|
-
columns: Record<string, {
|
2127
|
-
isExpression?: boolean | undefined;
|
2128
|
-
} | undefined>;
|
2129
|
-
} | undefined> | undefined;
|
2130
|
-
} | undefined;
|
2130
|
+
}> | undefined;
|
2131
2131
|
}>;
|
2132
2132
|
type SQLiteSchema = TypeOf<typeof schema>;
|
2133
2133
|
|
package/api.js
CHANGED
@@ -7509,7 +7509,7 @@ var init_mysqlSchema = __esm({
|
|
7509
7509
|
version: literalType("5"),
|
7510
7510
|
dialect,
|
7511
7511
|
tables: recordType(stringType(), table),
|
7512
|
-
views: recordType(stringType(), view),
|
7512
|
+
views: recordType(stringType(), view).default({}),
|
7513
7513
|
_meta: objectType({
|
7514
7514
|
tables: recordType(stringType(), stringType()),
|
7515
7515
|
columns: recordType(stringType(), stringType())
|
@@ -8479,7 +8479,7 @@ var init_sqliteSchema = __esm({
|
|
8479
8479
|
version: literalType("4"),
|
8480
8480
|
dialect: dialect2,
|
8481
8481
|
tables: recordType(stringType(), table3),
|
8482
|
-
views: recordType(stringType(), view3),
|
8482
|
+
views: recordType(stringType(), view3).default({}),
|
8483
8483
|
enums: objectType({})
|
8484
8484
|
}).strict();
|
8485
8485
|
schemaInternalV52 = objectType({
|
@@ -8508,7 +8508,7 @@ var init_sqliteSchema = __esm({
|
|
8508
8508
|
version: latestVersion,
|
8509
8509
|
dialect: dialect2,
|
8510
8510
|
tables: recordType(stringType(), table3),
|
8511
|
-
views: recordType(stringType(), view3),
|
8511
|
+
views: recordType(stringType(), view3).default({}),
|
8512
8512
|
enums: objectType({}),
|
8513
8513
|
_meta: objectType({
|
8514
8514
|
tables: recordType(stringType(), stringType()),
|
@@ -20372,7 +20372,7 @@ var version;
|
|
20372
20372
|
var init_version = __esm({
|
20373
20373
|
"../drizzle-orm/dist/version.js"() {
|
20374
20374
|
"use strict";
|
20375
|
-
version = "0.35.
|
20375
|
+
version = "0.35.2";
|
20376
20376
|
}
|
20377
20377
|
});
|
20378
20378
|
|
@@ -21353,6 +21353,50 @@ function getColumnNameAndConfig(a, b) {
|
|
21353
21353
|
config: typeof a === "object" ? a : b
|
21354
21354
|
};
|
21355
21355
|
}
|
21356
|
+
function isConfig(data) {
|
21357
|
+
if (typeof data !== "object" || data === null)
|
21358
|
+
return false;
|
21359
|
+
if (data.constructor.name !== "Object")
|
21360
|
+
return false;
|
21361
|
+
if ("logger" in data) {
|
21362
|
+
const type = typeof data["logger"];
|
21363
|
+
if (type !== "boolean" && (type !== "object" || typeof data["logger"]["logQuery"] !== "function") && type !== "undefined")
|
21364
|
+
return false;
|
21365
|
+
return true;
|
21366
|
+
}
|
21367
|
+
if ("schema" in data) {
|
21368
|
+
const type = typeof data["logger"];
|
21369
|
+
if (type !== "object" && type !== "undefined")
|
21370
|
+
return false;
|
21371
|
+
return true;
|
21372
|
+
}
|
21373
|
+
if ("casing" in data) {
|
21374
|
+
const type = typeof data["logger"];
|
21375
|
+
if (type !== "string" && type !== "undefined")
|
21376
|
+
return false;
|
21377
|
+
return true;
|
21378
|
+
}
|
21379
|
+
if ("mode" in data) {
|
21380
|
+
if (data["mode"] !== "default" || data["mode"] !== "planetscale" || data["mode"] !== void 0)
|
21381
|
+
return false;
|
21382
|
+
return true;
|
21383
|
+
}
|
21384
|
+
if ("connection" in data) {
|
21385
|
+
const type = typeof data["connection"];
|
21386
|
+
if (type !== "string" && type !== "object" && type !== "undefined")
|
21387
|
+
return false;
|
21388
|
+
return true;
|
21389
|
+
}
|
21390
|
+
if ("client" in data) {
|
21391
|
+
const type = typeof data["client"];
|
21392
|
+
if (type !== "object" && type !== "undefined")
|
21393
|
+
return false;
|
21394
|
+
return true;
|
21395
|
+
}
|
21396
|
+
if (Object.keys(data).length === 0)
|
21397
|
+
return true;
|
21398
|
+
return false;
|
21399
|
+
}
|
21356
21400
|
var init_utils2 = __esm({
|
21357
21401
|
"../drizzle-orm/dist/utils.js"() {
|
21358
21402
|
"use strict";
|
@@ -23546,6 +23590,7 @@ __export(dist_exports, {
|
|
23546
23590
|
inArray: () => inArray,
|
23547
23591
|
innerProduct: () => innerProduct,
|
23548
23592
|
is: () => is,
|
23593
|
+
isConfig: () => isConfig,
|
23549
23594
|
isDriverValueEncoder: () => isDriverValueEncoder,
|
23550
23595
|
isNotNull: () => isNotNull,
|
23551
23596
|
isNull: () => isNull,
|
package/api.mjs
CHANGED
@@ -7514,7 +7514,7 @@ var init_mysqlSchema = __esm({
|
|
7514
7514
|
version: literalType("5"),
|
7515
7515
|
dialect,
|
7516
7516
|
tables: recordType(stringType(), table),
|
7517
|
-
views: recordType(stringType(), view),
|
7517
|
+
views: recordType(stringType(), view).default({}),
|
7518
7518
|
_meta: objectType({
|
7519
7519
|
tables: recordType(stringType(), stringType()),
|
7520
7520
|
columns: recordType(stringType(), stringType())
|
@@ -8484,7 +8484,7 @@ var init_sqliteSchema = __esm({
|
|
8484
8484
|
version: literalType("4"),
|
8485
8485
|
dialect: dialect2,
|
8486
8486
|
tables: recordType(stringType(), table3),
|
8487
|
-
views: recordType(stringType(), view3),
|
8487
|
+
views: recordType(stringType(), view3).default({}),
|
8488
8488
|
enums: objectType({})
|
8489
8489
|
}).strict();
|
8490
8490
|
schemaInternalV52 = objectType({
|
@@ -8513,7 +8513,7 @@ var init_sqliteSchema = __esm({
|
|
8513
8513
|
version: latestVersion,
|
8514
8514
|
dialect: dialect2,
|
8515
8515
|
tables: recordType(stringType(), table3),
|
8516
|
-
views: recordType(stringType(), view3),
|
8516
|
+
views: recordType(stringType(), view3).default({}),
|
8517
8517
|
enums: objectType({}),
|
8518
8518
|
_meta: objectType({
|
8519
8519
|
tables: recordType(stringType(), stringType()),
|
@@ -20377,7 +20377,7 @@ var version;
|
|
20377
20377
|
var init_version = __esm({
|
20378
20378
|
"../drizzle-orm/dist/version.js"() {
|
20379
20379
|
"use strict";
|
20380
|
-
version = "0.35.
|
20380
|
+
version = "0.35.2";
|
20381
20381
|
}
|
20382
20382
|
});
|
20383
20383
|
|
@@ -21358,6 +21358,50 @@ function getColumnNameAndConfig(a, b) {
|
|
21358
21358
|
config: typeof a === "object" ? a : b
|
21359
21359
|
};
|
21360
21360
|
}
|
21361
|
+
function isConfig(data) {
|
21362
|
+
if (typeof data !== "object" || data === null)
|
21363
|
+
return false;
|
21364
|
+
if (data.constructor.name !== "Object")
|
21365
|
+
return false;
|
21366
|
+
if ("logger" in data) {
|
21367
|
+
const type = typeof data["logger"];
|
21368
|
+
if (type !== "boolean" && (type !== "object" || typeof data["logger"]["logQuery"] !== "function") && type !== "undefined")
|
21369
|
+
return false;
|
21370
|
+
return true;
|
21371
|
+
}
|
21372
|
+
if ("schema" in data) {
|
21373
|
+
const type = typeof data["logger"];
|
21374
|
+
if (type !== "object" && type !== "undefined")
|
21375
|
+
return false;
|
21376
|
+
return true;
|
21377
|
+
}
|
21378
|
+
if ("casing" in data) {
|
21379
|
+
const type = typeof data["logger"];
|
21380
|
+
if (type !== "string" && type !== "undefined")
|
21381
|
+
return false;
|
21382
|
+
return true;
|
21383
|
+
}
|
21384
|
+
if ("mode" in data) {
|
21385
|
+
if (data["mode"] !== "default" || data["mode"] !== "planetscale" || data["mode"] !== void 0)
|
21386
|
+
return false;
|
21387
|
+
return true;
|
21388
|
+
}
|
21389
|
+
if ("connection" in data) {
|
21390
|
+
const type = typeof data["connection"];
|
21391
|
+
if (type !== "string" && type !== "object" && type !== "undefined")
|
21392
|
+
return false;
|
21393
|
+
return true;
|
21394
|
+
}
|
21395
|
+
if ("client" in data) {
|
21396
|
+
const type = typeof data["client"];
|
21397
|
+
if (type !== "object" && type !== "undefined")
|
21398
|
+
return false;
|
21399
|
+
return true;
|
21400
|
+
}
|
21401
|
+
if (Object.keys(data).length === 0)
|
21402
|
+
return true;
|
21403
|
+
return false;
|
21404
|
+
}
|
21361
21405
|
var init_utils2 = __esm({
|
21362
21406
|
"../drizzle-orm/dist/utils.js"() {
|
21363
21407
|
"use strict";
|
@@ -23551,6 +23595,7 @@ __export(dist_exports, {
|
|
23551
23595
|
inArray: () => inArray,
|
23552
23596
|
innerProduct: () => innerProduct,
|
23553
23597
|
is: () => is,
|
23598
|
+
isConfig: () => isConfig,
|
23554
23599
|
isDriverValueEncoder: () => isDriverValueEncoder,
|
23555
23600
|
isNotNull: () => isNotNull,
|
23556
23601
|
isNull: () => isNull,
|
package/bin.cjs
CHANGED
@@ -5566,7 +5566,7 @@ var init_mysqlSchema = __esm({
|
|
5566
5566
|
version: literalType("5"),
|
5567
5567
|
dialect,
|
5568
5568
|
tables: recordType(stringType(), table),
|
5569
|
-
views: recordType(stringType(), view),
|
5569
|
+
views: recordType(stringType(), view).default({}),
|
5570
5570
|
_meta: objectType({
|
5571
5571
|
tables: recordType(stringType(), stringType()),
|
5572
5572
|
columns: recordType(stringType(), stringType())
|
@@ -6536,7 +6536,7 @@ var init_sqliteSchema = __esm({
|
|
6536
6536
|
version: literalType("4"),
|
6537
6537
|
dialect: dialect2,
|
6538
6538
|
tables: recordType(stringType(), table3),
|
6539
|
-
views: recordType(stringType(), view3),
|
6539
|
+
views: recordType(stringType(), view3).default({}),
|
6540
6540
|
enums: objectType({})
|
6541
6541
|
}).strict();
|
6542
6542
|
schemaInternalV52 = objectType({
|
@@ -6565,7 +6565,7 @@ var init_sqliteSchema = __esm({
|
|
6565
6565
|
version: latestVersion,
|
6566
6566
|
dialect: dialect2,
|
6567
6567
|
tables: recordType(stringType(), table3),
|
6568
|
-
views: recordType(stringType(), view3),
|
6568
|
+
views: recordType(stringType(), view3).default({}),
|
6569
6569
|
enums: objectType({}),
|
6570
6570
|
_meta: objectType({
|
6571
6571
|
tables: recordType(stringType(), stringType()),
|
@@ -8842,7 +8842,7 @@ var init_utils2 = __esm({
|
|
8842
8842
|
process.exit(1);
|
8843
8843
|
}
|
8844
8844
|
};
|
8845
|
-
requiredApiVersion =
|
8845
|
+
requiredApiVersion = 9;
|
8846
8846
|
assertOrmCoreVersion = async () => {
|
8847
8847
|
try {
|
8848
8848
|
const { compatibilityVersion } = await import("drizzle-orm/version");
|
@@ -87624,7 +87624,7 @@ init_utils2();
|
|
87624
87624
|
var version2 = async () => {
|
87625
87625
|
const { npmVersion } = await ormCoreVersions();
|
87626
87626
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
87627
|
-
const envVersion = "0.26.
|
87627
|
+
const envVersion = "0.26.2-18dfb56";
|
87628
87628
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
87629
87629
|
const versions = `drizzle-kit: ${kitVersion}
|
87630
87630
|
${ormVersion}`;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "drizzle-kit",
|
3
|
-
"version": "0.26.
|
3
|
+
"version": "0.26.2-18dfb56",
|
4
4
|
"homepage": "https://orm.drizzle.team",
|
5
5
|
"keywords": [
|
6
6
|
"drizzle",
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"@arethetypeswrong/cli": "^0.15.3",
|
52
52
|
"@aws-sdk/client-rds-data": "^3.556.0",
|
53
53
|
"@cloudflare/workers-types": "^4.20230518.0",
|
54
|
-
"@electric-sql/pglite": "^0.
|
54
|
+
"@electric-sql/pglite": "^0.2.12",
|
55
55
|
"@hono/node-server": "^1.9.0",
|
56
56
|
"@hono/zod-validator": "^0.2.1",
|
57
57
|
"@libsql/client": "^0.10.0",
|
package/utils.js
CHANGED
@@ -4986,7 +4986,7 @@ var schemaInternal = objectType({
|
|
4986
4986
|
version: literalType("5"),
|
4987
4987
|
dialect,
|
4988
4988
|
tables: recordType(stringType(), table),
|
4989
|
-
views: recordType(stringType(), view),
|
4989
|
+
views: recordType(stringType(), view).default({}),
|
4990
4990
|
_meta: objectType({
|
4991
4991
|
tables: recordType(stringType(), stringType()),
|
4992
4992
|
columns: recordType(stringType(), stringType())
|
@@ -5566,7 +5566,7 @@ var schemaInternalV42 = objectType({
|
|
5566
5566
|
version: literalType("4"),
|
5567
5567
|
dialect: dialect2,
|
5568
5568
|
tables: recordType(stringType(), table3),
|
5569
|
-
views: recordType(stringType(), view3),
|
5569
|
+
views: recordType(stringType(), view3).default({}),
|
5570
5570
|
enums: objectType({})
|
5571
5571
|
}).strict();
|
5572
5572
|
var schemaInternalV52 = objectType({
|
@@ -5595,7 +5595,7 @@ var schemaInternal2 = objectType({
|
|
5595
5595
|
version: latestVersion,
|
5596
5596
|
dialect: dialect2,
|
5597
5597
|
tables: recordType(stringType(), table3),
|
5598
|
-
views: recordType(stringType(), view3),
|
5598
|
+
views: recordType(stringType(), view3).default({}),
|
5599
5599
|
enums: objectType({}),
|
5600
5600
|
_meta: objectType({
|
5601
5601
|
tables: recordType(stringType(), stringType()),
|
package/utils.mjs
CHANGED
@@ -4964,7 +4964,7 @@ var schemaInternal = objectType({
|
|
4964
4964
|
version: literalType("5"),
|
4965
4965
|
dialect,
|
4966
4966
|
tables: recordType(stringType(), table),
|
4967
|
-
views: recordType(stringType(), view),
|
4967
|
+
views: recordType(stringType(), view).default({}),
|
4968
4968
|
_meta: objectType({
|
4969
4969
|
tables: recordType(stringType(), stringType()),
|
4970
4970
|
columns: recordType(stringType(), stringType())
|
@@ -5544,7 +5544,7 @@ var schemaInternalV42 = objectType({
|
|
5544
5544
|
version: literalType("4"),
|
5545
5545
|
dialect: dialect2,
|
5546
5546
|
tables: recordType(stringType(), table3),
|
5547
|
-
views: recordType(stringType(), view3),
|
5547
|
+
views: recordType(stringType(), view3).default({}),
|
5548
5548
|
enums: objectType({})
|
5549
5549
|
}).strict();
|
5550
5550
|
var schemaInternalV52 = objectType({
|
@@ -5573,7 +5573,7 @@ var schemaInternal2 = objectType({
|
|
5573
5573
|
version: latestVersion,
|
5574
5574
|
dialect: dialect2,
|
5575
5575
|
tables: recordType(stringType(), table3),
|
5576
|
-
views: recordType(stringType(), view3),
|
5576
|
+
views: recordType(stringType(), view3).default({}),
|
5577
5577
|
enums: objectType({}),
|
5578
5578
|
_meta: objectType({
|
5579
5579
|
tables: recordType(stringType(), stringType()),
|