drizzle-kit 0.23.2-ab12f1d → 0.23.2-cd71182
Sign up to get free protection for your applications and to get access to all the features.
- package/api.js +429 -394
- package/api.mjs +429 -394
- package/bin.cjs +36 -3
- package/package.json +2 -2
- package/utils.js +5 -0
- package/utils.mjs +4 -0
package/api.js
CHANGED
@@ -8338,6 +8338,9 @@ var init_sqliteSchema = __esm({
|
|
8338
8338
|
});
|
8339
8339
|
|
8340
8340
|
// src/utils.ts
|
8341
|
+
function isPgArrayType(sqlType) {
|
8342
|
+
return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
|
8343
|
+
}
|
8341
8344
|
var copy, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
|
8342
8345
|
var init_utils = __esm({
|
8343
8346
|
"src/utils.ts"() {
|
@@ -8711,14 +8714,14 @@ var require_heap = __commonJS({
|
|
8711
8714
|
return item;
|
8712
8715
|
};
|
8713
8716
|
heapify = function(array, cmp) {
|
8714
|
-
var i, _i2,
|
8717
|
+
var i, _i2, _j2, _len, _ref, _ref1, _results, _results1;
|
8715
8718
|
if (cmp == null) {
|
8716
8719
|
cmp = defaultCmp;
|
8717
8720
|
}
|
8718
8721
|
_ref1 = function() {
|
8719
8722
|
_results1 = [];
|
8720
|
-
for (var
|
8721
|
-
_results1.push(
|
8723
|
+
for (var _j3 = 0, _ref2 = floor(array.length / 2); 0 <= _ref2 ? _j3 < _ref2 : _j3 > _ref2; 0 <= _ref2 ? _j3++ : _j3--) {
|
8724
|
+
_results1.push(_j3);
|
8722
8725
|
}
|
8723
8726
|
return _results1;
|
8724
8727
|
}.apply(this).reverse();
|
@@ -8759,7 +8762,7 @@ var require_heap = __commonJS({
|
|
8759
8762
|
return result.sort(cmp).reverse();
|
8760
8763
|
};
|
8761
8764
|
nsmallest = function(array, n, cmp) {
|
8762
|
-
var elem, i, los, result, _i2,
|
8765
|
+
var elem, i, los, result, _i2, _j2, _len, _ref, _ref1, _results;
|
8763
8766
|
if (cmp == null) {
|
8764
8767
|
cmp = defaultCmp;
|
8765
8768
|
}
|
@@ -8782,7 +8785,7 @@ var require_heap = __commonJS({
|
|
8782
8785
|
}
|
8783
8786
|
heapify(array, cmp);
|
8784
8787
|
_results = [];
|
8785
|
-
for (i =
|
8788
|
+
for (i = _j2 = 0, _ref1 = min2(n, array.length); 0 <= _ref1 ? _j2 < _ref1 : _j2 > _ref1; i = 0 <= _ref1 ? ++_j2 : --_j2) {
|
8786
8789
|
_results.push(heappop(array, cmp));
|
8787
8790
|
}
|
8788
8791
|
return _results;
|
@@ -17272,7 +17275,7 @@ var init_mjs = __esm({
|
|
17272
17275
|
}
|
17273
17276
|
});
|
17274
17277
|
|
17275
|
-
// ../
|
17278
|
+
// ../drizzle-orm/dist/entity.js
|
17276
17279
|
function is(value, type) {
|
17277
17280
|
if (!value || typeof value !== "object") {
|
17278
17281
|
return false;
|
@@ -17298,17 +17301,17 @@ function is(value, type) {
|
|
17298
17301
|
}
|
17299
17302
|
var entityKind, hasOwnEntityKind;
|
17300
17303
|
var init_entity = __esm({
|
17301
|
-
"../
|
17304
|
+
"../drizzle-orm/dist/entity.js"() {
|
17302
17305
|
"use strict";
|
17303
17306
|
entityKind = Symbol.for("drizzle:entityKind");
|
17304
17307
|
hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
17305
17308
|
}
|
17306
17309
|
});
|
17307
17310
|
|
17308
|
-
// ../
|
17311
|
+
// ../drizzle-orm/dist/column.js
|
17309
17312
|
var _a, Column2;
|
17310
17313
|
var init_column = __esm({
|
17311
|
-
"../
|
17314
|
+
"../drizzle-orm/dist/column.js"() {
|
17312
17315
|
"use strict";
|
17313
17316
|
init_entity();
|
17314
17317
|
_a = entityKind;
|
@@ -17362,10 +17365,10 @@ var init_column = __esm({
|
|
17362
17365
|
}
|
17363
17366
|
});
|
17364
17367
|
|
17365
|
-
// ../
|
17368
|
+
// ../drizzle-orm/dist/column-builder.js
|
17366
17369
|
var _a2, ColumnBuilder;
|
17367
17370
|
var init_column_builder = __esm({
|
17368
|
-
"../
|
17371
|
+
"../drizzle-orm/dist/column-builder.js"() {
|
17369
17372
|
"use strict";
|
17370
17373
|
init_entity();
|
17371
17374
|
_a2 = entityKind;
|
@@ -17467,7 +17470,7 @@ var init_column_builder = __esm({
|
|
17467
17470
|
}
|
17468
17471
|
});
|
17469
17472
|
|
17470
|
-
// ../
|
17473
|
+
// ../drizzle-orm/dist/table.js
|
17471
17474
|
function isTable(table4) {
|
17472
17475
|
return typeof table4 === "object" && table4 !== null && IsDrizzleTable in table4;
|
17473
17476
|
}
|
@@ -17477,9 +17480,9 @@ function getTableName(table4) {
|
|
17477
17480
|
function getTableUniqueName(table4) {
|
17478
17481
|
return `${table4[Schema] ?? "public"}.${table4[TableName]}`;
|
17479
17482
|
}
|
17480
|
-
var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, Table2;
|
17483
|
+
var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, _j, Table2;
|
17481
17484
|
var init_table = __esm({
|
17482
|
-
"../
|
17485
|
+
"../drizzle-orm/dist/table.js"() {
|
17483
17486
|
"use strict";
|
17484
17487
|
init_entity();
|
17485
17488
|
TableName = Symbol.for("drizzle:Name");
|
@@ -17491,32 +17494,34 @@ var init_table = __esm({
|
|
17491
17494
|
IsAlias = Symbol.for("drizzle:IsAlias");
|
17492
17495
|
ExtraConfigBuilder = Symbol.for("drizzle:ExtraConfigBuilder");
|
17493
17496
|
IsDrizzleTable = Symbol.for("drizzle:IsDrizzleTable");
|
17494
|
-
|
17497
|
+
_j = entityKind, _i = TableName, _h = OriginalName, _g = Schema, _f = Columns, _e = ExtraConfigColumns, _d = BaseName, _c = IsAlias, _b = IsDrizzleTable, _a3 = ExtraConfigBuilder;
|
17495
17498
|
Table2 = class {
|
17496
17499
|
constructor(name2, schema4, baseName) {
|
17497
17500
|
/**
|
17498
17501
|
* @internal
|
17499
17502
|
* Can be changed if the table is aliased.
|
17500
17503
|
*/
|
17501
|
-
__publicField(this,
|
17504
|
+
__publicField(this, _i);
|
17502
17505
|
/**
|
17503
17506
|
* @internal
|
17504
17507
|
* Used to store the original name of the table, before any aliasing.
|
17505
17508
|
*/
|
17509
|
+
__publicField(this, _h);
|
17510
|
+
/** @internal */
|
17506
17511
|
__publicField(this, _g);
|
17507
17512
|
/** @internal */
|
17508
17513
|
__publicField(this, _f);
|
17509
17514
|
/** @internal */
|
17510
17515
|
__publicField(this, _e);
|
17511
|
-
/** @internal */
|
17512
|
-
__publicField(this, _d);
|
17513
17516
|
/**
|
17514
17517
|
* @internal
|
17515
17518
|
* Used to store the table name before the transformation via the `tableCreator` functions.
|
17516
17519
|
*/
|
17517
|
-
__publicField(this,
|
17520
|
+
__publicField(this, _d);
|
17518
17521
|
/** @internal */
|
17519
|
-
__publicField(this,
|
17522
|
+
__publicField(this, _c, false);
|
17523
|
+
/** @internal */
|
17524
|
+
__publicField(this, _b, true);
|
17520
17525
|
/** @internal */
|
17521
17526
|
__publicField(this, _a3);
|
17522
17527
|
this[TableName] = this[OriginalName] = name2;
|
@@ -17524,7 +17529,7 @@ var init_table = __esm({
|
|
17524
17529
|
this[BaseName] = baseName;
|
17525
17530
|
}
|
17526
17531
|
};
|
17527
|
-
__publicField(Table2,
|
17532
|
+
__publicField(Table2, _j, "Table");
|
17528
17533
|
/** @internal */
|
17529
17534
|
__publicField(Table2, "Symbol", {
|
17530
17535
|
Name: TableName,
|
@@ -17539,7 +17544,7 @@ var init_table = __esm({
|
|
17539
17544
|
}
|
17540
17545
|
});
|
17541
17546
|
|
17542
|
-
// ../
|
17547
|
+
// ../drizzle-orm/dist/pg-core/table.js
|
17543
17548
|
function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
17544
17549
|
const rawTable = new PgTable(name2, schema4, baseName);
|
17545
17550
|
const builtColumns = Object.fromEntries(
|
@@ -17567,7 +17572,7 @@ function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name
|
|
17567
17572
|
}
|
17568
17573
|
var InlineForeignKeys, _a4, _b2, _c2, _d2, PgTable, pgTable;
|
17569
17574
|
var init_table2 = __esm({
|
17570
|
-
"../
|
17575
|
+
"../drizzle-orm/dist/pg-core/table.js"() {
|
17571
17576
|
"use strict";
|
17572
17577
|
init_entity();
|
17573
17578
|
init_table();
|
@@ -17592,10 +17597,10 @@ var init_table2 = __esm({
|
|
17592
17597
|
}
|
17593
17598
|
});
|
17594
17599
|
|
17595
|
-
// ../
|
17600
|
+
// ../drizzle-orm/dist/pg-core/foreign-keys.js
|
17596
17601
|
var _a5, ForeignKeyBuilder, _a6, ForeignKey;
|
17597
17602
|
var init_foreign_keys = __esm({
|
17598
|
-
"../
|
17603
|
+
"../drizzle-orm/dist/pg-core/foreign-keys.js"() {
|
17599
17604
|
"use strict";
|
17600
17605
|
init_entity();
|
17601
17606
|
init_table2();
|
@@ -17659,23 +17664,23 @@ var init_foreign_keys = __esm({
|
|
17659
17664
|
}
|
17660
17665
|
});
|
17661
17666
|
|
17662
|
-
// ../
|
17667
|
+
// ../drizzle-orm/dist/tracing-utils.js
|
17663
17668
|
function iife(fn, ...args) {
|
17664
17669
|
return fn(...args);
|
17665
17670
|
}
|
17666
17671
|
var init_tracing_utils = __esm({
|
17667
|
-
"../
|
17672
|
+
"../drizzle-orm/dist/tracing-utils.js"() {
|
17668
17673
|
"use strict";
|
17669
17674
|
}
|
17670
17675
|
});
|
17671
17676
|
|
17672
|
-
// ../
|
17677
|
+
// ../drizzle-orm/dist/pg-core/unique-constraint.js
|
17673
17678
|
function uniqueKeyName(table4, columns) {
|
17674
17679
|
return `${table4[PgTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
17675
17680
|
}
|
17676
17681
|
var _a7, UniqueConstraintBuilder, _a8, UniqueOnConstraintBuilder, _a9, UniqueConstraint;
|
17677
17682
|
var init_unique_constraint = __esm({
|
17678
|
-
"../
|
17683
|
+
"../drizzle-orm/dist/pg-core/unique-constraint.js"() {
|
17679
17684
|
"use strict";
|
17680
17685
|
init_entity();
|
17681
17686
|
init_table2();
|
@@ -17730,7 +17735,7 @@ var init_unique_constraint = __esm({
|
|
17730
17735
|
}
|
17731
17736
|
});
|
17732
17737
|
|
17733
|
-
// ../
|
17738
|
+
// ../drizzle-orm/dist/pg-core/utils/array.js
|
17734
17739
|
function parsePgArrayValue(arrayString, startFrom, inQuotes) {
|
17735
17740
|
for (let i = startFrom; i < arrayString.length; i++) {
|
17736
17741
|
const char = arrayString[i];
|
@@ -17806,15 +17811,15 @@ function makePgArray(array) {
|
|
17806
17811
|
}).join(",")}}`;
|
17807
17812
|
}
|
17808
17813
|
var init_array = __esm({
|
17809
|
-
"../
|
17814
|
+
"../drizzle-orm/dist/pg-core/utils/array.js"() {
|
17810
17815
|
"use strict";
|
17811
17816
|
}
|
17812
17817
|
});
|
17813
17818
|
|
17814
|
-
// ../
|
17819
|
+
// ../drizzle-orm/dist/pg-core/columns/common.js
|
17815
17820
|
var _a10, _b3, PgColumnBuilder, _a11, _b4, PgColumn, _a12, _b5, ExtraConfigColumn, _a13, IndexedColumn, _a14, _b6, PgArrayBuilder, _a15, _b7, _PgArray, PgArray;
|
17816
17821
|
var init_common2 = __esm({
|
17817
|
-
"../
|
17822
|
+
"../drizzle-orm/dist/pg-core/columns/common.js"() {
|
17818
17823
|
"use strict";
|
17819
17824
|
init_column_builder();
|
17820
17825
|
init_column();
|
@@ -18015,7 +18020,7 @@ var init_common2 = __esm({
|
|
18015
18020
|
}
|
18016
18021
|
});
|
18017
18022
|
|
18018
|
-
// ../
|
18023
|
+
// ../drizzle-orm/dist/pg-core/columns/enum.js
|
18019
18024
|
function isPgEnum(obj) {
|
18020
18025
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
18021
18026
|
}
|
@@ -18033,7 +18038,7 @@ function pgEnumWithSchema(enumName, values, schema4) {
|
|
18033
18038
|
}
|
18034
18039
|
var isPgEnumSym, _a16, _b8, PgEnumColumnBuilder, _a17, _b9, PgEnumColumn;
|
18035
18040
|
var init_enum = __esm({
|
18036
|
-
"../
|
18041
|
+
"../drizzle-orm/dist/pg-core/columns/enum.js"() {
|
18037
18042
|
"use strict";
|
18038
18043
|
init_entity();
|
18039
18044
|
init_common2();
|
@@ -18067,10 +18072,10 @@ var init_enum = __esm({
|
|
18067
18072
|
}
|
18068
18073
|
});
|
18069
18074
|
|
18070
|
-
// ../
|
18075
|
+
// ../drizzle-orm/dist/subquery.js
|
18071
18076
|
var _a18, Subquery, _a19, _b10, WithSubquery;
|
18072
18077
|
var init_subquery = __esm({
|
18073
|
-
"../
|
18078
|
+
"../drizzle-orm/dist/subquery.js"() {
|
18074
18079
|
"use strict";
|
18075
18080
|
init_entity();
|
18076
18081
|
_a18 = entityKind;
|
@@ -18095,19 +18100,19 @@ var init_subquery = __esm({
|
|
18095
18100
|
}
|
18096
18101
|
});
|
18097
18102
|
|
18098
|
-
// ../
|
18103
|
+
// ../drizzle-orm/dist/version.js
|
18099
18104
|
var version;
|
18100
18105
|
var init_version = __esm({
|
18101
|
-
"../
|
18106
|
+
"../drizzle-orm/dist/version.js"() {
|
18102
18107
|
"use strict";
|
18103
|
-
version = "0.32.
|
18108
|
+
version = "0.32.2";
|
18104
18109
|
}
|
18105
18110
|
});
|
18106
18111
|
|
18107
|
-
// ../
|
18112
|
+
// ../drizzle-orm/dist/tracing.js
|
18108
18113
|
var otel, rawTracer, tracer;
|
18109
18114
|
var init_tracing = __esm({
|
18110
|
-
"../
|
18115
|
+
"../drizzle-orm/dist/tracing.js"() {
|
18111
18116
|
"use strict";
|
18112
18117
|
init_tracing_utils();
|
18113
18118
|
init_version();
|
@@ -18145,16 +18150,16 @@ var init_tracing = __esm({
|
|
18145
18150
|
}
|
18146
18151
|
});
|
18147
18152
|
|
18148
|
-
// ../
|
18153
|
+
// ../drizzle-orm/dist/view-common.js
|
18149
18154
|
var ViewBaseConfig;
|
18150
18155
|
var init_view_common = __esm({
|
18151
|
-
"../
|
18156
|
+
"../drizzle-orm/dist/view-common.js"() {
|
18152
18157
|
"use strict";
|
18153
18158
|
ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
18154
18159
|
}
|
18155
18160
|
});
|
18156
18161
|
|
18157
|
-
// ../
|
18162
|
+
// ../drizzle-orm/dist/sql/sql.js
|
18158
18163
|
function isSQLWrapper(value) {
|
18159
18164
|
return value !== null && value !== void 0 && typeof value.getSQL === "function";
|
18160
18165
|
}
|
@@ -18207,7 +18212,7 @@ function fillPlaceholders(params, values) {
|
|
18207
18212
|
}
|
18208
18213
|
var _a20, FakePrimitiveParam, _a21, StringChunk, _a22, _SQL, SQL, _a23, Name, noopDecoder, noopEncoder, noopMapper, _a24, Param, _a25, Placeholder, _a26, _b11, View;
|
18209
18214
|
var init_sql = __esm({
|
18210
|
-
"../
|
18215
|
+
"../drizzle-orm/dist/sql/sql.js"() {
|
18211
18216
|
"use strict";
|
18212
18217
|
init_entity();
|
18213
18218
|
init_enum();
|
@@ -18322,7 +18327,7 @@ var init_sql = __esm({
|
|
18322
18327
|
if (inlineParams) {
|
18323
18328
|
return { sql: this.mapInlineParam(mappedValue, config), params: [] };
|
18324
18329
|
}
|
18325
|
-
let typings;
|
18330
|
+
let typings = ["none"];
|
18326
18331
|
if (prepareTyping) {
|
18327
18332
|
typings = [prepareTyping(chunk.encoder)];
|
18328
18333
|
}
|
@@ -18364,7 +18369,7 @@ var init_sql = __esm({
|
|
18364
18369
|
if (inlineParams) {
|
18365
18370
|
return { sql: this.mapInlineParam(chunk, config), params: [] };
|
18366
18371
|
}
|
18367
|
-
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
|
18372
|
+
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
|
18368
18373
|
}));
|
18369
18374
|
}
|
18370
18375
|
mapInlineParam(chunk, { escapeString }) {
|
@@ -18553,7 +18558,7 @@ var init_sql = __esm({
|
|
18553
18558
|
}
|
18554
18559
|
});
|
18555
18560
|
|
18556
|
-
// ../
|
18561
|
+
// ../drizzle-orm/dist/alias.js
|
18557
18562
|
function aliasedTable(table4, tableAlias) {
|
18558
18563
|
return new Proxy(table4, new TableAliasProxyHandler(tableAlias, false));
|
18559
18564
|
}
|
@@ -18585,7 +18590,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
18585
18590
|
}
|
18586
18591
|
var _a27, ColumnAliasProxyHandler, _a28, TableAliasProxyHandler, _a29, RelationTableAliasProxyHandler;
|
18587
18592
|
var init_alias = __esm({
|
18588
|
-
"../
|
18593
|
+
"../drizzle-orm/dist/alias.js"() {
|
18589
18594
|
"use strict";
|
18590
18595
|
init_column();
|
18591
18596
|
init_entity();
|
@@ -18666,10 +18671,10 @@ var init_alias = __esm({
|
|
18666
18671
|
}
|
18667
18672
|
});
|
18668
18673
|
|
18669
|
-
// ../
|
18674
|
+
// ../drizzle-orm/dist/errors.js
|
18670
18675
|
var _a30, _b12, DrizzleError, _a31, _b13, TransactionRollbackError;
|
18671
18676
|
var init_errors = __esm({
|
18672
|
-
"../
|
18677
|
+
"../drizzle-orm/dist/errors.js"() {
|
18673
18678
|
"use strict";
|
18674
18679
|
init_entity();
|
18675
18680
|
DrizzleError = class extends (_b12 = Error, _a30 = entityKind, _b12) {
|
@@ -18689,7 +18694,7 @@ var init_errors = __esm({
|
|
18689
18694
|
}
|
18690
18695
|
});
|
18691
18696
|
|
18692
|
-
// ../
|
18697
|
+
// ../drizzle-orm/dist/sql/expressions/conditions.js
|
18693
18698
|
function bindIfParam(value, column4) {
|
18694
18699
|
if (isDriverValueEncoder(column4) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column2) && !is(value, Table2) && !is(value, View)) {
|
18695
18700
|
return new Param(value, column4);
|
@@ -18817,7 +18822,7 @@ function arrayOverlaps(column4, values) {
|
|
18817
18822
|
}
|
18818
18823
|
var eq, ne, gt, gte, lt, lte;
|
18819
18824
|
var init_conditions = __esm({
|
18820
|
-
"../
|
18825
|
+
"../drizzle-orm/dist/sql/expressions/conditions.js"() {
|
18821
18826
|
"use strict";
|
18822
18827
|
init_column();
|
18823
18828
|
init_entity();
|
@@ -18844,7 +18849,7 @@ var init_conditions = __esm({
|
|
18844
18849
|
}
|
18845
18850
|
});
|
18846
18851
|
|
18847
|
-
// ../
|
18852
|
+
// ../drizzle-orm/dist/sql/expressions/select.js
|
18848
18853
|
function asc(column4) {
|
18849
18854
|
return sql`${column4} asc`;
|
18850
18855
|
}
|
@@ -18852,33 +18857,33 @@ function desc(column4) {
|
|
18852
18857
|
return sql`${column4} desc`;
|
18853
18858
|
}
|
18854
18859
|
var init_select = __esm({
|
18855
|
-
"../
|
18860
|
+
"../drizzle-orm/dist/sql/expressions/select.js"() {
|
18856
18861
|
"use strict";
|
18857
18862
|
init_sql();
|
18858
18863
|
}
|
18859
18864
|
});
|
18860
18865
|
|
18861
|
-
// ../
|
18866
|
+
// ../drizzle-orm/dist/sql/expressions/index.js
|
18862
18867
|
var init_expressions = __esm({
|
18863
|
-
"../
|
18868
|
+
"../drizzle-orm/dist/sql/expressions/index.js"() {
|
18864
18869
|
"use strict";
|
18865
18870
|
init_conditions();
|
18866
18871
|
init_select();
|
18867
18872
|
}
|
18868
18873
|
});
|
18869
18874
|
|
18870
|
-
// ../
|
18875
|
+
// ../drizzle-orm/dist/expressions.js
|
18871
18876
|
var init_expressions2 = __esm({
|
18872
|
-
"../
|
18877
|
+
"../drizzle-orm/dist/expressions.js"() {
|
18873
18878
|
"use strict";
|
18874
18879
|
init_expressions();
|
18875
18880
|
}
|
18876
18881
|
});
|
18877
18882
|
|
18878
|
-
// ../
|
18883
|
+
// ../drizzle-orm/dist/logger.js
|
18879
18884
|
var _a32, ConsoleLogWriter, _a33, DefaultLogger, _a34, NoopLogger;
|
18880
18885
|
var init_logger = __esm({
|
18881
|
-
"../
|
18886
|
+
"../drizzle-orm/dist/logger.js"() {
|
18882
18887
|
"use strict";
|
18883
18888
|
init_entity();
|
18884
18889
|
_a32 = entityKind;
|
@@ -18916,17 +18921,17 @@ var init_logger = __esm({
|
|
18916
18921
|
}
|
18917
18922
|
});
|
18918
18923
|
|
18919
|
-
// ../
|
18924
|
+
// ../drizzle-orm/dist/operations.js
|
18920
18925
|
var init_operations = __esm({
|
18921
|
-
"../
|
18926
|
+
"../drizzle-orm/dist/operations.js"() {
|
18922
18927
|
"use strict";
|
18923
18928
|
}
|
18924
18929
|
});
|
18925
18930
|
|
18926
|
-
// ../
|
18931
|
+
// ../drizzle-orm/dist/query-promise.js
|
18927
18932
|
var _a35, _b14, QueryPromise;
|
18928
18933
|
var init_query_promise = __esm({
|
18929
|
-
"../
|
18934
|
+
"../drizzle-orm/dist/query-promise.js"() {
|
18930
18935
|
"use strict";
|
18931
18936
|
init_entity();
|
18932
18937
|
_b14 = entityKind, _a35 = Symbol.toStringTag;
|
@@ -18957,10 +18962,10 @@ var init_query_promise = __esm({
|
|
18957
18962
|
}
|
18958
18963
|
});
|
18959
18964
|
|
18960
|
-
// ../
|
18965
|
+
// ../drizzle-orm/dist/pg-core/primary-keys.js
|
18961
18966
|
var _a36, PrimaryKeyBuilder, _a37, PrimaryKey;
|
18962
18967
|
var init_primary_keys = __esm({
|
18963
|
-
"../
|
18968
|
+
"../drizzle-orm/dist/pg-core/primary-keys.js"() {
|
18964
18969
|
"use strict";
|
18965
18970
|
init_entity();
|
18966
18971
|
init_table2();
|
@@ -18997,7 +19002,7 @@ var init_primary_keys = __esm({
|
|
18997
19002
|
}
|
18998
19003
|
});
|
18999
19004
|
|
19000
|
-
// ../
|
19005
|
+
// ../drizzle-orm/dist/relations.js
|
19001
19006
|
function getOperators() {
|
19002
19007
|
return {
|
19003
19008
|
and,
|
@@ -19218,7 +19223,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
19218
19223
|
}
|
19219
19224
|
var _a38, Relation, _a39, Relations, _a40, _b15, _One, One, _a41, _b16, _Many, Many;
|
19220
19225
|
var init_relations = __esm({
|
19221
|
-
"../
|
19226
|
+
"../drizzle-orm/dist/relations.js"() {
|
19222
19227
|
"use strict";
|
19223
19228
|
init_table();
|
19224
19229
|
init_column();
|
@@ -19285,7 +19290,7 @@ var init_relations = __esm({
|
|
19285
19290
|
}
|
19286
19291
|
});
|
19287
19292
|
|
19288
|
-
// ../
|
19293
|
+
// ../drizzle-orm/dist/sql/functions/aggregate.js
|
19289
19294
|
function count(expression) {
|
19290
19295
|
return sql`count(${expression || sql.raw("*")})`.mapWith(Number);
|
19291
19296
|
}
|
@@ -19311,7 +19316,7 @@ function min(expression) {
|
|
19311
19316
|
return sql`min(${expression})`.mapWith(is(expression, Column2) ? expression : String);
|
19312
19317
|
}
|
19313
19318
|
var init_aggregate = __esm({
|
19314
|
-
"../
|
19319
|
+
"../drizzle-orm/dist/sql/functions/aggregate.js"() {
|
19315
19320
|
"use strict";
|
19316
19321
|
init_column();
|
19317
19322
|
init_entity();
|
@@ -19319,7 +19324,7 @@ var init_aggregate = __esm({
|
|
19319
19324
|
}
|
19320
19325
|
});
|
19321
19326
|
|
19322
|
-
// ../
|
19327
|
+
// ../drizzle-orm/dist/sql/functions/vector.js
|
19323
19328
|
function toSql(value) {
|
19324
19329
|
return JSON.stringify(value);
|
19325
19330
|
}
|
@@ -19360,24 +19365,24 @@ function jaccardDistance(column4, value) {
|
|
19360
19365
|
return sql`${column4} <%> ${value}`;
|
19361
19366
|
}
|
19362
19367
|
var init_vector = __esm({
|
19363
|
-
"../
|
19368
|
+
"../drizzle-orm/dist/sql/functions/vector.js"() {
|
19364
19369
|
"use strict";
|
19365
19370
|
init_sql();
|
19366
19371
|
}
|
19367
19372
|
});
|
19368
19373
|
|
19369
|
-
// ../
|
19374
|
+
// ../drizzle-orm/dist/sql/functions/index.js
|
19370
19375
|
var init_functions = __esm({
|
19371
|
-
"../
|
19376
|
+
"../drizzle-orm/dist/sql/functions/index.js"() {
|
19372
19377
|
"use strict";
|
19373
19378
|
init_aggregate();
|
19374
19379
|
init_vector();
|
19375
19380
|
}
|
19376
19381
|
});
|
19377
19382
|
|
19378
|
-
// ../
|
19383
|
+
// ../drizzle-orm/dist/sql/index.js
|
19379
19384
|
var init_sql2 = __esm({
|
19380
|
-
"../
|
19385
|
+
"../drizzle-orm/dist/sql/index.js"() {
|
19381
19386
|
"use strict";
|
19382
19387
|
init_expressions();
|
19383
19388
|
init_functions();
|
@@ -19385,7 +19390,7 @@ var init_sql2 = __esm({
|
|
19385
19390
|
}
|
19386
19391
|
});
|
19387
19392
|
|
19388
|
-
// ../
|
19393
|
+
// ../drizzle-orm/dist/utils.js
|
19389
19394
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
19390
19395
|
const nullifyMap = {};
|
19391
19396
|
const result = columns.reduce(
|
@@ -19493,7 +19498,7 @@ function getTableLikeName(table4) {
|
|
19493
19498
|
return is(table4, Subquery) ? table4._.alias : is(table4, View) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : table4[Table2.Symbol.IsAlias] ? table4[Table2.Symbol.Name] : table4[Table2.Symbol.BaseName];
|
19494
19499
|
}
|
19495
19500
|
var init_utils2 = __esm({
|
19496
|
-
"../
|
19501
|
+
"../drizzle-orm/dist/utils.js"() {
|
19497
19502
|
"use strict";
|
19498
19503
|
init_column();
|
19499
19504
|
init_entity();
|
@@ -19504,9 +19509,9 @@ var init_utils2 = __esm({
|
|
19504
19509
|
}
|
19505
19510
|
});
|
19506
19511
|
|
19507
|
-
// ../
|
19508
|
-
var
|
19509
|
-
__export(
|
19512
|
+
// ../drizzle-orm/dist/index.js
|
19513
|
+
var dist_exports = {};
|
19514
|
+
__export(dist_exports, {
|
19510
19515
|
BaseName: () => BaseName,
|
19511
19516
|
Column: () => Column2,
|
19512
19517
|
ColumnAliasProxyHandler: () => ColumnAliasProxyHandler,
|
@@ -19620,8 +19625,8 @@ __export(drizzle_orm_exports, {
|
|
19620
19625
|
sum: () => sum,
|
19621
19626
|
sumDistinct: () => sumDistinct
|
19622
19627
|
});
|
19623
|
-
var
|
19624
|
-
"../
|
19628
|
+
var init_dist = __esm({
|
19629
|
+
"../drizzle-orm/dist/index.js"() {
|
19625
19630
|
"use strict";
|
19626
19631
|
init_alias();
|
19627
19632
|
init_column_builder();
|
@@ -19641,17 +19646,17 @@ var init_drizzle_orm = __esm({
|
|
19641
19646
|
}
|
19642
19647
|
});
|
19643
19648
|
|
19644
|
-
// ../
|
19649
|
+
// ../drizzle-orm/dist/pg-core/alias.js
|
19645
19650
|
var init_alias2 = __esm({
|
19646
|
-
"../
|
19651
|
+
"../drizzle-orm/dist/pg-core/alias.js"() {
|
19647
19652
|
"use strict";
|
19648
19653
|
}
|
19649
19654
|
});
|
19650
19655
|
|
19651
|
-
// ../
|
19656
|
+
// ../drizzle-orm/dist/pg-core/checks.js
|
19652
19657
|
var _a42, CheckBuilder, _a43, Check;
|
19653
19658
|
var init_checks = __esm({
|
19654
|
-
"../
|
19659
|
+
"../drizzle-orm/dist/pg-core/checks.js"() {
|
19655
19660
|
"use strict";
|
19656
19661
|
init_entity();
|
19657
19662
|
_a42 = entityKind;
|
@@ -19681,10 +19686,10 @@ var init_checks = __esm({
|
|
19681
19686
|
}
|
19682
19687
|
});
|
19683
19688
|
|
19684
|
-
// ../
|
19689
|
+
// ../drizzle-orm/dist/pg-core/columns/int.common.js
|
19685
19690
|
var _a44, _b17, PgIntColumnBaseBuilder;
|
19686
19691
|
var init_int_common = __esm({
|
19687
|
-
"../
|
19692
|
+
"../drizzle-orm/dist/pg-core/columns/int.common.js"() {
|
19688
19693
|
"use strict";
|
19689
19694
|
init_entity();
|
19690
19695
|
init_common2();
|
@@ -19728,10 +19733,10 @@ var init_int_common = __esm({
|
|
19728
19733
|
}
|
19729
19734
|
});
|
19730
19735
|
|
19731
|
-
// ../
|
19736
|
+
// ../drizzle-orm/dist/pg-core/columns/bigint.js
|
19732
19737
|
var _a45, _b18, PgBigInt53Builder, _a46, _b19, PgBigInt53, _a47, _b20, PgBigInt64Builder, _a48, _b21, PgBigInt64;
|
19733
19738
|
var init_bigint = __esm({
|
19734
|
-
"../
|
19739
|
+
"../drizzle-orm/dist/pg-core/columns/bigint.js"() {
|
19735
19740
|
"use strict";
|
19736
19741
|
init_entity();
|
19737
19742
|
init_common2();
|
@@ -19784,10 +19789,10 @@ var init_bigint = __esm({
|
|
19784
19789
|
}
|
19785
19790
|
});
|
19786
19791
|
|
19787
|
-
// ../
|
19792
|
+
// ../drizzle-orm/dist/pg-core/columns/bigserial.js
|
19788
19793
|
var _a49, _b22, PgBigSerial53Builder, _a50, _b23, PgBigSerial53, _a51, _b24, PgBigSerial64Builder, _a52, _b25, PgBigSerial64;
|
19789
19794
|
var init_bigserial = __esm({
|
19790
|
-
"../
|
19795
|
+
"../drizzle-orm/dist/pg-core/columns/bigserial.js"() {
|
19791
19796
|
"use strict";
|
19792
19797
|
init_entity();
|
19793
19798
|
init_common2();
|
@@ -19845,10 +19850,10 @@ var init_bigserial = __esm({
|
|
19845
19850
|
}
|
19846
19851
|
});
|
19847
19852
|
|
19848
|
-
// ../
|
19853
|
+
// ../drizzle-orm/dist/pg-core/columns/boolean.js
|
19849
19854
|
var _a53, _b26, PgBooleanBuilder, _a54, _b27, PgBoolean;
|
19850
19855
|
var init_boolean = __esm({
|
19851
|
-
"../
|
19856
|
+
"../drizzle-orm/dist/pg-core/columns/boolean.js"() {
|
19852
19857
|
"use strict";
|
19853
19858
|
init_entity();
|
19854
19859
|
init_common2();
|
@@ -19871,10 +19876,10 @@ var init_boolean = __esm({
|
|
19871
19876
|
}
|
19872
19877
|
});
|
19873
19878
|
|
19874
|
-
// ../
|
19879
|
+
// ../drizzle-orm/dist/pg-core/columns/char.js
|
19875
19880
|
var _a55, _b28, PgCharBuilder, _a56, _b29, PgChar;
|
19876
19881
|
var init_char = __esm({
|
19877
|
-
"../
|
19882
|
+
"../drizzle-orm/dist/pg-core/columns/char.js"() {
|
19878
19883
|
"use strict";
|
19879
19884
|
init_entity();
|
19880
19885
|
init_common2();
|
@@ -19904,10 +19909,10 @@ var init_char = __esm({
|
|
19904
19909
|
}
|
19905
19910
|
});
|
19906
19911
|
|
19907
|
-
// ../
|
19912
|
+
// ../drizzle-orm/dist/pg-core/columns/cidr.js
|
19908
19913
|
var _a57, _b30, PgCidrBuilder, _a58, _b31, PgCidr;
|
19909
19914
|
var init_cidr = __esm({
|
19910
|
-
"../
|
19915
|
+
"../drizzle-orm/dist/pg-core/columns/cidr.js"() {
|
19911
19916
|
"use strict";
|
19912
19917
|
init_entity();
|
19913
19918
|
init_common2();
|
@@ -19930,10 +19935,10 @@ var init_cidr = __esm({
|
|
19930
19935
|
}
|
19931
19936
|
});
|
19932
19937
|
|
19933
|
-
// ../
|
19938
|
+
// ../drizzle-orm/dist/pg-core/columns/custom.js
|
19934
19939
|
var _a59, _b32, PgCustomColumnBuilder, _a60, _b33, PgCustomColumn;
|
19935
19940
|
var init_custom = __esm({
|
19936
|
-
"../
|
19941
|
+
"../drizzle-orm/dist/pg-core/columns/custom.js"() {
|
19937
19942
|
"use strict";
|
19938
19943
|
init_entity();
|
19939
19944
|
init_common2();
|
@@ -19976,10 +19981,10 @@ var init_custom = __esm({
|
|
19976
19981
|
}
|
19977
19982
|
});
|
19978
19983
|
|
19979
|
-
// ../
|
19984
|
+
// ../drizzle-orm/dist/pg-core/columns/date.common.js
|
19980
19985
|
var _a61, _b34, PgDateColumnBaseBuilder;
|
19981
19986
|
var init_date_common = __esm({
|
19982
|
-
"../
|
19987
|
+
"../drizzle-orm/dist/pg-core/columns/date.common.js"() {
|
19983
19988
|
"use strict";
|
19984
19989
|
init_entity();
|
19985
19990
|
init_sql();
|
@@ -19993,10 +19998,10 @@ var init_date_common = __esm({
|
|
19993
19998
|
}
|
19994
19999
|
});
|
19995
20000
|
|
19996
|
-
// ../
|
20001
|
+
// ../drizzle-orm/dist/pg-core/columns/date.js
|
19997
20002
|
var _a62, _b35, PgDateBuilder, _a63, _b36, PgDate, _a64, _b37, PgDateStringBuilder, _a65, _b38, PgDateString;
|
19998
20003
|
var init_date = __esm({
|
19999
|
-
"../
|
20004
|
+
"../drizzle-orm/dist/pg-core/columns/date.js"() {
|
20000
20005
|
"use strict";
|
20001
20006
|
init_entity();
|
20002
20007
|
init_common2();
|
@@ -20045,10 +20050,10 @@ var init_date = __esm({
|
|
20045
20050
|
}
|
20046
20051
|
});
|
20047
20052
|
|
20048
|
-
// ../
|
20053
|
+
// ../drizzle-orm/dist/pg-core/columns/double-precision.js
|
20049
20054
|
var _a66, _b39, PgDoublePrecisionBuilder, _a67, _b40, PgDoublePrecision;
|
20050
20055
|
var init_double_precision = __esm({
|
20051
|
-
"../
|
20056
|
+
"../drizzle-orm/dist/pg-core/columns/double-precision.js"() {
|
20052
20057
|
"use strict";
|
20053
20058
|
init_entity();
|
20054
20059
|
init_common2();
|
@@ -20080,10 +20085,10 @@ var init_double_precision = __esm({
|
|
20080
20085
|
}
|
20081
20086
|
});
|
20082
20087
|
|
20083
|
-
// ../
|
20088
|
+
// ../drizzle-orm/dist/pg-core/columns/inet.js
|
20084
20089
|
var _a68, _b41, PgInetBuilder, _a69, _b42, PgInet;
|
20085
20090
|
var init_inet = __esm({
|
20086
|
-
"../
|
20091
|
+
"../drizzle-orm/dist/pg-core/columns/inet.js"() {
|
20087
20092
|
"use strict";
|
20088
20093
|
init_entity();
|
20089
20094
|
init_common2();
|
@@ -20106,10 +20111,10 @@ var init_inet = __esm({
|
|
20106
20111
|
}
|
20107
20112
|
});
|
20108
20113
|
|
20109
|
-
// ../
|
20114
|
+
// ../drizzle-orm/dist/pg-core/columns/integer.js
|
20110
20115
|
var _a70, _b43, PgIntegerBuilder, _a71, _b44, PgInteger;
|
20111
20116
|
var init_integer = __esm({
|
20112
|
-
"../
|
20117
|
+
"../drizzle-orm/dist/pg-core/columns/integer.js"() {
|
20113
20118
|
"use strict";
|
20114
20119
|
init_entity();
|
20115
20120
|
init_common2();
|
@@ -20139,10 +20144,10 @@ var init_integer = __esm({
|
|
20139
20144
|
}
|
20140
20145
|
});
|
20141
20146
|
|
20142
|
-
// ../
|
20147
|
+
// ../drizzle-orm/dist/pg-core/columns/interval.js
|
20143
20148
|
var _a72, _b45, PgIntervalBuilder, _a73, _b46, PgInterval;
|
20144
20149
|
var init_interval = __esm({
|
20145
|
-
"../
|
20150
|
+
"../drizzle-orm/dist/pg-core/columns/interval.js"() {
|
20146
20151
|
"use strict";
|
20147
20152
|
init_entity();
|
20148
20153
|
init_common2();
|
@@ -20173,10 +20178,10 @@ var init_interval = __esm({
|
|
20173
20178
|
}
|
20174
20179
|
});
|
20175
20180
|
|
20176
|
-
// ../
|
20181
|
+
// ../drizzle-orm/dist/pg-core/columns/json.js
|
20177
20182
|
var _a74, _b47, PgJsonBuilder, _a75, _b48, PgJson;
|
20178
20183
|
var init_json = __esm({
|
20179
|
-
"../
|
20184
|
+
"../drizzle-orm/dist/pg-core/columns/json.js"() {
|
20180
20185
|
"use strict";
|
20181
20186
|
init_entity();
|
20182
20187
|
init_common2();
|
@@ -20215,10 +20220,10 @@ var init_json = __esm({
|
|
20215
20220
|
}
|
20216
20221
|
});
|
20217
20222
|
|
20218
|
-
// ../
|
20223
|
+
// ../drizzle-orm/dist/pg-core/columns/jsonb.js
|
20219
20224
|
var _a76, _b49, PgJsonbBuilder, _a77, _b50, PgJsonb;
|
20220
20225
|
var init_jsonb = __esm({
|
20221
|
-
"../
|
20226
|
+
"../drizzle-orm/dist/pg-core/columns/jsonb.js"() {
|
20222
20227
|
"use strict";
|
20223
20228
|
init_entity();
|
20224
20229
|
init_common2();
|
@@ -20257,10 +20262,10 @@ var init_jsonb = __esm({
|
|
20257
20262
|
}
|
20258
20263
|
});
|
20259
20264
|
|
20260
|
-
// ../
|
20265
|
+
// ../drizzle-orm/dist/pg-core/columns/line.js
|
20261
20266
|
var _a78, _b51, PgLineBuilder, _a79, _b52, PgLineTuple, _a80, _b53, PgLineABCBuilder, _a81, _b54, PgLineABC;
|
20262
20267
|
var init_line = __esm({
|
20263
|
-
"../
|
20268
|
+
"../drizzle-orm/dist/pg-core/columns/line.js"() {
|
20264
20269
|
"use strict";
|
20265
20270
|
init_entity();
|
20266
20271
|
init_common2();
|
@@ -20319,10 +20324,10 @@ var init_line = __esm({
|
|
20319
20324
|
}
|
20320
20325
|
});
|
20321
20326
|
|
20322
|
-
// ../
|
20327
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr.js
|
20323
20328
|
var _a82, _b55, PgMacaddrBuilder, _a83, _b56, PgMacaddr;
|
20324
20329
|
var init_macaddr = __esm({
|
20325
|
-
"../
|
20330
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr.js"() {
|
20326
20331
|
"use strict";
|
20327
20332
|
init_entity();
|
20328
20333
|
init_common2();
|
@@ -20345,10 +20350,10 @@ var init_macaddr = __esm({
|
|
20345
20350
|
}
|
20346
20351
|
});
|
20347
20352
|
|
20348
|
-
// ../
|
20353
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr8.js
|
20349
20354
|
var _a84, _b57, PgMacaddr8Builder, _a85, _b58, PgMacaddr8;
|
20350
20355
|
var init_macaddr8 = __esm({
|
20351
|
-
"../
|
20356
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr8.js"() {
|
20352
20357
|
"use strict";
|
20353
20358
|
init_entity();
|
20354
20359
|
init_common2();
|
@@ -20371,10 +20376,10 @@ var init_macaddr8 = __esm({
|
|
20371
20376
|
}
|
20372
20377
|
});
|
20373
20378
|
|
20374
|
-
// ../
|
20379
|
+
// ../drizzle-orm/dist/pg-core/columns/numeric.js
|
20375
20380
|
var _a86, _b59, PgNumericBuilder, _a87, _b60, PgNumeric;
|
20376
20381
|
var init_numeric = __esm({
|
20377
|
-
"../
|
20382
|
+
"../drizzle-orm/dist/pg-core/columns/numeric.js"() {
|
20378
20383
|
"use strict";
|
20379
20384
|
init_entity();
|
20380
20385
|
init_common2();
|
@@ -20412,10 +20417,10 @@ var init_numeric = __esm({
|
|
20412
20417
|
}
|
20413
20418
|
});
|
20414
20419
|
|
20415
|
-
// ../
|
20420
|
+
// ../drizzle-orm/dist/pg-core/columns/point.js
|
20416
20421
|
var _a88, _b61, PgPointTupleBuilder, _a89, _b62, PgPointTuple, _a90, _b63, PgPointObjectBuilder, _a91, _b64, PgPointObject;
|
20417
20422
|
var init_point = __esm({
|
20418
|
-
"../
|
20423
|
+
"../drizzle-orm/dist/pg-core/columns/point.js"() {
|
20419
20424
|
"use strict";
|
20420
20425
|
init_entity();
|
20421
20426
|
init_common2();
|
@@ -20480,7 +20485,7 @@ var init_point = __esm({
|
|
20480
20485
|
}
|
20481
20486
|
});
|
20482
20487
|
|
20483
|
-
// ../
|
20488
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js
|
20484
20489
|
function hexToBytes(hex) {
|
20485
20490
|
const bytes = [];
|
20486
20491
|
for (let c = 0; c < hex.length; c += 2) {
|
@@ -20519,15 +20524,15 @@ function parseEWKB(hex) {
|
|
20519
20524
|
throw new Error("Unsupported geometry type");
|
20520
20525
|
}
|
20521
20526
|
var init_utils3 = __esm({
|
20522
|
-
"../
|
20527
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js"() {
|
20523
20528
|
"use strict";
|
20524
20529
|
}
|
20525
20530
|
});
|
20526
20531
|
|
20527
|
-
// ../
|
20532
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js
|
20528
20533
|
var _a92, _b65, PgGeometryBuilder, _a93, _b66, PgGeometry, _a94, _b67, PgGeometryObjectBuilder, _a95, _b68, PgGeometryObject;
|
20529
20534
|
var init_geometry = __esm({
|
20530
|
-
"../
|
20535
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js"() {
|
20531
20536
|
"use strict";
|
20532
20537
|
init_entity();
|
20533
20538
|
init_common2();
|
@@ -20586,10 +20591,10 @@ var init_geometry = __esm({
|
|
20586
20591
|
}
|
20587
20592
|
});
|
20588
20593
|
|
20589
|
-
// ../
|
20594
|
+
// ../drizzle-orm/dist/pg-core/columns/real.js
|
20590
20595
|
var _a96, _b69, PgRealBuilder, _a97, _b70, PgReal;
|
20591
20596
|
var init_real = __esm({
|
20592
|
-
"../
|
20597
|
+
"../drizzle-orm/dist/pg-core/columns/real.js"() {
|
20593
20598
|
"use strict";
|
20594
20599
|
init_entity();
|
20595
20600
|
init_common2();
|
@@ -20622,10 +20627,10 @@ var init_real = __esm({
|
|
20622
20627
|
}
|
20623
20628
|
});
|
20624
20629
|
|
20625
|
-
// ../
|
20630
|
+
// ../drizzle-orm/dist/pg-core/columns/serial.js
|
20626
20631
|
var _a98, _b71, PgSerialBuilder, _a99, _b72, PgSerial;
|
20627
20632
|
var init_serial = __esm({
|
20628
|
-
"../
|
20633
|
+
"../drizzle-orm/dist/pg-core/columns/serial.js"() {
|
20629
20634
|
"use strict";
|
20630
20635
|
init_entity();
|
20631
20636
|
init_common2();
|
@@ -20650,10 +20655,10 @@ var init_serial = __esm({
|
|
20650
20655
|
}
|
20651
20656
|
});
|
20652
20657
|
|
20653
|
-
// ../
|
20658
|
+
// ../drizzle-orm/dist/pg-core/columns/smallint.js
|
20654
20659
|
var _a100, _b73, PgSmallIntBuilder, _a101, _b74, PgSmallInt;
|
20655
20660
|
var init_smallint = __esm({
|
20656
|
-
"../
|
20661
|
+
"../drizzle-orm/dist/pg-core/columns/smallint.js"() {
|
20657
20662
|
"use strict";
|
20658
20663
|
init_entity();
|
20659
20664
|
init_common2();
|
@@ -20686,10 +20691,10 @@ var init_smallint = __esm({
|
|
20686
20691
|
}
|
20687
20692
|
});
|
20688
20693
|
|
20689
|
-
// ../
|
20694
|
+
// ../drizzle-orm/dist/pg-core/columns/smallserial.js
|
20690
20695
|
var _a102, _b75, PgSmallSerialBuilder, _a103, _b76, PgSmallSerial;
|
20691
20696
|
var init_smallserial = __esm({
|
20692
|
-
"../
|
20697
|
+
"../drizzle-orm/dist/pg-core/columns/smallserial.js"() {
|
20693
20698
|
"use strict";
|
20694
20699
|
init_entity();
|
20695
20700
|
init_common2();
|
@@ -20717,10 +20722,10 @@ var init_smallserial = __esm({
|
|
20717
20722
|
}
|
20718
20723
|
});
|
20719
20724
|
|
20720
|
-
// ../
|
20725
|
+
// ../drizzle-orm/dist/pg-core/columns/text.js
|
20721
20726
|
var _a104, _b77, PgTextBuilder, _a105, _b78, PgText;
|
20722
20727
|
var init_text = __esm({
|
20723
|
-
"../
|
20728
|
+
"../drizzle-orm/dist/pg-core/columns/text.js"() {
|
20724
20729
|
"use strict";
|
20725
20730
|
init_entity();
|
20726
20731
|
init_common2();
|
@@ -20748,10 +20753,10 @@ var init_text = __esm({
|
|
20748
20753
|
}
|
20749
20754
|
});
|
20750
20755
|
|
20751
|
-
// ../
|
20756
|
+
// ../drizzle-orm/dist/pg-core/columns/time.js
|
20752
20757
|
var _a106, _b79, PgTimeBuilder, _a107, _b80, PgTime;
|
20753
20758
|
var init_time = __esm({
|
20754
|
-
"../
|
20759
|
+
"../drizzle-orm/dist/pg-core/columns/time.js"() {
|
20755
20760
|
"use strict";
|
20756
20761
|
init_entity();
|
20757
20762
|
init_common2();
|
@@ -20787,10 +20792,10 @@ var init_time = __esm({
|
|
20787
20792
|
}
|
20788
20793
|
});
|
20789
20794
|
|
20790
|
-
// ../
|
20795
|
+
// ../drizzle-orm/dist/pg-core/columns/timestamp.js
|
20791
20796
|
var _a108, _b81, PgTimestampBuilder, _a109, _b82, PgTimestamp, _a110, _b83, PgTimestampStringBuilder, _a111, _b84, PgTimestampString;
|
20792
20797
|
var init_timestamp = __esm({
|
20793
|
-
"../
|
20798
|
+
"../drizzle-orm/dist/pg-core/columns/timestamp.js"() {
|
20794
20799
|
"use strict";
|
20795
20800
|
init_entity();
|
20796
20801
|
init_common2();
|
@@ -20859,10 +20864,10 @@ var init_timestamp = __esm({
|
|
20859
20864
|
}
|
20860
20865
|
});
|
20861
20866
|
|
20862
|
-
// ../
|
20867
|
+
// ../drizzle-orm/dist/pg-core/columns/uuid.js
|
20863
20868
|
var _a112, _b85, PgUUIDBuilder, _a113, _b86, PgUUID;
|
20864
20869
|
var init_uuid = __esm({
|
20865
|
-
"../
|
20870
|
+
"../drizzle-orm/dist/pg-core/columns/uuid.js"() {
|
20866
20871
|
"use strict";
|
20867
20872
|
init_entity();
|
20868
20873
|
init_sql();
|
@@ -20892,10 +20897,10 @@ var init_uuid = __esm({
|
|
20892
20897
|
}
|
20893
20898
|
});
|
20894
20899
|
|
20895
|
-
// ../
|
20900
|
+
// ../drizzle-orm/dist/pg-core/columns/varchar.js
|
20896
20901
|
var _a114, _b87, PgVarcharBuilder, _a115, _b88, PgVarchar;
|
20897
20902
|
var init_varchar = __esm({
|
20898
|
-
"../
|
20903
|
+
"../drizzle-orm/dist/pg-core/columns/varchar.js"() {
|
20899
20904
|
"use strict";
|
20900
20905
|
init_entity();
|
20901
20906
|
init_common2();
|
@@ -20925,10 +20930,10 @@ var init_varchar = __esm({
|
|
20925
20930
|
}
|
20926
20931
|
});
|
20927
20932
|
|
20928
|
-
// ../
|
20933
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js
|
20929
20934
|
var _a116, _b89, PgBinaryVectorBuilder, _a117, _b90, PgBinaryVector;
|
20930
20935
|
var init_bit = __esm({
|
20931
|
-
"../
|
20936
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js"() {
|
20932
20937
|
"use strict";
|
20933
20938
|
init_entity();
|
20934
20939
|
init_common2();
|
@@ -20959,10 +20964,10 @@ var init_bit = __esm({
|
|
20959
20964
|
}
|
20960
20965
|
});
|
20961
20966
|
|
20962
|
-
// ../
|
20967
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js
|
20963
20968
|
var _a118, _b91, PgHalfVectorBuilder, _a119, _b92, PgHalfVector;
|
20964
20969
|
var init_halfvec = __esm({
|
20965
|
-
"../
|
20970
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js"() {
|
20966
20971
|
"use strict";
|
20967
20972
|
init_entity();
|
20968
20973
|
init_common2();
|
@@ -20999,10 +21004,10 @@ var init_halfvec = __esm({
|
|
20999
21004
|
}
|
21000
21005
|
});
|
21001
21006
|
|
21002
|
-
// ../
|
21007
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js
|
21003
21008
|
var _a120, _b93, PgSparseVectorBuilder, _a121, _b94, PgSparseVector;
|
21004
21009
|
var init_sparsevec = __esm({
|
21005
|
-
"../
|
21010
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js"() {
|
21006
21011
|
"use strict";
|
21007
21012
|
init_entity();
|
21008
21013
|
init_common2();
|
@@ -21033,10 +21038,10 @@ var init_sparsevec = __esm({
|
|
21033
21038
|
}
|
21034
21039
|
});
|
21035
21040
|
|
21036
|
-
// ../
|
21041
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js
|
21037
21042
|
var _a122, _b95, PgVectorBuilder, _a123, _b96, PgVector;
|
21038
21043
|
var init_vector2 = __esm({
|
21039
|
-
"../
|
21044
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js"() {
|
21040
21045
|
"use strict";
|
21041
21046
|
init_entity();
|
21042
21047
|
init_common2();
|
@@ -21070,9 +21075,9 @@ var init_vector2 = __esm({
|
|
21070
21075
|
}
|
21071
21076
|
});
|
21072
21077
|
|
21073
|
-
// ../
|
21078
|
+
// ../drizzle-orm/dist/pg-core/columns/index.js
|
21074
21079
|
var init_columns = __esm({
|
21075
|
-
"../
|
21080
|
+
"../drizzle-orm/dist/pg-core/columns/index.js"() {
|
21076
21081
|
"use strict";
|
21077
21082
|
init_bigint();
|
21078
21083
|
init_bigserial();
|
@@ -21111,10 +21116,10 @@ var init_columns = __esm({
|
|
21111
21116
|
}
|
21112
21117
|
});
|
21113
21118
|
|
21114
|
-
// ../
|
21119
|
+
// ../drizzle-orm/dist/pg-core/query-builders/delete.js
|
21115
21120
|
var _a124, _b97, PgDeleteBase;
|
21116
21121
|
var init_delete = __esm({
|
21117
|
-
"../
|
21122
|
+
"../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
|
21118
21123
|
"use strict";
|
21119
21124
|
init_entity();
|
21120
21125
|
init_query_promise();
|
@@ -21196,10 +21201,10 @@ var init_delete = __esm({
|
|
21196
21201
|
}
|
21197
21202
|
});
|
21198
21203
|
|
21199
|
-
// ../
|
21204
|
+
// ../drizzle-orm/dist/pg-core/query-builders/insert.js
|
21200
21205
|
var _a125, PgInsertBuilder, _a126, _b98, PgInsertBase;
|
21201
21206
|
var init_insert = __esm({
|
21202
|
-
"../
|
21207
|
+
"../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
|
21203
21208
|
"use strict";
|
21204
21209
|
init_entity();
|
21205
21210
|
init_query_promise();
|
@@ -21352,10 +21357,10 @@ var init_insert = __esm({
|
|
21352
21357
|
}
|
21353
21358
|
});
|
21354
21359
|
|
21355
|
-
// ../
|
21360
|
+
// ../drizzle-orm/dist/pg-core/view-base.js
|
21356
21361
|
var _a127, _b99, PgViewBase;
|
21357
21362
|
var init_view_base = __esm({
|
21358
|
-
"../
|
21363
|
+
"../drizzle-orm/dist/pg-core/view-base.js"() {
|
21359
21364
|
"use strict";
|
21360
21365
|
init_entity();
|
21361
21366
|
init_sql();
|
@@ -21365,10 +21370,10 @@ var init_view_base = __esm({
|
|
21365
21370
|
}
|
21366
21371
|
});
|
21367
21372
|
|
21368
|
-
// ../
|
21373
|
+
// ../drizzle-orm/dist/pg-core/dialect.js
|
21369
21374
|
var _a128, PgDialect;
|
21370
21375
|
var init_dialect = __esm({
|
21371
|
-
"../
|
21376
|
+
"../drizzle-orm/dist/pg-core/dialect.js"() {
|
21372
21377
|
"use strict";
|
21373
21378
|
init_alias();
|
21374
21379
|
init_column();
|
@@ -22448,10 +22453,10 @@ var init_dialect = __esm({
|
|
22448
22453
|
}
|
22449
22454
|
});
|
22450
22455
|
|
22451
|
-
// ../
|
22456
|
+
// ../drizzle-orm/dist/selection-proxy.js
|
22452
22457
|
var _a129, _SelectionProxyHandler, SelectionProxyHandler;
|
22453
22458
|
var init_selection_proxy = __esm({
|
22454
|
-
"../
|
22459
|
+
"../drizzle-orm/dist/selection-proxy.js"() {
|
22455
22460
|
"use strict";
|
22456
22461
|
init_alias();
|
22457
22462
|
init_column();
|
@@ -22530,10 +22535,10 @@ var init_selection_proxy = __esm({
|
|
22530
22535
|
}
|
22531
22536
|
});
|
22532
22537
|
|
22533
|
-
// ../
|
22538
|
+
// ../drizzle-orm/dist/query-builders/query-builder.js
|
22534
22539
|
var _a130, TypedQueryBuilder;
|
22535
22540
|
var init_query_builder = __esm({
|
22536
|
-
"../
|
22541
|
+
"../drizzle-orm/dist/query-builders/query-builder.js"() {
|
22537
22542
|
"use strict";
|
22538
22543
|
init_entity();
|
22539
22544
|
_a130 = entityKind;
|
@@ -22547,7 +22552,7 @@ var init_query_builder = __esm({
|
|
22547
22552
|
}
|
22548
22553
|
});
|
22549
22554
|
|
22550
|
-
// ../
|
22555
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.js
|
22551
22556
|
function createSetOperator(type, isAll) {
|
22552
22557
|
return (leftSelect, rightSelect, ...restSelects) => {
|
22553
22558
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -22567,7 +22572,7 @@ function createSetOperator(type, isAll) {
|
|
22567
22572
|
}
|
22568
22573
|
var _a131, PgSelectBuilder, _a132, _b100, PgSelectQueryBuilderBase, _a133, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
|
22569
22574
|
var init_select2 = __esm({
|
22570
|
-
"../
|
22575
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.js"() {
|
22571
22576
|
"use strict";
|
22572
22577
|
init_entity();
|
22573
22578
|
init_view_base();
|
@@ -23284,10 +23289,10 @@ var init_select2 = __esm({
|
|
23284
23289
|
}
|
23285
23290
|
});
|
23286
23291
|
|
23287
|
-
// ../
|
23292
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
|
23288
23293
|
var _a134, QueryBuilder;
|
23289
23294
|
var init_query_builder2 = __esm({
|
23290
|
-
"../
|
23295
|
+
"../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
|
23291
23296
|
"use strict";
|
23292
23297
|
init_entity();
|
23293
23298
|
init_dialect();
|
@@ -23376,10 +23381,10 @@ var init_query_builder2 = __esm({
|
|
23376
23381
|
}
|
23377
23382
|
});
|
23378
23383
|
|
23379
|
-
// ../
|
23384
|
+
// ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
|
23380
23385
|
var _a135, _b102, PgRefreshMaterializedView;
|
23381
23386
|
var init_refresh_materialized_view = __esm({
|
23382
|
-
"../
|
23387
|
+
"../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
|
23383
23388
|
"use strict";
|
23384
23389
|
init_entity();
|
23385
23390
|
init_query_promise();
|
@@ -23433,17 +23438,17 @@ var init_refresh_materialized_view = __esm({
|
|
23433
23438
|
}
|
23434
23439
|
});
|
23435
23440
|
|
23436
|
-
// ../
|
23441
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.types.js
|
23437
23442
|
var init_select_types = __esm({
|
23438
|
-
"../
|
23443
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.types.js"() {
|
23439
23444
|
"use strict";
|
23440
23445
|
}
|
23441
23446
|
});
|
23442
23447
|
|
23443
|
-
// ../
|
23448
|
+
// ../drizzle-orm/dist/pg-core/query-builders/update.js
|
23444
23449
|
var _a136, PgUpdateBuilder, _a137, _b103, PgUpdateBase;
|
23445
23450
|
var init_update = __esm({
|
23446
|
-
"../
|
23451
|
+
"../drizzle-orm/dist/pg-core/query-builders/update.js"() {
|
23447
23452
|
"use strict";
|
23448
23453
|
init_entity();
|
23449
23454
|
init_query_promise();
|
@@ -23543,9 +23548,9 @@ var init_update = __esm({
|
|
23543
23548
|
}
|
23544
23549
|
});
|
23545
23550
|
|
23546
|
-
// ../
|
23551
|
+
// ../drizzle-orm/dist/pg-core/query-builders/index.js
|
23547
23552
|
var init_query_builders = __esm({
|
23548
|
-
"../
|
23553
|
+
"../drizzle-orm/dist/pg-core/query-builders/index.js"() {
|
23549
23554
|
"use strict";
|
23550
23555
|
init_delete();
|
23551
23556
|
init_insert();
|
@@ -23557,10 +23562,10 @@ var init_query_builders = __esm({
|
|
23557
23562
|
}
|
23558
23563
|
});
|
23559
23564
|
|
23560
|
-
// ../
|
23565
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query.js
|
23561
23566
|
var _a138, RelationalQueryBuilder, _a139, _b104, PgRelationalQuery;
|
23562
23567
|
var init_query = __esm({
|
23563
|
-
"../
|
23568
|
+
"../drizzle-orm/dist/pg-core/query-builders/query.js"() {
|
23564
23569
|
"use strict";
|
23565
23570
|
init_entity();
|
23566
23571
|
init_query_promise();
|
@@ -23675,10 +23680,10 @@ var init_query = __esm({
|
|
23675
23680
|
}
|
23676
23681
|
});
|
23677
23682
|
|
23678
|
-
// ../
|
23683
|
+
// ../drizzle-orm/dist/pg-core/query-builders/raw.js
|
23679
23684
|
var _a140, _b105, PgRaw;
|
23680
23685
|
var init_raw = __esm({
|
23681
|
-
"../
|
23686
|
+
"../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
|
23682
23687
|
"use strict";
|
23683
23688
|
init_entity();
|
23684
23689
|
init_query_promise();
|
@@ -23712,10 +23717,10 @@ var init_raw = __esm({
|
|
23712
23717
|
}
|
23713
23718
|
});
|
23714
23719
|
|
23715
|
-
// ../
|
23720
|
+
// ../drizzle-orm/dist/pg-core/db.js
|
23716
23721
|
var _a141, PgDatabase;
|
23717
23722
|
var init_db = __esm({
|
23718
|
-
"../
|
23723
|
+
"../drizzle-orm/dist/pg-core/db.js"() {
|
23719
23724
|
"use strict";
|
23720
23725
|
init_entity();
|
23721
23726
|
init_query_builders();
|
@@ -23993,10 +23998,10 @@ var init_db = __esm({
|
|
23993
23998
|
}
|
23994
23999
|
});
|
23995
24000
|
|
23996
|
-
// ../
|
24001
|
+
// ../drizzle-orm/dist/pg-core/indexes.js
|
23997
24002
|
var _a142, IndexBuilderOn, _a143, IndexBuilder, _a144, Index2;
|
23998
24003
|
var init_indexes = __esm({
|
23999
|
-
"../
|
24004
|
+
"../drizzle-orm/dist/pg-core/indexes.js"() {
|
24000
24005
|
"use strict";
|
24001
24006
|
init_sql();
|
24002
24007
|
init_entity();
|
@@ -24111,7 +24116,7 @@ var init_indexes = __esm({
|
|
24111
24116
|
}
|
24112
24117
|
});
|
24113
24118
|
|
24114
|
-
// ../
|
24119
|
+
// ../drizzle-orm/dist/pg-core/sequence.js
|
24115
24120
|
function pgSequenceWithSchema(name2, options, schema4) {
|
24116
24121
|
return new PgSequence(name2, options, schema4);
|
24117
24122
|
}
|
@@ -24120,7 +24125,7 @@ function isPgSequence(obj) {
|
|
24120
24125
|
}
|
24121
24126
|
var _a145, PgSequence;
|
24122
24127
|
var init_sequence = __esm({
|
24123
|
-
"../
|
24128
|
+
"../drizzle-orm/dist/pg-core/sequence.js"() {
|
24124
24129
|
"use strict";
|
24125
24130
|
init_entity();
|
24126
24131
|
_a145 = entityKind;
|
@@ -24135,16 +24140,16 @@ var init_sequence = __esm({
|
|
24135
24140
|
}
|
24136
24141
|
});
|
24137
24142
|
|
24138
|
-
// ../
|
24143
|
+
// ../drizzle-orm/dist/pg-core/view-common.js
|
24139
24144
|
var PgViewConfig;
|
24140
24145
|
var init_view_common2 = __esm({
|
24141
|
-
"../
|
24146
|
+
"../drizzle-orm/dist/pg-core/view-common.js"() {
|
24142
24147
|
"use strict";
|
24143
24148
|
PgViewConfig = Symbol.for("drizzle:PgViewConfig");
|
24144
24149
|
}
|
24145
24150
|
});
|
24146
24151
|
|
24147
|
-
// ../
|
24152
|
+
// ../drizzle-orm/dist/pg-core/view.js
|
24148
24153
|
function pgViewWithSchema(name2, selection, schema4) {
|
24149
24154
|
if (selection) {
|
24150
24155
|
return new ManualViewBuilder(name2, selection, schema4);
|
@@ -24159,7 +24164,7 @@ function pgMaterializedViewWithSchema(name2, selection, schema4) {
|
|
24159
24164
|
}
|
24160
24165
|
var _a146, DefaultViewBuilderCore, _a147, _b106, ViewBuilder, _a148, _b107, ManualViewBuilder, _a149, MaterializedViewBuilderCore, _a150, _b108, MaterializedViewBuilder, _a151, _b109, ManualMaterializedViewBuilder, _a152, _b110, _c3, PgView, PgMaterializedViewConfig, _a153, _b111, _c4, PgMaterializedView;
|
24161
24166
|
var init_view = __esm({
|
24162
|
-
"../
|
24167
|
+
"../drizzle-orm/dist/pg-core/view.js"() {
|
24163
24168
|
"use strict";
|
24164
24169
|
init_entity();
|
24165
24170
|
init_selection_proxy();
|
@@ -24386,10 +24391,10 @@ var init_view = __esm({
|
|
24386
24391
|
}
|
24387
24392
|
});
|
24388
24393
|
|
24389
|
-
// ../
|
24394
|
+
// ../drizzle-orm/dist/pg-core/schema.js
|
24390
24395
|
var _a154, PgSchema5;
|
24391
24396
|
var init_schema = __esm({
|
24392
|
-
"../
|
24397
|
+
"../drizzle-orm/dist/pg-core/schema.js"() {
|
24393
24398
|
"use strict";
|
24394
24399
|
init_entity();
|
24395
24400
|
init_sql();
|
@@ -24428,10 +24433,10 @@ var init_schema = __esm({
|
|
24428
24433
|
}
|
24429
24434
|
});
|
24430
24435
|
|
24431
|
-
// ../
|
24436
|
+
// ../drizzle-orm/dist/pg-core/session.js
|
24432
24437
|
var _a155, PgPreparedQuery, _a156, PgSession, _a157, _b112, PgTransaction;
|
24433
24438
|
var init_session = __esm({
|
24434
|
-
"../
|
24439
|
+
"../drizzle-orm/dist/pg-core/session.js"() {
|
24435
24440
|
"use strict";
|
24436
24441
|
init_entity();
|
24437
24442
|
init_errors();
|
@@ -24512,14 +24517,14 @@ var init_session = __esm({
|
|
24512
24517
|
}
|
24513
24518
|
});
|
24514
24519
|
|
24515
|
-
// ../
|
24520
|
+
// ../drizzle-orm/dist/pg-core/subquery.js
|
24516
24521
|
var init_subquery2 = __esm({
|
24517
|
-
"../
|
24522
|
+
"../drizzle-orm/dist/pg-core/subquery.js"() {
|
24518
24523
|
"use strict";
|
24519
24524
|
}
|
24520
24525
|
});
|
24521
24526
|
|
24522
|
-
// ../
|
24527
|
+
// ../drizzle-orm/dist/pg-core/utils.js
|
24523
24528
|
function getTableConfig(table4) {
|
24524
24529
|
const columns = Object.values(table4[Table2.Symbol.Columns]);
|
24525
24530
|
const indexes = [];
|
@@ -24558,7 +24563,7 @@ function getTableConfig(table4) {
|
|
24558
24563
|
};
|
24559
24564
|
}
|
24560
24565
|
var init_utils4 = __esm({
|
24561
|
-
"../
|
24566
|
+
"../drizzle-orm/dist/pg-core/utils.js"() {
|
24562
24567
|
"use strict";
|
24563
24568
|
init_entity();
|
24564
24569
|
init_table2();
|
@@ -24571,17 +24576,17 @@ var init_utils4 = __esm({
|
|
24571
24576
|
}
|
24572
24577
|
});
|
24573
24578
|
|
24574
|
-
// ../
|
24579
|
+
// ../drizzle-orm/dist/pg-core/utils/index.js
|
24575
24580
|
var init_utils5 = __esm({
|
24576
|
-
"../
|
24581
|
+
"../drizzle-orm/dist/pg-core/utils/index.js"() {
|
24577
24582
|
"use strict";
|
24578
24583
|
init_array();
|
24579
24584
|
}
|
24580
24585
|
});
|
24581
24586
|
|
24582
|
-
// ../
|
24587
|
+
// ../drizzle-orm/dist/pg-core/index.js
|
24583
24588
|
var init_pg_core = __esm({
|
24584
|
-
"../
|
24589
|
+
"../drizzle-orm/dist/pg-core/index.js"() {
|
24585
24590
|
"use strict";
|
24586
24591
|
init_alias2();
|
24587
24592
|
init_checks();
|
@@ -24636,16 +24641,41 @@ function minRangeForIdentityBasedOn(columnType) {
|
|
24636
24641
|
function stringFromDatabaseIdentityProperty(field) {
|
24637
24642
|
return typeof field === "string" ? field : typeof field === "undefined" ? void 0 : typeof field === "bigint" ? field.toString() : String(field);
|
24638
24643
|
}
|
24644
|
+
function buildArrayString(array, sqlType) {
|
24645
|
+
sqlType = sqlType.split("[")[0];
|
24646
|
+
const values = array.map((value) => {
|
24647
|
+
if (typeof value === "number" || typeof value === "bigint") {
|
24648
|
+
return value.toString();
|
24649
|
+
} else if (typeof value === "boolean") {
|
24650
|
+
return value ? "true" : "false";
|
24651
|
+
} else if (Array.isArray(value)) {
|
24652
|
+
return buildArrayString(value, sqlType);
|
24653
|
+
} else if (value instanceof Date) {
|
24654
|
+
if (sqlType === "date") {
|
24655
|
+
return `"${value.toISOString().split("T")[0]}"`;
|
24656
|
+
} else if (sqlType === "timestamp") {
|
24657
|
+
return `"${value.toISOString().replace("T", " ").slice(0, 23)}"`;
|
24658
|
+
} else {
|
24659
|
+
return `"${value.toISOString()}"`;
|
24660
|
+
}
|
24661
|
+
} else if (typeof value === "object") {
|
24662
|
+
return `"${JSON.stringify(value).replaceAll('"', '\\"')}"`;
|
24663
|
+
}
|
24664
|
+
return `"${value}"`;
|
24665
|
+
}).join(",");
|
24666
|
+
return `{${values}}`;
|
24667
|
+
}
|
24639
24668
|
var dialect4, indexName, generatePgSnapshot, trimChar, fromDatabase, columnToDefault, defaultForColumn;
|
24640
24669
|
var init_pgSerializer = __esm({
|
24641
24670
|
"src/serializer/pgSerializer.ts"() {
|
24642
24671
|
"use strict";
|
24643
24672
|
init_source();
|
24644
|
-
|
24673
|
+
init_dist();
|
24645
24674
|
init_pg_core();
|
24646
24675
|
init_pg_core();
|
24647
24676
|
init_vector3();
|
24648
24677
|
init_outputs();
|
24678
|
+
init_utils();
|
24649
24679
|
init_serializer();
|
24650
24680
|
dialect4 = new PgDialect();
|
24651
24681
|
indexName = (tableName, columns) => {
|
@@ -24752,6 +24782,11 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
|
|
24752
24782
|
} else {
|
24753
24783
|
columnToSet.default = `'${column4.default.toISOString()}'`;
|
24754
24784
|
}
|
24785
|
+
} else if (isPgArrayType(sqlTypeLowered) && Array.isArray(column4.default)) {
|
24786
|
+
columnToSet.default = `'${buildArrayString(
|
24787
|
+
column4.default,
|
24788
|
+
sqlTypeLowered
|
24789
|
+
)}'::${sqlTypeLowered}`;
|
24755
24790
|
} else {
|
24756
24791
|
columnToSet.default = column4.default;
|
24757
24792
|
}
|
@@ -25550,17 +25585,17 @@ var init_selector_ui = __esm({
|
|
25550
25585
|
}
|
25551
25586
|
});
|
25552
25587
|
|
25553
|
-
// ../
|
25588
|
+
// ../drizzle-orm/dist/sqlite-core/alias.js
|
25554
25589
|
var init_alias3 = __esm({
|
25555
|
-
"../
|
25590
|
+
"../drizzle-orm/dist/sqlite-core/alias.js"() {
|
25556
25591
|
"use strict";
|
25557
25592
|
}
|
25558
25593
|
});
|
25559
25594
|
|
25560
|
-
// ../
|
25595
|
+
// ../drizzle-orm/dist/sqlite-core/checks.js
|
25561
25596
|
var _a158, CheckBuilder2, _a159, Check2;
|
25562
25597
|
var init_checks2 = __esm({
|
25563
|
-
"../
|
25598
|
+
"../drizzle-orm/dist/sqlite-core/checks.js"() {
|
25564
25599
|
"use strict";
|
25565
25600
|
init_entity();
|
25566
25601
|
_a158 = entityKind;
|
@@ -25589,7 +25624,7 @@ var init_checks2 = __esm({
|
|
25589
25624
|
}
|
25590
25625
|
});
|
25591
25626
|
|
25592
|
-
// ../
|
25627
|
+
// ../drizzle-orm/dist/sqlite-core/table.js
|
25593
25628
|
function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2) {
|
25594
25629
|
const rawTable = new SQLiteTable(name2, schema4, baseName);
|
25595
25630
|
const builtColumns = Object.fromEntries(
|
@@ -25610,7 +25645,7 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
|
|
25610
25645
|
}
|
25611
25646
|
var InlineForeignKeys2, _a160, _b113, _c5, _d3, _e2, SQLiteTable, sqliteTable;
|
25612
25647
|
var init_table3 = __esm({
|
25613
|
-
"../
|
25648
|
+
"../drizzle-orm/dist/sqlite-core/table.js"() {
|
25614
25649
|
"use strict";
|
25615
25650
|
init_entity();
|
25616
25651
|
init_table();
|
@@ -25637,10 +25672,10 @@ var init_table3 = __esm({
|
|
25637
25672
|
}
|
25638
25673
|
});
|
25639
25674
|
|
25640
|
-
// ../
|
25675
|
+
// ../drizzle-orm/dist/sqlite-core/foreign-keys.js
|
25641
25676
|
var _a161, ForeignKeyBuilder2, _a162, ForeignKey2;
|
25642
25677
|
var init_foreign_keys2 = __esm({
|
25643
|
-
"../
|
25678
|
+
"../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
|
25644
25679
|
"use strict";
|
25645
25680
|
init_entity();
|
25646
25681
|
init_table3();
|
@@ -25704,13 +25739,13 @@ var init_foreign_keys2 = __esm({
|
|
25704
25739
|
}
|
25705
25740
|
});
|
25706
25741
|
|
25707
|
-
// ../
|
25742
|
+
// ../drizzle-orm/dist/sqlite-core/unique-constraint.js
|
25708
25743
|
function uniqueKeyName2(table4, columns) {
|
25709
25744
|
return `${table4[SQLiteTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
25710
25745
|
}
|
25711
25746
|
var _a163, UniqueConstraintBuilder2, _a164, UniqueOnConstraintBuilder2, _a165, UniqueConstraint2;
|
25712
25747
|
var init_unique_constraint2 = __esm({
|
25713
|
-
"../
|
25748
|
+
"../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
|
25714
25749
|
"use strict";
|
25715
25750
|
init_entity();
|
25716
25751
|
init_table3();
|
@@ -25757,10 +25792,10 @@ var init_unique_constraint2 = __esm({
|
|
25757
25792
|
}
|
25758
25793
|
});
|
25759
25794
|
|
25760
|
-
// ../
|
25795
|
+
// ../drizzle-orm/dist/sqlite-core/columns/common.js
|
25761
25796
|
var _a166, _b114, SQLiteColumnBuilder, _a167, _b115, SQLiteColumn;
|
25762
25797
|
var init_common3 = __esm({
|
25763
|
-
"../
|
25798
|
+
"../drizzle-orm/dist/sqlite-core/columns/common.js"() {
|
25764
25799
|
"use strict";
|
25765
25800
|
init_column_builder();
|
25766
25801
|
init_column();
|
@@ -25822,10 +25857,10 @@ var init_common3 = __esm({
|
|
25822
25857
|
}
|
25823
25858
|
});
|
25824
25859
|
|
25825
|
-
// ../
|
25860
|
+
// ../drizzle-orm/dist/sqlite-core/columns/blob.js
|
25826
25861
|
var _a168, _b116, SQLiteBigIntBuilder, _a169, _b117, SQLiteBigInt, _a170, _b118, SQLiteBlobJsonBuilder, _a171, _b119, SQLiteBlobJson, _a172, _b120, SQLiteBlobBufferBuilder, _a173, _b121, SQLiteBlobBuffer;
|
25827
25862
|
var init_blob = __esm({
|
25828
|
-
"../
|
25863
|
+
"../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
|
25829
25864
|
"use strict";
|
25830
25865
|
init_entity();
|
25831
25866
|
init_common3();
|
@@ -25895,10 +25930,10 @@ var init_blob = __esm({
|
|
25895
25930
|
}
|
25896
25931
|
});
|
25897
25932
|
|
25898
|
-
// ../
|
25933
|
+
// ../drizzle-orm/dist/sqlite-core/columns/custom.js
|
25899
25934
|
var _a174, _b122, SQLiteCustomColumnBuilder, _a175, _b123, SQLiteCustomColumn;
|
25900
25935
|
var init_custom2 = __esm({
|
25901
|
-
"../
|
25936
|
+
"../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
|
25902
25937
|
"use strict";
|
25903
25938
|
init_entity();
|
25904
25939
|
init_common3();
|
@@ -25941,10 +25976,10 @@ var init_custom2 = __esm({
|
|
25941
25976
|
}
|
25942
25977
|
});
|
25943
25978
|
|
25944
|
-
// ../
|
25979
|
+
// ../drizzle-orm/dist/sqlite-core/columns/integer.js
|
25945
25980
|
var _a176, _b124, SQLiteBaseIntegerBuilder, _a177, _b125, SQLiteBaseInteger, _a178, _b126, SQLiteIntegerBuilder, _a179, _b127, SQLiteInteger, _a180, _b128, SQLiteTimestampBuilder, _a181, _b129, SQLiteTimestamp, _a182, _b130, SQLiteBooleanBuilder, _a183, _b131, SQLiteBoolean;
|
25946
25981
|
var init_integer2 = __esm({
|
25947
|
-
"../
|
25982
|
+
"../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
|
25948
25983
|
"use strict";
|
25949
25984
|
init_entity();
|
25950
25985
|
init_sql();
|
@@ -26058,10 +26093,10 @@ var init_integer2 = __esm({
|
|
26058
26093
|
}
|
26059
26094
|
});
|
26060
26095
|
|
26061
|
-
// ../
|
26096
|
+
// ../drizzle-orm/dist/sqlite-core/columns/numeric.js
|
26062
26097
|
var _a184, _b132, SQLiteNumericBuilder, _a185, _b133, SQLiteNumeric;
|
26063
26098
|
var init_numeric2 = __esm({
|
26064
|
-
"../
|
26099
|
+
"../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
|
26065
26100
|
"use strict";
|
26066
26101
|
init_entity();
|
26067
26102
|
init_common3();
|
@@ -26087,10 +26122,10 @@ var init_numeric2 = __esm({
|
|
26087
26122
|
}
|
26088
26123
|
});
|
26089
26124
|
|
26090
|
-
// ../
|
26125
|
+
// ../drizzle-orm/dist/sqlite-core/columns/real.js
|
26091
26126
|
var _a186, _b134, SQLiteRealBuilder, _a187, _b135, SQLiteReal;
|
26092
26127
|
var init_real2 = __esm({
|
26093
|
-
"../
|
26128
|
+
"../drizzle-orm/dist/sqlite-core/columns/real.js"() {
|
26094
26129
|
"use strict";
|
26095
26130
|
init_entity();
|
26096
26131
|
init_common3();
|
@@ -26113,10 +26148,10 @@ var init_real2 = __esm({
|
|
26113
26148
|
}
|
26114
26149
|
});
|
26115
26150
|
|
26116
|
-
// ../
|
26151
|
+
// ../drizzle-orm/dist/sqlite-core/columns/text.js
|
26117
26152
|
var _a188, _b136, SQLiteTextBuilder, _a189, _b137, SQLiteText, _a190, _b138, SQLiteTextJsonBuilder, _a191, _b139, SQLiteTextJson;
|
26118
26153
|
var init_text2 = __esm({
|
26119
|
-
"../
|
26154
|
+
"../drizzle-orm/dist/sqlite-core/columns/text.js"() {
|
26120
26155
|
"use strict";
|
26121
26156
|
init_entity();
|
26122
26157
|
init_common3();
|
@@ -26171,9 +26206,9 @@ var init_text2 = __esm({
|
|
26171
26206
|
}
|
26172
26207
|
});
|
26173
26208
|
|
26174
|
-
// ../
|
26209
|
+
// ../drizzle-orm/dist/sqlite-core/columns/index.js
|
26175
26210
|
var init_columns2 = __esm({
|
26176
|
-
"../
|
26211
|
+
"../drizzle-orm/dist/sqlite-core/columns/index.js"() {
|
26177
26212
|
"use strict";
|
26178
26213
|
init_blob();
|
26179
26214
|
init_common3();
|
@@ -26185,10 +26220,10 @@ var init_columns2 = __esm({
|
|
26185
26220
|
}
|
26186
26221
|
});
|
26187
26222
|
|
26188
|
-
// ../
|
26223
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
|
26189
26224
|
var _a192, _b140, SQLiteDeleteBase;
|
26190
26225
|
var init_delete2 = __esm({
|
26191
|
-
"../
|
26226
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
|
26192
26227
|
"use strict";
|
26193
26228
|
init_entity();
|
26194
26229
|
init_query_promise();
|
@@ -26284,10 +26319,10 @@ var init_delete2 = __esm({
|
|
26284
26319
|
}
|
26285
26320
|
});
|
26286
26321
|
|
26287
|
-
// ../
|
26322
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
|
26288
26323
|
var _a193, SQLiteInsertBuilder, _a194, _b141, SQLiteInsertBase;
|
26289
26324
|
var init_insert2 = __esm({
|
26290
|
-
"../
|
26325
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
|
26291
26326
|
"use strict";
|
26292
26327
|
init_entity();
|
26293
26328
|
init_query_promise();
|
@@ -26452,10 +26487,10 @@ var init_insert2 = __esm({
|
|
26452
26487
|
}
|
26453
26488
|
});
|
26454
26489
|
|
26455
|
-
// ../
|
26490
|
+
// ../drizzle-orm/dist/sqlite-core/view-base.js
|
26456
26491
|
var _a195, _b142, SQLiteViewBase;
|
26457
26492
|
var init_view_base2 = __esm({
|
26458
|
-
"../
|
26493
|
+
"../drizzle-orm/dist/sqlite-core/view-base.js"() {
|
26459
26494
|
"use strict";
|
26460
26495
|
init_entity();
|
26461
26496
|
init_sql();
|
@@ -26465,10 +26500,10 @@ var init_view_base2 = __esm({
|
|
26465
26500
|
}
|
26466
26501
|
});
|
26467
26502
|
|
26468
|
-
// ../
|
26503
|
+
// ../drizzle-orm/dist/sqlite-core/dialect.js
|
26469
26504
|
var _a196, SQLiteDialect, _a197, _b143, SQLiteSyncDialect, _a198, _b144, SQLiteAsyncDialect;
|
26470
26505
|
var init_dialect2 = __esm({
|
26471
|
-
"../
|
26506
|
+
"../drizzle-orm/dist/sqlite-core/dialect.js"() {
|
26472
26507
|
"use strict";
|
26473
26508
|
init_alias();
|
26474
26509
|
init_column();
|
@@ -27060,7 +27095,7 @@ var init_dialect2 = __esm({
|
|
27060
27095
|
}
|
27061
27096
|
});
|
27062
27097
|
|
27063
|
-
// ../
|
27098
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.js
|
27064
27099
|
function createSetOperator2(type, isAll) {
|
27065
27100
|
return (leftSelect, rightSelect, ...restSelects) => {
|
27066
27101
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -27080,7 +27115,7 @@ function createSetOperator2(type, isAll) {
|
|
27080
27115
|
}
|
27081
27116
|
var _a199, SQLiteSelectBuilder, _a200, _b145, SQLiteSelectQueryBuilderBase, _a201, _b146, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
|
27082
27117
|
var init_select3 = __esm({
|
27083
|
-
"../
|
27118
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
|
27084
27119
|
"use strict";
|
27085
27120
|
init_entity();
|
27086
27121
|
init_query_builder();
|
@@ -27693,10 +27728,10 @@ var init_select3 = __esm({
|
|
27693
27728
|
}
|
27694
27729
|
});
|
27695
27730
|
|
27696
|
-
// ../
|
27731
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
|
27697
27732
|
var _a202, QueryBuilder2;
|
27698
27733
|
var init_query_builder3 = __esm({
|
27699
|
-
"../
|
27734
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
|
27700
27735
|
"use strict";
|
27701
27736
|
init_entity();
|
27702
27737
|
init_selection_proxy();
|
@@ -27766,17 +27801,17 @@ var init_query_builder3 = __esm({
|
|
27766
27801
|
}
|
27767
27802
|
});
|
27768
27803
|
|
27769
|
-
// ../
|
27804
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.types.js
|
27770
27805
|
var init_select_types2 = __esm({
|
27771
|
-
"../
|
27806
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.types.js"() {
|
27772
27807
|
"use strict";
|
27773
27808
|
}
|
27774
27809
|
});
|
27775
27810
|
|
27776
|
-
// ../
|
27811
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/update.js
|
27777
27812
|
var _a203, SQLiteUpdateBuilder, _a204, _b147, SQLiteUpdateBase;
|
27778
27813
|
var init_update2 = __esm({
|
27779
|
-
"../
|
27814
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
|
27780
27815
|
"use strict";
|
27781
27816
|
init_entity();
|
27782
27817
|
init_query_promise();
|
@@ -27894,9 +27929,9 @@ var init_update2 = __esm({
|
|
27894
27929
|
}
|
27895
27930
|
});
|
27896
27931
|
|
27897
|
-
// ../
|
27932
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/index.js
|
27898
27933
|
var init_query_builders2 = __esm({
|
27899
|
-
"../
|
27934
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/index.js"() {
|
27900
27935
|
"use strict";
|
27901
27936
|
init_delete2();
|
27902
27937
|
init_insert2();
|
@@ -27907,10 +27942,10 @@ var init_query_builders2 = __esm({
|
|
27907
27942
|
}
|
27908
27943
|
});
|
27909
27944
|
|
27910
|
-
// ../
|
27945
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query.js
|
27911
27946
|
var _a205, RelationalQueryBuilder2, _a206, _b148, SQLiteRelationalQuery, _a207, _b149, SQLiteSyncRelationalQuery;
|
27912
27947
|
var init_query2 = __esm({
|
27913
|
-
"../
|
27948
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
|
27914
27949
|
"use strict";
|
27915
27950
|
init_entity();
|
27916
27951
|
init_query_promise();
|
@@ -28061,10 +28096,10 @@ var init_query2 = __esm({
|
|
28061
28096
|
}
|
28062
28097
|
});
|
28063
28098
|
|
28064
|
-
// ../
|
28099
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
|
28065
28100
|
var _a208, _b150, SQLiteRaw;
|
28066
28101
|
var init_raw2 = __esm({
|
28067
|
-
"../
|
28102
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
|
28068
28103
|
"use strict";
|
28069
28104
|
init_entity();
|
28070
28105
|
init_query_promise();
|
@@ -28097,10 +28132,10 @@ var init_raw2 = __esm({
|
|
28097
28132
|
}
|
28098
28133
|
});
|
28099
28134
|
|
28100
|
-
// ../
|
28135
|
+
// ../drizzle-orm/dist/sqlite-core/db.js
|
28101
28136
|
var _a209, BaseSQLiteDatabase;
|
28102
28137
|
var init_db2 = __esm({
|
28103
|
-
"../
|
28138
|
+
"../drizzle-orm/dist/sqlite-core/db.js"() {
|
28104
28139
|
"use strict";
|
28105
28140
|
init_entity();
|
28106
28141
|
init_selection_proxy();
|
@@ -28390,10 +28425,10 @@ var init_db2 = __esm({
|
|
28390
28425
|
}
|
28391
28426
|
});
|
28392
28427
|
|
28393
|
-
// ../
|
28428
|
+
// ../drizzle-orm/dist/sqlite-core/indexes.js
|
28394
28429
|
var _a210, IndexBuilderOn2, _a211, IndexBuilder2, _a212, Index4;
|
28395
28430
|
var init_indexes2 = __esm({
|
28396
|
-
"../
|
28431
|
+
"../drizzle-orm/dist/sqlite-core/indexes.js"() {
|
28397
28432
|
"use strict";
|
28398
28433
|
init_entity();
|
28399
28434
|
_a210 = entityKind;
|
@@ -28443,10 +28478,10 @@ var init_indexes2 = __esm({
|
|
28443
28478
|
}
|
28444
28479
|
});
|
28445
28480
|
|
28446
|
-
// ../
|
28481
|
+
// ../drizzle-orm/dist/sqlite-core/primary-keys.js
|
28447
28482
|
var _a213, PrimaryKeyBuilder2, _a214, PrimaryKey2;
|
28448
28483
|
var init_primary_keys2 = __esm({
|
28449
|
-
"../
|
28484
|
+
"../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
|
28450
28485
|
"use strict";
|
28451
28486
|
init_entity();
|
28452
28487
|
init_table3();
|
@@ -28483,10 +28518,10 @@ var init_primary_keys2 = __esm({
|
|
28483
28518
|
}
|
28484
28519
|
});
|
28485
28520
|
|
28486
|
-
// ../
|
28521
|
+
// ../drizzle-orm/dist/sqlite-core/session.js
|
28487
28522
|
var _a215, _b151, ExecuteResultSync, _a216, SQLitePreparedQuery, _a217, SQLiteSession, _a218, _b152, SQLiteTransaction;
|
28488
28523
|
var init_session2 = __esm({
|
28489
|
-
"../
|
28524
|
+
"../drizzle-orm/dist/sqlite-core/session.js"() {
|
28490
28525
|
"use strict";
|
28491
28526
|
init_entity();
|
28492
28527
|
init_errors();
|
@@ -28604,23 +28639,23 @@ var init_session2 = __esm({
|
|
28604
28639
|
}
|
28605
28640
|
});
|
28606
28641
|
|
28607
|
-
// ../
|
28642
|
+
// ../drizzle-orm/dist/sqlite-core/subquery.js
|
28608
28643
|
var init_subquery3 = __esm({
|
28609
|
-
"../
|
28644
|
+
"../drizzle-orm/dist/sqlite-core/subquery.js"() {
|
28610
28645
|
"use strict";
|
28611
28646
|
}
|
28612
28647
|
});
|
28613
28648
|
|
28614
|
-
// ../
|
28649
|
+
// ../drizzle-orm/dist/sqlite-core/view-common.js
|
28615
28650
|
var SQLiteViewConfig;
|
28616
28651
|
var init_view_common3 = __esm({
|
28617
|
-
"../
|
28652
|
+
"../drizzle-orm/dist/sqlite-core/view-common.js"() {
|
28618
28653
|
"use strict";
|
28619
28654
|
SQLiteViewConfig = Symbol.for("drizzle:SQLiteViewConfig");
|
28620
28655
|
}
|
28621
28656
|
});
|
28622
28657
|
|
28623
|
-
// ../
|
28658
|
+
// ../drizzle-orm/dist/sqlite-core/utils.js
|
28624
28659
|
function getTableConfig2(table4) {
|
28625
28660
|
const columns = Object.values(table4[SQLiteTable.Symbol.Columns]);
|
28626
28661
|
const indexes = [];
|
@@ -28657,7 +28692,7 @@ function getTableConfig2(table4) {
|
|
28657
28692
|
};
|
28658
28693
|
}
|
28659
28694
|
var init_utils6 = __esm({
|
28660
|
-
"../
|
28695
|
+
"../drizzle-orm/dist/sqlite-core/utils.js"() {
|
28661
28696
|
"use strict";
|
28662
28697
|
init_entity();
|
28663
28698
|
init_table();
|
@@ -28670,10 +28705,10 @@ var init_utils6 = __esm({
|
|
28670
28705
|
}
|
28671
28706
|
});
|
28672
28707
|
|
28673
|
-
// ../
|
28708
|
+
// ../drizzle-orm/dist/sqlite-core/view.js
|
28674
28709
|
var _a219, ViewBuilderCore, _a220, _b153, ViewBuilder2, _a221, _b154, ManualViewBuilder2, _a222, _b155, _c6, SQLiteView;
|
28675
28710
|
var init_view2 = __esm({
|
28676
|
-
"../
|
28711
|
+
"../drizzle-orm/dist/sqlite-core/view.js"() {
|
28677
28712
|
"use strict";
|
28678
28713
|
init_entity();
|
28679
28714
|
init_selection_proxy();
|
@@ -28775,9 +28810,9 @@ var init_view2 = __esm({
|
|
28775
28810
|
}
|
28776
28811
|
});
|
28777
28812
|
|
28778
|
-
// ../
|
28813
|
+
// ../drizzle-orm/dist/sqlite-core/index.js
|
28779
28814
|
var init_sqlite_core = __esm({
|
28780
|
-
"../
|
28815
|
+
"../drizzle-orm/dist/sqlite-core/index.js"() {
|
28781
28816
|
"use strict";
|
28782
28817
|
init_alias3();
|
28783
28818
|
init_checks2();
|
@@ -28864,7 +28899,7 @@ var init_sqliteSerializer = __esm({
|
|
28864
28899
|
"src/serializer/sqliteSerializer.ts"() {
|
28865
28900
|
"use strict";
|
28866
28901
|
init_source();
|
28867
|
-
|
28902
|
+
init_dist();
|
28868
28903
|
init_sqlite_core();
|
28869
28904
|
init_outputs();
|
28870
28905
|
init_serializer();
|
@@ -29277,17 +29312,17 @@ WHERE
|
|
29277
29312
|
}
|
29278
29313
|
});
|
29279
29314
|
|
29280
|
-
// ../
|
29315
|
+
// ../drizzle-orm/dist/mysql-core/alias.js
|
29281
29316
|
var init_alias4 = __esm({
|
29282
|
-
"../
|
29317
|
+
"../drizzle-orm/dist/mysql-core/alias.js"() {
|
29283
29318
|
"use strict";
|
29284
29319
|
}
|
29285
29320
|
});
|
29286
29321
|
|
29287
|
-
// ../
|
29322
|
+
// ../drizzle-orm/dist/mysql-core/checks.js
|
29288
29323
|
var _a223, CheckBuilder3, _a224, Check3;
|
29289
29324
|
var init_checks3 = __esm({
|
29290
|
-
"../
|
29325
|
+
"../drizzle-orm/dist/mysql-core/checks.js"() {
|
29291
29326
|
"use strict";
|
29292
29327
|
init_entity();
|
29293
29328
|
_a223 = entityKind;
|
@@ -29317,7 +29352,7 @@ var init_checks3 = __esm({
|
|
29317
29352
|
}
|
29318
29353
|
});
|
29319
29354
|
|
29320
|
-
// ../
|
29355
|
+
// ../drizzle-orm/dist/mysql-core/table.js
|
29321
29356
|
function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
29322
29357
|
const rawTable = new MySqlTable(name2, schema4, baseName);
|
29323
29358
|
const builtColumns = Object.fromEntries(
|
@@ -29338,7 +29373,7 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
|
|
29338
29373
|
}
|
29339
29374
|
var InlineForeignKeys3, _a225, _b156, _c7, _d4, _e3, MySqlTable, mysqlTable;
|
29340
29375
|
var init_table4 = __esm({
|
29341
|
-
"../
|
29376
|
+
"../drizzle-orm/dist/mysql-core/table.js"() {
|
29342
29377
|
"use strict";
|
29343
29378
|
init_entity();
|
29344
29379
|
init_table();
|
@@ -29365,10 +29400,10 @@ var init_table4 = __esm({
|
|
29365
29400
|
}
|
29366
29401
|
});
|
29367
29402
|
|
29368
|
-
// ../
|
29403
|
+
// ../drizzle-orm/dist/mysql-core/foreign-keys.js
|
29369
29404
|
var _a226, ForeignKeyBuilder3, _a227, ForeignKey3;
|
29370
29405
|
var init_foreign_keys3 = __esm({
|
29371
|
-
"../
|
29406
|
+
"../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
|
29372
29407
|
"use strict";
|
29373
29408
|
init_entity();
|
29374
29409
|
init_table4();
|
@@ -29432,13 +29467,13 @@ var init_foreign_keys3 = __esm({
|
|
29432
29467
|
}
|
29433
29468
|
});
|
29434
29469
|
|
29435
|
-
// ../
|
29470
|
+
// ../drizzle-orm/dist/mysql-core/unique-constraint.js
|
29436
29471
|
function uniqueKeyName3(table4, columns) {
|
29437
29472
|
return `${table4[MySqlTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
29438
29473
|
}
|
29439
29474
|
var _a228, UniqueConstraintBuilder3, _a229, UniqueOnConstraintBuilder3, _a230, UniqueConstraint3;
|
29440
29475
|
var init_unique_constraint3 = __esm({
|
29441
|
-
"../
|
29476
|
+
"../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
|
29442
29477
|
"use strict";
|
29443
29478
|
init_entity();
|
29444
29479
|
init_table4();
|
@@ -29486,10 +29521,10 @@ var init_unique_constraint3 = __esm({
|
|
29486
29521
|
}
|
29487
29522
|
});
|
29488
29523
|
|
29489
|
-
// ../
|
29524
|
+
// ../drizzle-orm/dist/mysql-core/columns/common.js
|
29490
29525
|
var _a231, _b157, MySqlColumnBuilder, _a232, _b158, MySqlColumn, _a233, _b159, MySqlColumnBuilderWithAutoIncrement, _a234, _b160, MySqlColumnWithAutoIncrement;
|
29491
29526
|
var init_common4 = __esm({
|
29492
|
-
"../
|
29527
|
+
"../drizzle-orm/dist/mysql-core/columns/common.js"() {
|
29493
29528
|
"use strict";
|
29494
29529
|
init_column_builder();
|
29495
29530
|
init_column();
|
@@ -29570,10 +29605,10 @@ var init_common4 = __esm({
|
|
29570
29605
|
}
|
29571
29606
|
});
|
29572
29607
|
|
29573
|
-
// ../
|
29608
|
+
// ../drizzle-orm/dist/mysql-core/columns/bigint.js
|
29574
29609
|
var _a235, _b161, MySqlBigInt53Builder, _a236, _b162, MySqlBigInt53, _a237, _b163, MySqlBigInt64Builder, _a238, _b164, MySqlBigInt64;
|
29575
29610
|
var init_bigint2 = __esm({
|
29576
|
-
"../
|
29611
|
+
"../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
|
29577
29612
|
"use strict";
|
29578
29613
|
init_entity();
|
29579
29614
|
init_common4();
|
@@ -29630,10 +29665,10 @@ var init_bigint2 = __esm({
|
|
29630
29665
|
}
|
29631
29666
|
});
|
29632
29667
|
|
29633
|
-
// ../
|
29668
|
+
// ../drizzle-orm/dist/mysql-core/columns/binary.js
|
29634
29669
|
var _a239, _b165, MySqlBinaryBuilder, _a240, _b166, MySqlBinary;
|
29635
29670
|
var init_binary = __esm({
|
29636
|
-
"../
|
29671
|
+
"../drizzle-orm/dist/mysql-core/columns/binary.js"() {
|
29637
29672
|
"use strict";
|
29638
29673
|
init_entity();
|
29639
29674
|
init_common4();
|
@@ -29661,10 +29696,10 @@ var init_binary = __esm({
|
|
29661
29696
|
}
|
29662
29697
|
});
|
29663
29698
|
|
29664
|
-
// ../
|
29699
|
+
// ../drizzle-orm/dist/mysql-core/columns/boolean.js
|
29665
29700
|
var _a241, _b167, MySqlBooleanBuilder, _a242, _b168, MySqlBoolean;
|
29666
29701
|
var init_boolean2 = __esm({
|
29667
|
-
"../
|
29702
|
+
"../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
|
29668
29703
|
"use strict";
|
29669
29704
|
init_entity();
|
29670
29705
|
init_common4();
|
@@ -29696,10 +29731,10 @@ var init_boolean2 = __esm({
|
|
29696
29731
|
}
|
29697
29732
|
});
|
29698
29733
|
|
29699
|
-
// ../
|
29734
|
+
// ../drizzle-orm/dist/mysql-core/columns/char.js
|
29700
29735
|
var _a243, _b169, MySqlCharBuilder, _a244, _b170, MySqlChar;
|
29701
29736
|
var init_char2 = __esm({
|
29702
|
-
"../
|
29737
|
+
"../drizzle-orm/dist/mysql-core/columns/char.js"() {
|
29703
29738
|
"use strict";
|
29704
29739
|
init_entity();
|
29705
29740
|
init_common4();
|
@@ -29732,10 +29767,10 @@ var init_char2 = __esm({
|
|
29732
29767
|
}
|
29733
29768
|
});
|
29734
29769
|
|
29735
|
-
// ../
|
29770
|
+
// ../drizzle-orm/dist/mysql-core/columns/custom.js
|
29736
29771
|
var _a245, _b171, MySqlCustomColumnBuilder, _a246, _b172, MySqlCustomColumn;
|
29737
29772
|
var init_custom3 = __esm({
|
29738
|
-
"../
|
29773
|
+
"../drizzle-orm/dist/mysql-core/columns/custom.js"() {
|
29739
29774
|
"use strict";
|
29740
29775
|
init_entity();
|
29741
29776
|
init_common4();
|
@@ -29778,10 +29813,10 @@ var init_custom3 = __esm({
|
|
29778
29813
|
}
|
29779
29814
|
});
|
29780
29815
|
|
29781
|
-
// ../
|
29816
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.js
|
29782
29817
|
var _a247, _b173, MySqlDateBuilder, _a248, _b174, MySqlDate, _a249, _b175, MySqlDateStringBuilder, _a250, _b176, MySqlDateString;
|
29783
29818
|
var init_date2 = __esm({
|
29784
|
-
"../
|
29819
|
+
"../drizzle-orm/dist/mysql-core/columns/date.js"() {
|
29785
29820
|
"use strict";
|
29786
29821
|
init_entity();
|
29787
29822
|
init_common4();
|
@@ -29832,10 +29867,10 @@ var init_date2 = __esm({
|
|
29832
29867
|
}
|
29833
29868
|
});
|
29834
29869
|
|
29835
|
-
// ../
|
29870
|
+
// ../drizzle-orm/dist/mysql-core/columns/datetime.js
|
29836
29871
|
var _a251, _b177, MySqlDateTimeBuilder, _a252, _b178, MySqlDateTime, _a253, _b179, MySqlDateTimeStringBuilder, _a254, _b180, MySqlDateTimeString;
|
29837
29872
|
var init_datetime = __esm({
|
29838
|
-
"../
|
29873
|
+
"../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
|
29839
29874
|
"use strict";
|
29840
29875
|
init_entity();
|
29841
29876
|
init_common4();
|
@@ -29900,10 +29935,10 @@ var init_datetime = __esm({
|
|
29900
29935
|
}
|
29901
29936
|
});
|
29902
29937
|
|
29903
|
-
// ../
|
29938
|
+
// ../drizzle-orm/dist/mysql-core/columns/decimal.js
|
29904
29939
|
var _a255, _b181, MySqlDecimalBuilder, _a256, _b182, MySqlDecimal;
|
29905
29940
|
var init_decimal = __esm({
|
29906
|
-
"../
|
29941
|
+
"../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
|
29907
29942
|
"use strict";
|
29908
29943
|
init_entity();
|
29909
29944
|
init_common4();
|
@@ -29942,10 +29977,10 @@ var init_decimal = __esm({
|
|
29942
29977
|
}
|
29943
29978
|
});
|
29944
29979
|
|
29945
|
-
// ../
|
29980
|
+
// ../drizzle-orm/dist/mysql-core/columns/double.js
|
29946
29981
|
var _a257, _b183, MySqlDoubleBuilder, _a258, _b184, MySqlDouble;
|
29947
29982
|
var init_double = __esm({
|
29948
|
-
"../
|
29983
|
+
"../drizzle-orm/dist/mysql-core/columns/double.js"() {
|
29949
29984
|
"use strict";
|
29950
29985
|
init_entity();
|
29951
29986
|
init_common4();
|
@@ -29981,10 +30016,10 @@ var init_double = __esm({
|
|
29981
30016
|
}
|
29982
30017
|
});
|
29983
30018
|
|
29984
|
-
// ../
|
30019
|
+
// ../drizzle-orm/dist/mysql-core/columns/enum.js
|
29985
30020
|
var _a259, _b185, MySqlEnumColumnBuilder, _a260, _b186, MySqlEnumColumn;
|
29986
30021
|
var init_enum2 = __esm({
|
29987
|
-
"../
|
30022
|
+
"../drizzle-orm/dist/mysql-core/columns/enum.js"() {
|
29988
30023
|
"use strict";
|
29989
30024
|
init_entity();
|
29990
30025
|
init_common4();
|
@@ -30015,10 +30050,10 @@ var init_enum2 = __esm({
|
|
30015
30050
|
}
|
30016
30051
|
});
|
30017
30052
|
|
30018
|
-
// ../
|
30053
|
+
// ../drizzle-orm/dist/mysql-core/columns/float.js
|
30019
30054
|
var _a261, _b187, MySqlFloatBuilder, _a262, _b188, MySqlFloat;
|
30020
30055
|
var init_float = __esm({
|
30021
|
-
"../
|
30056
|
+
"../drizzle-orm/dist/mysql-core/columns/float.js"() {
|
30022
30057
|
"use strict";
|
30023
30058
|
init_entity();
|
30024
30059
|
init_common4();
|
@@ -30041,10 +30076,10 @@ var init_float = __esm({
|
|
30041
30076
|
}
|
30042
30077
|
});
|
30043
30078
|
|
30044
|
-
// ../
|
30079
|
+
// ../drizzle-orm/dist/mysql-core/columns/int.js
|
30045
30080
|
var _a263, _b189, MySqlIntBuilder, _a264, _b190, MySqlInt;
|
30046
30081
|
var init_int = __esm({
|
30047
|
-
"../
|
30082
|
+
"../drizzle-orm/dist/mysql-core/columns/int.js"() {
|
30048
30083
|
"use strict";
|
30049
30084
|
init_entity();
|
30050
30085
|
init_common4();
|
@@ -30074,10 +30109,10 @@ var init_int = __esm({
|
|
30074
30109
|
}
|
30075
30110
|
});
|
30076
30111
|
|
30077
|
-
// ../
|
30112
|
+
// ../drizzle-orm/dist/mysql-core/columns/json.js
|
30078
30113
|
var _a265, _b191, MySqlJsonBuilder, _a266, _b192, MySqlJson;
|
30079
30114
|
var init_json2 = __esm({
|
30080
|
-
"../
|
30115
|
+
"../drizzle-orm/dist/mysql-core/columns/json.js"() {
|
30081
30116
|
"use strict";
|
30082
30117
|
init_entity();
|
30083
30118
|
init_common4();
|
@@ -30103,10 +30138,10 @@ var init_json2 = __esm({
|
|
30103
30138
|
}
|
30104
30139
|
});
|
30105
30140
|
|
30106
|
-
// ../
|
30141
|
+
// ../drizzle-orm/dist/mysql-core/columns/mediumint.js
|
30107
30142
|
var _a267, _b193, MySqlMediumIntBuilder, _a268, _b194, MySqlMediumInt;
|
30108
30143
|
var init_mediumint = __esm({
|
30109
|
-
"../
|
30144
|
+
"../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
|
30110
30145
|
"use strict";
|
30111
30146
|
init_entity();
|
30112
30147
|
init_common4();
|
@@ -30139,10 +30174,10 @@ var init_mediumint = __esm({
|
|
30139
30174
|
}
|
30140
30175
|
});
|
30141
30176
|
|
30142
|
-
// ../
|
30177
|
+
// ../drizzle-orm/dist/mysql-core/columns/real.js
|
30143
30178
|
var _a269, _b195, MySqlRealBuilder, _a270, _b196, MySqlReal;
|
30144
30179
|
var init_real3 = __esm({
|
30145
|
-
"../
|
30180
|
+
"../drizzle-orm/dist/mysql-core/columns/real.js"() {
|
30146
30181
|
"use strict";
|
30147
30182
|
init_entity();
|
30148
30183
|
init_common4();
|
@@ -30178,10 +30213,10 @@ var init_real3 = __esm({
|
|
30178
30213
|
}
|
30179
30214
|
});
|
30180
30215
|
|
30181
|
-
// ../
|
30216
|
+
// ../drizzle-orm/dist/mysql-core/columns/serial.js
|
30182
30217
|
var _a271, _b197, MySqlSerialBuilder, _a272, _b198, MySqlSerial;
|
30183
30218
|
var init_serial2 = __esm({
|
30184
|
-
"../
|
30219
|
+
"../drizzle-orm/dist/mysql-core/columns/serial.js"() {
|
30185
30220
|
"use strict";
|
30186
30221
|
init_entity();
|
30187
30222
|
init_common4();
|
@@ -30212,10 +30247,10 @@ var init_serial2 = __esm({
|
|
30212
30247
|
}
|
30213
30248
|
});
|
30214
30249
|
|
30215
|
-
// ../
|
30250
|
+
// ../drizzle-orm/dist/mysql-core/columns/smallint.js
|
30216
30251
|
var _a273, _b199, MySqlSmallIntBuilder, _a274, _b200, MySqlSmallInt;
|
30217
30252
|
var init_smallint2 = __esm({
|
30218
|
-
"../
|
30253
|
+
"../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
|
30219
30254
|
"use strict";
|
30220
30255
|
init_entity();
|
30221
30256
|
init_common4();
|
@@ -30248,10 +30283,10 @@ var init_smallint2 = __esm({
|
|
30248
30283
|
}
|
30249
30284
|
});
|
30250
30285
|
|
30251
|
-
// ../
|
30286
|
+
// ../drizzle-orm/dist/mysql-core/columns/text.js
|
30252
30287
|
var _a275, _b201, MySqlTextBuilder, _a276, _b202, MySqlText;
|
30253
30288
|
var init_text3 = __esm({
|
30254
|
-
"../
|
30289
|
+
"../drizzle-orm/dist/mysql-core/columns/text.js"() {
|
30255
30290
|
"use strict";
|
30256
30291
|
init_entity();
|
30257
30292
|
init_common4();
|
@@ -30281,10 +30316,10 @@ var init_text3 = __esm({
|
|
30281
30316
|
}
|
30282
30317
|
});
|
30283
30318
|
|
30284
|
-
// ../
|
30319
|
+
// ../drizzle-orm/dist/mysql-core/columns/time.js
|
30285
30320
|
var _a277, _b203, MySqlTimeBuilder, _a278, _b204, MySqlTime;
|
30286
30321
|
var init_time2 = __esm({
|
30287
|
-
"../
|
30322
|
+
"../drizzle-orm/dist/mysql-core/columns/time.js"() {
|
30288
30323
|
"use strict";
|
30289
30324
|
init_entity();
|
30290
30325
|
init_common4();
|
@@ -30313,10 +30348,10 @@ var init_time2 = __esm({
|
|
30313
30348
|
}
|
30314
30349
|
});
|
30315
30350
|
|
30316
|
-
// ../
|
30351
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.common.js
|
30317
30352
|
var _a279, _b205, MySqlDateColumnBaseBuilder, _a280, _b206, MySqlDateBaseColumn;
|
30318
30353
|
var init_date_common2 = __esm({
|
30319
|
-
"../
|
30354
|
+
"../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
|
30320
30355
|
"use strict";
|
30321
30356
|
init_entity();
|
30322
30357
|
init_sql();
|
@@ -30343,10 +30378,10 @@ var init_date_common2 = __esm({
|
|
30343
30378
|
}
|
30344
30379
|
});
|
30345
30380
|
|
30346
|
-
// ../
|
30381
|
+
// ../drizzle-orm/dist/mysql-core/columns/timestamp.js
|
30347
30382
|
var _a281, _b207, MySqlTimestampBuilder, _a282, _b208, MySqlTimestamp, _a283, _b209, MySqlTimestampStringBuilder, _a284, _b210, MySqlTimestampString;
|
30348
30383
|
var init_timestamp2 = __esm({
|
30349
|
-
"../
|
30384
|
+
"../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
|
30350
30385
|
"use strict";
|
30351
30386
|
init_entity();
|
30352
30387
|
init_date_common2();
|
@@ -30409,10 +30444,10 @@ var init_timestamp2 = __esm({
|
|
30409
30444
|
}
|
30410
30445
|
});
|
30411
30446
|
|
30412
|
-
// ../
|
30447
|
+
// ../drizzle-orm/dist/mysql-core/columns/tinyint.js
|
30413
30448
|
var _a285, _b211, MySqlTinyIntBuilder, _a286, _b212, MySqlTinyInt;
|
30414
30449
|
var init_tinyint = __esm({
|
30415
|
-
"../
|
30450
|
+
"../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
|
30416
30451
|
"use strict";
|
30417
30452
|
init_entity();
|
30418
30453
|
init_common4();
|
@@ -30445,10 +30480,10 @@ var init_tinyint = __esm({
|
|
30445
30480
|
}
|
30446
30481
|
});
|
30447
30482
|
|
30448
|
-
// ../
|
30483
|
+
// ../drizzle-orm/dist/mysql-core/columns/varbinary.js
|
30449
30484
|
var _a287, _b213, MySqlVarBinaryBuilder, _a288, _b214, MySqlVarBinary;
|
30450
30485
|
var init_varbinary = __esm({
|
30451
|
-
"../
|
30486
|
+
"../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
|
30452
30487
|
"use strict";
|
30453
30488
|
init_entity();
|
30454
30489
|
init_common4();
|
@@ -30480,10 +30515,10 @@ var init_varbinary = __esm({
|
|
30480
30515
|
}
|
30481
30516
|
});
|
30482
30517
|
|
30483
|
-
// ../
|
30518
|
+
// ../drizzle-orm/dist/mysql-core/columns/varchar.js
|
30484
30519
|
var _a289, _b215, MySqlVarCharBuilder, _a290, _b216, MySqlVarChar;
|
30485
30520
|
var init_varchar2 = __esm({
|
30486
|
-
"../
|
30521
|
+
"../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
|
30487
30522
|
"use strict";
|
30488
30523
|
init_entity();
|
30489
30524
|
init_common4();
|
@@ -30517,10 +30552,10 @@ var init_varchar2 = __esm({
|
|
30517
30552
|
}
|
30518
30553
|
});
|
30519
30554
|
|
30520
|
-
// ../
|
30555
|
+
// ../drizzle-orm/dist/mysql-core/columns/year.js
|
30521
30556
|
var _a291, _b217, MySqlYearBuilder, _a292, _b218, MySqlYear;
|
30522
30557
|
var init_year = __esm({
|
30523
|
-
"../
|
30558
|
+
"../drizzle-orm/dist/mysql-core/columns/year.js"() {
|
30524
30559
|
"use strict";
|
30525
30560
|
init_entity();
|
30526
30561
|
init_common4();
|
@@ -30543,9 +30578,9 @@ var init_year = __esm({
|
|
30543
30578
|
}
|
30544
30579
|
});
|
30545
30580
|
|
30546
|
-
// ../
|
30581
|
+
// ../drizzle-orm/dist/mysql-core/columns/index.js
|
30547
30582
|
var init_columns3 = __esm({
|
30548
|
-
"../
|
30583
|
+
"../drizzle-orm/dist/mysql-core/columns/index.js"() {
|
30549
30584
|
"use strict";
|
30550
30585
|
init_bigint2();
|
30551
30586
|
init_binary();
|
@@ -30575,10 +30610,10 @@ var init_columns3 = __esm({
|
|
30575
30610
|
}
|
30576
30611
|
});
|
30577
30612
|
|
30578
|
-
// ../
|
30613
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/delete.js
|
30579
30614
|
var _a293, _b219, MySqlDeleteBase;
|
30580
30615
|
var init_delete3 = __esm({
|
30581
|
-
"../
|
30616
|
+
"../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
|
30582
30617
|
"use strict";
|
30583
30618
|
init_entity();
|
30584
30619
|
init_query_promise();
|
@@ -30656,10 +30691,10 @@ var init_delete3 = __esm({
|
|
30656
30691
|
}
|
30657
30692
|
});
|
30658
30693
|
|
30659
|
-
// ../
|
30694
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/insert.js
|
30660
30695
|
var _a294, MySqlInsertBuilder, _a295, _b220, MySqlInsertBase;
|
30661
30696
|
var init_insert3 = __esm({
|
30662
|
-
"../
|
30697
|
+
"../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
|
30663
30698
|
"use strict";
|
30664
30699
|
init_entity();
|
30665
30700
|
init_query_promise();
|
@@ -30781,10 +30816,10 @@ var init_insert3 = __esm({
|
|
30781
30816
|
}
|
30782
30817
|
});
|
30783
30818
|
|
30784
|
-
// ../
|
30819
|
+
// ../drizzle-orm/dist/mysql-core/view-base.js
|
30785
30820
|
var _a296, _b221, MySqlViewBase;
|
30786
30821
|
var init_view_base3 = __esm({
|
30787
|
-
"../
|
30822
|
+
"../drizzle-orm/dist/mysql-core/view-base.js"() {
|
30788
30823
|
"use strict";
|
30789
30824
|
init_entity();
|
30790
30825
|
init_sql();
|
@@ -30794,10 +30829,10 @@ var init_view_base3 = __esm({
|
|
30794
30829
|
}
|
30795
30830
|
});
|
30796
30831
|
|
30797
|
-
// ../
|
30832
|
+
// ../drizzle-orm/dist/mysql-core/dialect.js
|
30798
30833
|
var _a297, MySqlDialect;
|
30799
30834
|
var init_dialect3 = __esm({
|
30800
|
-
"../
|
30835
|
+
"../drizzle-orm/dist/mysql-core/dialect.js"() {
|
30801
30836
|
"use strict";
|
30802
30837
|
init_alias();
|
30803
30838
|
init_column();
|
@@ -31593,7 +31628,7 @@ var init_dialect3 = __esm({
|
|
31593
31628
|
}
|
31594
31629
|
});
|
31595
31630
|
|
31596
|
-
// ../
|
31631
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.js
|
31597
31632
|
function createSetOperator3(type, isAll) {
|
31598
31633
|
return (leftSelect, rightSelect, ...restSelects) => {
|
31599
31634
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -31613,7 +31648,7 @@ function createSetOperator3(type, isAll) {
|
|
31613
31648
|
}
|
31614
31649
|
var _a298, MySqlSelectBuilder, _a299, _b222, MySqlSelectQueryBuilderBase, _a300, _b223, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
|
31615
31650
|
var init_select4 = __esm({
|
31616
|
-
"../
|
31651
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
|
31617
31652
|
"use strict";
|
31618
31653
|
init_entity();
|
31619
31654
|
init_query_builder();
|
@@ -32317,10 +32352,10 @@ var init_select4 = __esm({
|
|
32317
32352
|
}
|
32318
32353
|
});
|
32319
32354
|
|
32320
|
-
// ../
|
32355
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
|
32321
32356
|
var _a301, QueryBuilder3;
|
32322
32357
|
var init_query_builder4 = __esm({
|
32323
|
-
"../
|
32358
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
|
32324
32359
|
"use strict";
|
32325
32360
|
init_entity();
|
32326
32361
|
init_dialect3();
|
@@ -32390,17 +32425,17 @@ var init_query_builder4 = __esm({
|
|
32390
32425
|
}
|
32391
32426
|
});
|
32392
32427
|
|
32393
|
-
// ../
|
32428
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.types.js
|
32394
32429
|
var init_select_types3 = __esm({
|
32395
|
-
"../
|
32430
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.types.js"() {
|
32396
32431
|
"use strict";
|
32397
32432
|
}
|
32398
32433
|
});
|
32399
32434
|
|
32400
|
-
// ../
|
32435
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/update.js
|
32401
32436
|
var _a302, MySqlUpdateBuilder, _a303, _b224, MySqlUpdateBase;
|
32402
32437
|
var init_update3 = __esm({
|
32403
|
-
"../
|
32438
|
+
"../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
|
32404
32439
|
"use strict";
|
32405
32440
|
init_entity();
|
32406
32441
|
init_query_promise();
|
@@ -32495,9 +32530,9 @@ var init_update3 = __esm({
|
|
32495
32530
|
}
|
32496
32531
|
});
|
32497
32532
|
|
32498
|
-
// ../
|
32533
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/index.js
|
32499
32534
|
var init_query_builders3 = __esm({
|
32500
|
-
"../
|
32535
|
+
"../drizzle-orm/dist/mysql-core/query-builders/index.js"() {
|
32501
32536
|
"use strict";
|
32502
32537
|
init_delete3();
|
32503
32538
|
init_insert3();
|
@@ -32508,10 +32543,10 @@ var init_query_builders3 = __esm({
|
|
32508
32543
|
}
|
32509
32544
|
});
|
32510
32545
|
|
32511
|
-
// ../
|
32546
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query.js
|
32512
32547
|
var _a304, RelationalQueryBuilder3, _a305, _b225, MySqlRelationalQuery;
|
32513
32548
|
var init_query3 = __esm({
|
32514
|
-
"../
|
32549
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
|
32515
32550
|
"use strict";
|
32516
32551
|
init_entity();
|
32517
32552
|
init_query_promise();
|
@@ -32626,10 +32661,10 @@ var init_query3 = __esm({
|
|
32626
32661
|
}
|
32627
32662
|
});
|
32628
32663
|
|
32629
|
-
// ../
|
32664
|
+
// ../drizzle-orm/dist/mysql-core/db.js
|
32630
32665
|
var _a306, MySqlDatabase;
|
32631
32666
|
var init_db3 = __esm({
|
32632
|
-
"../
|
32667
|
+
"../drizzle-orm/dist/mysql-core/db.js"() {
|
32633
32668
|
"use strict";
|
32634
32669
|
init_entity();
|
32635
32670
|
init_selection_proxy();
|
@@ -32849,10 +32884,10 @@ var init_db3 = __esm({
|
|
32849
32884
|
}
|
32850
32885
|
});
|
32851
32886
|
|
32852
|
-
// ../
|
32887
|
+
// ../drizzle-orm/dist/mysql-core/indexes.js
|
32853
32888
|
var _a307, IndexBuilderOn3, _a308, IndexBuilder3, _a309, Index5;
|
32854
32889
|
var init_indexes3 = __esm({
|
32855
|
-
"../
|
32890
|
+
"../drizzle-orm/dist/mysql-core/indexes.js"() {
|
32856
32891
|
"use strict";
|
32857
32892
|
init_entity();
|
32858
32893
|
_a307 = entityKind;
|
@@ -32906,10 +32941,10 @@ var init_indexes3 = __esm({
|
|
32906
32941
|
}
|
32907
32942
|
});
|
32908
32943
|
|
32909
|
-
// ../
|
32944
|
+
// ../drizzle-orm/dist/mysql-core/primary-keys.js
|
32910
32945
|
var _a310, PrimaryKeyBuilder3, _a311, PrimaryKey3;
|
32911
32946
|
var init_primary_keys3 = __esm({
|
32912
|
-
"../
|
32947
|
+
"../drizzle-orm/dist/mysql-core/primary-keys.js"() {
|
32913
32948
|
"use strict";
|
32914
32949
|
init_entity();
|
32915
32950
|
init_table4();
|
@@ -32946,16 +32981,16 @@ var init_primary_keys3 = __esm({
|
|
32946
32981
|
}
|
32947
32982
|
});
|
32948
32983
|
|
32949
|
-
// ../
|
32984
|
+
// ../drizzle-orm/dist/mysql-core/view-common.js
|
32950
32985
|
var MySqlViewConfig;
|
32951
32986
|
var init_view_common4 = __esm({
|
32952
|
-
"../
|
32987
|
+
"../drizzle-orm/dist/mysql-core/view-common.js"() {
|
32953
32988
|
"use strict";
|
32954
32989
|
MySqlViewConfig = Symbol.for("drizzle:MySqlViewConfig");
|
32955
32990
|
}
|
32956
32991
|
});
|
32957
32992
|
|
32958
|
-
// ../
|
32993
|
+
// ../drizzle-orm/dist/mysql-core/view.js
|
32959
32994
|
function mysqlViewWithSchema(name2, selection, schema4) {
|
32960
32995
|
if (selection) {
|
32961
32996
|
return new ManualViewBuilder3(name2, selection, schema4);
|
@@ -32964,7 +32999,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
|
|
32964
32999
|
}
|
32965
33000
|
var _a312, ViewBuilderCore2, _a313, _b226, ViewBuilder3, _a314, _b227, ManualViewBuilder3, _a315, _b228, _c8, MySqlView;
|
32966
33001
|
var init_view3 = __esm({
|
32967
|
-
"../
|
33002
|
+
"../drizzle-orm/dist/mysql-core/view.js"() {
|
32968
33003
|
"use strict";
|
32969
33004
|
init_entity();
|
32970
33005
|
init_selection_proxy();
|
@@ -33082,10 +33117,10 @@ var init_view3 = __esm({
|
|
33082
33117
|
}
|
33083
33118
|
});
|
33084
33119
|
|
33085
|
-
// ../
|
33120
|
+
// ../drizzle-orm/dist/mysql-core/schema.js
|
33086
33121
|
var _a316, MySqlSchema5;
|
33087
33122
|
var init_schema2 = __esm({
|
33088
|
-
"../
|
33123
|
+
"../drizzle-orm/dist/mysql-core/schema.js"() {
|
33089
33124
|
"use strict";
|
33090
33125
|
init_entity();
|
33091
33126
|
init_table4();
|
@@ -33106,10 +33141,10 @@ var init_schema2 = __esm({
|
|
33106
33141
|
}
|
33107
33142
|
});
|
33108
33143
|
|
33109
|
-
// ../
|
33144
|
+
// ../drizzle-orm/dist/mysql-core/session.js
|
33110
33145
|
var _a317, MySqlPreparedQuery, _a318, MySqlSession, _a319, _b229, MySqlTransaction;
|
33111
33146
|
var init_session3 = __esm({
|
33112
|
-
"../
|
33147
|
+
"../drizzle-orm/dist/mysql-core/session.js"() {
|
33113
33148
|
"use strict";
|
33114
33149
|
init_entity();
|
33115
33150
|
init_errors();
|
@@ -33139,7 +33174,7 @@ var init_session3 = __esm({
|
|
33139
33174
|
if (config.isolationLevel) {
|
33140
33175
|
parts.push(`isolation level ${config.isolationLevel}`);
|
33141
33176
|
}
|
33142
|
-
return parts.length ? sql
|
33177
|
+
return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33143
33178
|
}
|
33144
33179
|
getStartTransactionSQL(config) {
|
33145
33180
|
const parts = [];
|
@@ -33149,7 +33184,7 @@ var init_session3 = __esm({
|
|
33149
33184
|
if (config.accessMode) {
|
33150
33185
|
parts.push(config.accessMode);
|
33151
33186
|
}
|
33152
|
-
return parts.length ? sql
|
33187
|
+
return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33153
33188
|
}
|
33154
33189
|
};
|
33155
33190
|
__publicField(MySqlSession, _a318, "MySqlSession");
|
@@ -33167,14 +33202,14 @@ var init_session3 = __esm({
|
|
33167
33202
|
}
|
33168
33203
|
});
|
33169
33204
|
|
33170
|
-
// ../
|
33205
|
+
// ../drizzle-orm/dist/mysql-core/subquery.js
|
33171
33206
|
var init_subquery4 = __esm({
|
33172
|
-
"../
|
33207
|
+
"../drizzle-orm/dist/mysql-core/subquery.js"() {
|
33173
33208
|
"use strict";
|
33174
33209
|
}
|
33175
33210
|
});
|
33176
33211
|
|
33177
|
-
// ../
|
33212
|
+
// ../drizzle-orm/dist/mysql-core/utils.js
|
33178
33213
|
function getTableConfig3(table4) {
|
33179
33214
|
const columns = Object.values(table4[MySqlTable.Symbol.Columns]);
|
33180
33215
|
const indexes = [];
|
@@ -33215,7 +33250,7 @@ function getTableConfig3(table4) {
|
|
33215
33250
|
};
|
33216
33251
|
}
|
33217
33252
|
var init_utils7 = __esm({
|
33218
|
-
"../
|
33253
|
+
"../drizzle-orm/dist/mysql-core/utils.js"() {
|
33219
33254
|
"use strict";
|
33220
33255
|
init_entity();
|
33221
33256
|
init_table();
|
@@ -33228,9 +33263,9 @@ var init_utils7 = __esm({
|
|
33228
33263
|
}
|
33229
33264
|
});
|
33230
33265
|
|
33231
|
-
// ../
|
33266
|
+
// ../drizzle-orm/dist/mysql-core/index.js
|
33232
33267
|
var init_mysql_core = __esm({
|
33233
|
-
"../
|
33268
|
+
"../drizzle-orm/dist/mysql-core/index.js"() {
|
33234
33269
|
"use strict";
|
33235
33270
|
init_alias4();
|
33236
33271
|
init_checks3();
|
@@ -33275,8 +33310,8 @@ var init_mysqlSerializer = __esm({
|
|
33275
33310
|
"src/serializer/mysqlSerializer.ts"() {
|
33276
33311
|
"use strict";
|
33277
33312
|
init_source();
|
33278
|
-
|
33279
|
-
|
33313
|
+
init_dist();
|
33314
|
+
init_dist();
|
33280
33315
|
init_mysql_core();
|
33281
33316
|
init_mysql_core();
|
33282
33317
|
init_outputs();
|
@@ -33600,7 +33635,7 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
33600
33635
|
onUpdate = true;
|
33601
33636
|
}
|
33602
33637
|
const newColumn = {
|
33603
|
-
default: columnDefault === null ? void 0 : /^-?[\d.]+(?:e-?\d+)?$/.test(columnDefault) && !columnType.startsWith(
|
33638
|
+
default: columnDefault === null ? void 0 : /^-?[\d.]+(?:e-?\d+)?$/.test(columnDefault) && !["decimal", "char", "varchar"].some((type) => columnType.startsWith(type)) ? Number(columnDefault) : isDefaultAnExpression ? clearDefaults(columnDefault, collation) : `'${columnDefault}'`,
|
33604
33639
|
autoincrement: isAutoincrement,
|
33605
33640
|
name: columnName,
|
33606
33641
|
type: changedType,
|
@@ -34078,7 +34113,7 @@ var prepareFromExports;
|
|
34078
34113
|
var init_pgImports = __esm({
|
34079
34114
|
"src/serializer/pgImports.ts"() {
|
34080
34115
|
"use strict";
|
34081
|
-
|
34116
|
+
init_dist();
|
34082
34117
|
init_pg_core();
|
34083
34118
|
init_utils8();
|
34084
34119
|
prepareFromExports = (exports2) => {
|
@@ -34117,7 +34152,7 @@ var prepareFromExports2, prepareFromSqliteImports;
|
|
34117
34152
|
var init_sqliteImports = __esm({
|
34118
34153
|
"src/serializer/sqliteImports.ts"() {
|
34119
34154
|
"use strict";
|
34120
|
-
|
34155
|
+
init_dist();
|
34121
34156
|
init_sqlite_core();
|
34122
34157
|
init_utils8();
|
34123
34158
|
prepareFromExports2 = (exports2) => {
|
@@ -34155,7 +34190,7 @@ var prepareFromExports3, prepareFromMySqlImports;
|
|
34155
34190
|
var init_mysqlImports = __esm({
|
34156
34191
|
"src/serializer/mysqlImports.ts"() {
|
34157
34192
|
"use strict";
|
34158
|
-
|
34193
|
+
init_dist();
|
34159
34194
|
init_mysql_core();
|
34160
34195
|
init_utils8();
|
34161
34196
|
prepareFromExports3 = (exports2) => {
|
@@ -35287,7 +35322,7 @@ var generateMigration = async (prev, cur) => {
|
|
35287
35322
|
};
|
35288
35323
|
var pushSchema = async (imports, drizzleInstance, schemaFilters) => {
|
35289
35324
|
const { applyPgSnapshotsDiff: applyPgSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35290
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35325
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35291
35326
|
const db = {
|
35292
35327
|
query: async (query, params) => {
|
35293
35328
|
const res = await drizzleInstance.execute(sql2.raw(query));
|
@@ -35357,7 +35392,7 @@ var generateSQLiteMigration = async (prev, cur) => {
|
|
35357
35392
|
};
|
35358
35393
|
var pushSQLiteSchema = async (imports, drizzleInstance) => {
|
35359
35394
|
const { applySqliteSnapshotsDiff: applySqliteSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35360
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35395
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35361
35396
|
const db = {
|
35362
35397
|
query: async (query, params) => {
|
35363
35398
|
const res = drizzleInstance.all(sql2.raw(query));
|
@@ -35434,7 +35469,7 @@ var pushMySQLSchema = async (imports, drizzleInstance, databaseName) => {
|
|
35434
35469
|
const { applyMysqlSnapshotsDiff: applyMysqlSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35435
35470
|
const { logSuggestionsAndReturn: logSuggestionsAndReturn3 } = await Promise.resolve().then(() => (init_mysqlPushUtils(), mysqlPushUtils_exports));
|
35436
35471
|
const { mysqlPushIntrospect: mysqlPushIntrospect2 } = await Promise.resolve().then(() => (init_mysqlIntrospect(), mysqlIntrospect_exports));
|
35437
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35472
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35438
35473
|
const db = {
|
35439
35474
|
query: async (query, params) => {
|
35440
35475
|
const res = await drizzleInstance.execute(sql2.raw(query));
|