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.mjs
CHANGED
@@ -8343,6 +8343,9 @@ var init_sqliteSchema = __esm({
|
|
8343
8343
|
});
|
8344
8344
|
|
8345
8345
|
// src/utils.ts
|
8346
|
+
function isPgArrayType(sqlType) {
|
8347
|
+
return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
|
8348
|
+
}
|
8346
8349
|
var copy, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
|
8347
8350
|
var init_utils = __esm({
|
8348
8351
|
"src/utils.ts"() {
|
@@ -8716,14 +8719,14 @@ var require_heap = __commonJS({
|
|
8716
8719
|
return item;
|
8717
8720
|
};
|
8718
8721
|
heapify = function(array, cmp) {
|
8719
|
-
var i, _i2,
|
8722
|
+
var i, _i2, _j2, _len, _ref, _ref1, _results, _results1;
|
8720
8723
|
if (cmp == null) {
|
8721
8724
|
cmp = defaultCmp;
|
8722
8725
|
}
|
8723
8726
|
_ref1 = function() {
|
8724
8727
|
_results1 = [];
|
8725
|
-
for (var
|
8726
|
-
_results1.push(
|
8728
|
+
for (var _j3 = 0, _ref2 = floor(array.length / 2); 0 <= _ref2 ? _j3 < _ref2 : _j3 > _ref2; 0 <= _ref2 ? _j3++ : _j3--) {
|
8729
|
+
_results1.push(_j3);
|
8727
8730
|
}
|
8728
8731
|
return _results1;
|
8729
8732
|
}.apply(this).reverse();
|
@@ -8764,7 +8767,7 @@ var require_heap = __commonJS({
|
|
8764
8767
|
return result.sort(cmp).reverse();
|
8765
8768
|
};
|
8766
8769
|
nsmallest = function(array, n, cmp) {
|
8767
|
-
var elem, i, los, result, _i2,
|
8770
|
+
var elem, i, los, result, _i2, _j2, _len, _ref, _ref1, _results;
|
8768
8771
|
if (cmp == null) {
|
8769
8772
|
cmp = defaultCmp;
|
8770
8773
|
}
|
@@ -8787,7 +8790,7 @@ var require_heap = __commonJS({
|
|
8787
8790
|
}
|
8788
8791
|
heapify(array, cmp);
|
8789
8792
|
_results = [];
|
8790
|
-
for (i =
|
8793
|
+
for (i = _j2 = 0, _ref1 = min2(n, array.length); 0 <= _ref1 ? _j2 < _ref1 : _j2 > _ref1; i = 0 <= _ref1 ? ++_j2 : --_j2) {
|
8791
8794
|
_results.push(heappop(array, cmp));
|
8792
8795
|
}
|
8793
8796
|
return _results;
|
@@ -17277,7 +17280,7 @@ var init_mjs = __esm({
|
|
17277
17280
|
}
|
17278
17281
|
});
|
17279
17282
|
|
17280
|
-
// ../
|
17283
|
+
// ../drizzle-orm/dist/entity.js
|
17281
17284
|
function is(value, type) {
|
17282
17285
|
if (!value || typeof value !== "object") {
|
17283
17286
|
return false;
|
@@ -17303,17 +17306,17 @@ function is(value, type) {
|
|
17303
17306
|
}
|
17304
17307
|
var entityKind, hasOwnEntityKind;
|
17305
17308
|
var init_entity = __esm({
|
17306
|
-
"../
|
17309
|
+
"../drizzle-orm/dist/entity.js"() {
|
17307
17310
|
"use strict";
|
17308
17311
|
entityKind = Symbol.for("drizzle:entityKind");
|
17309
17312
|
hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
|
17310
17313
|
}
|
17311
17314
|
});
|
17312
17315
|
|
17313
|
-
// ../
|
17316
|
+
// ../drizzle-orm/dist/column.js
|
17314
17317
|
var _a, Column2;
|
17315
17318
|
var init_column = __esm({
|
17316
|
-
"../
|
17319
|
+
"../drizzle-orm/dist/column.js"() {
|
17317
17320
|
"use strict";
|
17318
17321
|
init_entity();
|
17319
17322
|
_a = entityKind;
|
@@ -17367,10 +17370,10 @@ var init_column = __esm({
|
|
17367
17370
|
}
|
17368
17371
|
});
|
17369
17372
|
|
17370
|
-
// ../
|
17373
|
+
// ../drizzle-orm/dist/column-builder.js
|
17371
17374
|
var _a2, ColumnBuilder;
|
17372
17375
|
var init_column_builder = __esm({
|
17373
|
-
"../
|
17376
|
+
"../drizzle-orm/dist/column-builder.js"() {
|
17374
17377
|
"use strict";
|
17375
17378
|
init_entity();
|
17376
17379
|
_a2 = entityKind;
|
@@ -17472,7 +17475,7 @@ var init_column_builder = __esm({
|
|
17472
17475
|
}
|
17473
17476
|
});
|
17474
17477
|
|
17475
|
-
// ../
|
17478
|
+
// ../drizzle-orm/dist/table.js
|
17476
17479
|
function isTable(table4) {
|
17477
17480
|
return typeof table4 === "object" && table4 !== null && IsDrizzleTable in table4;
|
17478
17481
|
}
|
@@ -17482,9 +17485,9 @@ function getTableName(table4) {
|
|
17482
17485
|
function getTableUniqueName(table4) {
|
17483
17486
|
return `${table4[Schema] ?? "public"}.${table4[TableName]}`;
|
17484
17487
|
}
|
17485
|
-
var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, Table2;
|
17488
|
+
var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, _j, Table2;
|
17486
17489
|
var init_table = __esm({
|
17487
|
-
"../
|
17490
|
+
"../drizzle-orm/dist/table.js"() {
|
17488
17491
|
"use strict";
|
17489
17492
|
init_entity();
|
17490
17493
|
TableName = Symbol.for("drizzle:Name");
|
@@ -17496,32 +17499,34 @@ var init_table = __esm({
|
|
17496
17499
|
IsAlias = Symbol.for("drizzle:IsAlias");
|
17497
17500
|
ExtraConfigBuilder = Symbol.for("drizzle:ExtraConfigBuilder");
|
17498
17501
|
IsDrizzleTable = Symbol.for("drizzle:IsDrizzleTable");
|
17499
|
-
|
17502
|
+
_j = entityKind, _i = TableName, _h = OriginalName, _g = Schema, _f = Columns, _e = ExtraConfigColumns, _d = BaseName, _c = IsAlias, _b = IsDrizzleTable, _a3 = ExtraConfigBuilder;
|
17500
17503
|
Table2 = class {
|
17501
17504
|
constructor(name2, schema4, baseName) {
|
17502
17505
|
/**
|
17503
17506
|
* @internal
|
17504
17507
|
* Can be changed if the table is aliased.
|
17505
17508
|
*/
|
17506
|
-
__publicField(this,
|
17509
|
+
__publicField(this, _i);
|
17507
17510
|
/**
|
17508
17511
|
* @internal
|
17509
17512
|
* Used to store the original name of the table, before any aliasing.
|
17510
17513
|
*/
|
17514
|
+
__publicField(this, _h);
|
17515
|
+
/** @internal */
|
17511
17516
|
__publicField(this, _g);
|
17512
17517
|
/** @internal */
|
17513
17518
|
__publicField(this, _f);
|
17514
17519
|
/** @internal */
|
17515
17520
|
__publicField(this, _e);
|
17516
|
-
/** @internal */
|
17517
|
-
__publicField(this, _d);
|
17518
17521
|
/**
|
17519
17522
|
* @internal
|
17520
17523
|
* Used to store the table name before the transformation via the `tableCreator` functions.
|
17521
17524
|
*/
|
17522
|
-
__publicField(this,
|
17525
|
+
__publicField(this, _d);
|
17523
17526
|
/** @internal */
|
17524
|
-
__publicField(this,
|
17527
|
+
__publicField(this, _c, false);
|
17528
|
+
/** @internal */
|
17529
|
+
__publicField(this, _b, true);
|
17525
17530
|
/** @internal */
|
17526
17531
|
__publicField(this, _a3);
|
17527
17532
|
this[TableName] = this[OriginalName] = name2;
|
@@ -17529,7 +17534,7 @@ var init_table = __esm({
|
|
17529
17534
|
this[BaseName] = baseName;
|
17530
17535
|
}
|
17531
17536
|
};
|
17532
|
-
__publicField(Table2,
|
17537
|
+
__publicField(Table2, _j, "Table");
|
17533
17538
|
/** @internal */
|
17534
17539
|
__publicField(Table2, "Symbol", {
|
17535
17540
|
Name: TableName,
|
@@ -17544,7 +17549,7 @@ var init_table = __esm({
|
|
17544
17549
|
}
|
17545
17550
|
});
|
17546
17551
|
|
17547
|
-
// ../
|
17552
|
+
// ../drizzle-orm/dist/pg-core/table.js
|
17548
17553
|
function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
17549
17554
|
const rawTable = new PgTable(name2, schema4, baseName);
|
17550
17555
|
const builtColumns = Object.fromEntries(
|
@@ -17572,7 +17577,7 @@ function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name
|
|
17572
17577
|
}
|
17573
17578
|
var InlineForeignKeys, _a4, _b2, _c2, _d2, PgTable, pgTable;
|
17574
17579
|
var init_table2 = __esm({
|
17575
|
-
"../
|
17580
|
+
"../drizzle-orm/dist/pg-core/table.js"() {
|
17576
17581
|
"use strict";
|
17577
17582
|
init_entity();
|
17578
17583
|
init_table();
|
@@ -17597,10 +17602,10 @@ var init_table2 = __esm({
|
|
17597
17602
|
}
|
17598
17603
|
});
|
17599
17604
|
|
17600
|
-
// ../
|
17605
|
+
// ../drizzle-orm/dist/pg-core/foreign-keys.js
|
17601
17606
|
var _a5, ForeignKeyBuilder, _a6, ForeignKey;
|
17602
17607
|
var init_foreign_keys = __esm({
|
17603
|
-
"../
|
17608
|
+
"../drizzle-orm/dist/pg-core/foreign-keys.js"() {
|
17604
17609
|
"use strict";
|
17605
17610
|
init_entity();
|
17606
17611
|
init_table2();
|
@@ -17664,23 +17669,23 @@ var init_foreign_keys = __esm({
|
|
17664
17669
|
}
|
17665
17670
|
});
|
17666
17671
|
|
17667
|
-
// ../
|
17672
|
+
// ../drizzle-orm/dist/tracing-utils.js
|
17668
17673
|
function iife(fn, ...args) {
|
17669
17674
|
return fn(...args);
|
17670
17675
|
}
|
17671
17676
|
var init_tracing_utils = __esm({
|
17672
|
-
"../
|
17677
|
+
"../drizzle-orm/dist/tracing-utils.js"() {
|
17673
17678
|
"use strict";
|
17674
17679
|
}
|
17675
17680
|
});
|
17676
17681
|
|
17677
|
-
// ../
|
17682
|
+
// ../drizzle-orm/dist/pg-core/unique-constraint.js
|
17678
17683
|
function uniqueKeyName(table4, columns) {
|
17679
17684
|
return `${table4[PgTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
17680
17685
|
}
|
17681
17686
|
var _a7, UniqueConstraintBuilder, _a8, UniqueOnConstraintBuilder, _a9, UniqueConstraint;
|
17682
17687
|
var init_unique_constraint = __esm({
|
17683
|
-
"../
|
17688
|
+
"../drizzle-orm/dist/pg-core/unique-constraint.js"() {
|
17684
17689
|
"use strict";
|
17685
17690
|
init_entity();
|
17686
17691
|
init_table2();
|
@@ -17735,7 +17740,7 @@ var init_unique_constraint = __esm({
|
|
17735
17740
|
}
|
17736
17741
|
});
|
17737
17742
|
|
17738
|
-
// ../
|
17743
|
+
// ../drizzle-orm/dist/pg-core/utils/array.js
|
17739
17744
|
function parsePgArrayValue(arrayString, startFrom, inQuotes) {
|
17740
17745
|
for (let i = startFrom; i < arrayString.length; i++) {
|
17741
17746
|
const char = arrayString[i];
|
@@ -17811,15 +17816,15 @@ function makePgArray(array) {
|
|
17811
17816
|
}).join(",")}}`;
|
17812
17817
|
}
|
17813
17818
|
var init_array = __esm({
|
17814
|
-
"../
|
17819
|
+
"../drizzle-orm/dist/pg-core/utils/array.js"() {
|
17815
17820
|
"use strict";
|
17816
17821
|
}
|
17817
17822
|
});
|
17818
17823
|
|
17819
|
-
// ../
|
17824
|
+
// ../drizzle-orm/dist/pg-core/columns/common.js
|
17820
17825
|
var _a10, _b3, PgColumnBuilder, _a11, _b4, PgColumn, _a12, _b5, ExtraConfigColumn, _a13, IndexedColumn, _a14, _b6, PgArrayBuilder, _a15, _b7, _PgArray, PgArray;
|
17821
17826
|
var init_common2 = __esm({
|
17822
|
-
"../
|
17827
|
+
"../drizzle-orm/dist/pg-core/columns/common.js"() {
|
17823
17828
|
"use strict";
|
17824
17829
|
init_column_builder();
|
17825
17830
|
init_column();
|
@@ -18020,7 +18025,7 @@ var init_common2 = __esm({
|
|
18020
18025
|
}
|
18021
18026
|
});
|
18022
18027
|
|
18023
|
-
// ../
|
18028
|
+
// ../drizzle-orm/dist/pg-core/columns/enum.js
|
18024
18029
|
function isPgEnum(obj) {
|
18025
18030
|
return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
|
18026
18031
|
}
|
@@ -18038,7 +18043,7 @@ function pgEnumWithSchema(enumName, values, schema4) {
|
|
18038
18043
|
}
|
18039
18044
|
var isPgEnumSym, _a16, _b8, PgEnumColumnBuilder, _a17, _b9, PgEnumColumn;
|
18040
18045
|
var init_enum = __esm({
|
18041
|
-
"../
|
18046
|
+
"../drizzle-orm/dist/pg-core/columns/enum.js"() {
|
18042
18047
|
"use strict";
|
18043
18048
|
init_entity();
|
18044
18049
|
init_common2();
|
@@ -18072,10 +18077,10 @@ var init_enum = __esm({
|
|
18072
18077
|
}
|
18073
18078
|
});
|
18074
18079
|
|
18075
|
-
// ../
|
18080
|
+
// ../drizzle-orm/dist/subquery.js
|
18076
18081
|
var _a18, Subquery, _a19, _b10, WithSubquery;
|
18077
18082
|
var init_subquery = __esm({
|
18078
|
-
"../
|
18083
|
+
"../drizzle-orm/dist/subquery.js"() {
|
18079
18084
|
"use strict";
|
18080
18085
|
init_entity();
|
18081
18086
|
_a18 = entityKind;
|
@@ -18100,19 +18105,19 @@ var init_subquery = __esm({
|
|
18100
18105
|
}
|
18101
18106
|
});
|
18102
18107
|
|
18103
|
-
// ../
|
18108
|
+
// ../drizzle-orm/dist/version.js
|
18104
18109
|
var version;
|
18105
18110
|
var init_version = __esm({
|
18106
|
-
"../
|
18111
|
+
"../drizzle-orm/dist/version.js"() {
|
18107
18112
|
"use strict";
|
18108
|
-
version = "0.32.
|
18113
|
+
version = "0.32.2";
|
18109
18114
|
}
|
18110
18115
|
});
|
18111
18116
|
|
18112
|
-
// ../
|
18117
|
+
// ../drizzle-orm/dist/tracing.js
|
18113
18118
|
var otel, rawTracer, tracer;
|
18114
18119
|
var init_tracing = __esm({
|
18115
|
-
"../
|
18120
|
+
"../drizzle-orm/dist/tracing.js"() {
|
18116
18121
|
"use strict";
|
18117
18122
|
init_tracing_utils();
|
18118
18123
|
init_version();
|
@@ -18150,16 +18155,16 @@ var init_tracing = __esm({
|
|
18150
18155
|
}
|
18151
18156
|
});
|
18152
18157
|
|
18153
|
-
// ../
|
18158
|
+
// ../drizzle-orm/dist/view-common.js
|
18154
18159
|
var ViewBaseConfig;
|
18155
18160
|
var init_view_common = __esm({
|
18156
|
-
"../
|
18161
|
+
"../drizzle-orm/dist/view-common.js"() {
|
18157
18162
|
"use strict";
|
18158
18163
|
ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
|
18159
18164
|
}
|
18160
18165
|
});
|
18161
18166
|
|
18162
|
-
// ../
|
18167
|
+
// ../drizzle-orm/dist/sql/sql.js
|
18163
18168
|
function isSQLWrapper(value) {
|
18164
18169
|
return value !== null && value !== void 0 && typeof value.getSQL === "function";
|
18165
18170
|
}
|
@@ -18212,7 +18217,7 @@ function fillPlaceholders(params, values) {
|
|
18212
18217
|
}
|
18213
18218
|
var _a20, FakePrimitiveParam, _a21, StringChunk, _a22, _SQL, SQL, _a23, Name, noopDecoder, noopEncoder, noopMapper, _a24, Param, _a25, Placeholder, _a26, _b11, View;
|
18214
18219
|
var init_sql = __esm({
|
18215
|
-
"../
|
18220
|
+
"../drizzle-orm/dist/sql/sql.js"() {
|
18216
18221
|
"use strict";
|
18217
18222
|
init_entity();
|
18218
18223
|
init_enum();
|
@@ -18327,7 +18332,7 @@ var init_sql = __esm({
|
|
18327
18332
|
if (inlineParams) {
|
18328
18333
|
return { sql: this.mapInlineParam(mappedValue, config), params: [] };
|
18329
18334
|
}
|
18330
|
-
let typings;
|
18335
|
+
let typings = ["none"];
|
18331
18336
|
if (prepareTyping) {
|
18332
18337
|
typings = [prepareTyping(chunk.encoder)];
|
18333
18338
|
}
|
@@ -18369,7 +18374,7 @@ var init_sql = __esm({
|
|
18369
18374
|
if (inlineParams) {
|
18370
18375
|
return { sql: this.mapInlineParam(chunk, config), params: [] };
|
18371
18376
|
}
|
18372
|
-
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
|
18377
|
+
return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
|
18373
18378
|
}));
|
18374
18379
|
}
|
18375
18380
|
mapInlineParam(chunk, { escapeString }) {
|
@@ -18558,7 +18563,7 @@ var init_sql = __esm({
|
|
18558
18563
|
}
|
18559
18564
|
});
|
18560
18565
|
|
18561
|
-
// ../
|
18566
|
+
// ../drizzle-orm/dist/alias.js
|
18562
18567
|
function aliasedTable(table4, tableAlias) {
|
18563
18568
|
return new Proxy(table4, new TableAliasProxyHandler(tableAlias, false));
|
18564
18569
|
}
|
@@ -18590,7 +18595,7 @@ function mapColumnsInSQLToAlias(query, alias) {
|
|
18590
18595
|
}
|
18591
18596
|
var _a27, ColumnAliasProxyHandler, _a28, TableAliasProxyHandler, _a29, RelationTableAliasProxyHandler;
|
18592
18597
|
var init_alias = __esm({
|
18593
|
-
"../
|
18598
|
+
"../drizzle-orm/dist/alias.js"() {
|
18594
18599
|
"use strict";
|
18595
18600
|
init_column();
|
18596
18601
|
init_entity();
|
@@ -18671,10 +18676,10 @@ var init_alias = __esm({
|
|
18671
18676
|
}
|
18672
18677
|
});
|
18673
18678
|
|
18674
|
-
// ../
|
18679
|
+
// ../drizzle-orm/dist/errors.js
|
18675
18680
|
var _a30, _b12, DrizzleError, _a31, _b13, TransactionRollbackError;
|
18676
18681
|
var init_errors = __esm({
|
18677
|
-
"../
|
18682
|
+
"../drizzle-orm/dist/errors.js"() {
|
18678
18683
|
"use strict";
|
18679
18684
|
init_entity();
|
18680
18685
|
DrizzleError = class extends (_b12 = Error, _a30 = entityKind, _b12) {
|
@@ -18694,7 +18699,7 @@ var init_errors = __esm({
|
|
18694
18699
|
}
|
18695
18700
|
});
|
18696
18701
|
|
18697
|
-
// ../
|
18702
|
+
// ../drizzle-orm/dist/sql/expressions/conditions.js
|
18698
18703
|
function bindIfParam(value, column4) {
|
18699
18704
|
if (isDriverValueEncoder(column4) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column2) && !is(value, Table2) && !is(value, View)) {
|
18700
18705
|
return new Param(value, column4);
|
@@ -18822,7 +18827,7 @@ function arrayOverlaps(column4, values) {
|
|
18822
18827
|
}
|
18823
18828
|
var eq, ne, gt, gte, lt, lte;
|
18824
18829
|
var init_conditions = __esm({
|
18825
|
-
"../
|
18830
|
+
"../drizzle-orm/dist/sql/expressions/conditions.js"() {
|
18826
18831
|
"use strict";
|
18827
18832
|
init_column();
|
18828
18833
|
init_entity();
|
@@ -18849,7 +18854,7 @@ var init_conditions = __esm({
|
|
18849
18854
|
}
|
18850
18855
|
});
|
18851
18856
|
|
18852
|
-
// ../
|
18857
|
+
// ../drizzle-orm/dist/sql/expressions/select.js
|
18853
18858
|
function asc(column4) {
|
18854
18859
|
return sql`${column4} asc`;
|
18855
18860
|
}
|
@@ -18857,33 +18862,33 @@ function desc(column4) {
|
|
18857
18862
|
return sql`${column4} desc`;
|
18858
18863
|
}
|
18859
18864
|
var init_select = __esm({
|
18860
|
-
"../
|
18865
|
+
"../drizzle-orm/dist/sql/expressions/select.js"() {
|
18861
18866
|
"use strict";
|
18862
18867
|
init_sql();
|
18863
18868
|
}
|
18864
18869
|
});
|
18865
18870
|
|
18866
|
-
// ../
|
18871
|
+
// ../drizzle-orm/dist/sql/expressions/index.js
|
18867
18872
|
var init_expressions = __esm({
|
18868
|
-
"../
|
18873
|
+
"../drizzle-orm/dist/sql/expressions/index.js"() {
|
18869
18874
|
"use strict";
|
18870
18875
|
init_conditions();
|
18871
18876
|
init_select();
|
18872
18877
|
}
|
18873
18878
|
});
|
18874
18879
|
|
18875
|
-
// ../
|
18880
|
+
// ../drizzle-orm/dist/expressions.js
|
18876
18881
|
var init_expressions2 = __esm({
|
18877
|
-
"../
|
18882
|
+
"../drizzle-orm/dist/expressions.js"() {
|
18878
18883
|
"use strict";
|
18879
18884
|
init_expressions();
|
18880
18885
|
}
|
18881
18886
|
});
|
18882
18887
|
|
18883
|
-
// ../
|
18888
|
+
// ../drizzle-orm/dist/logger.js
|
18884
18889
|
var _a32, ConsoleLogWriter, _a33, DefaultLogger, _a34, NoopLogger;
|
18885
18890
|
var init_logger = __esm({
|
18886
|
-
"../
|
18891
|
+
"../drizzle-orm/dist/logger.js"() {
|
18887
18892
|
"use strict";
|
18888
18893
|
init_entity();
|
18889
18894
|
_a32 = entityKind;
|
@@ -18921,17 +18926,17 @@ var init_logger = __esm({
|
|
18921
18926
|
}
|
18922
18927
|
});
|
18923
18928
|
|
18924
|
-
// ../
|
18929
|
+
// ../drizzle-orm/dist/operations.js
|
18925
18930
|
var init_operations = __esm({
|
18926
|
-
"../
|
18931
|
+
"../drizzle-orm/dist/operations.js"() {
|
18927
18932
|
"use strict";
|
18928
18933
|
}
|
18929
18934
|
});
|
18930
18935
|
|
18931
|
-
// ../
|
18936
|
+
// ../drizzle-orm/dist/query-promise.js
|
18932
18937
|
var _a35, _b14, QueryPromise;
|
18933
18938
|
var init_query_promise = __esm({
|
18934
|
-
"../
|
18939
|
+
"../drizzle-orm/dist/query-promise.js"() {
|
18935
18940
|
"use strict";
|
18936
18941
|
init_entity();
|
18937
18942
|
_b14 = entityKind, _a35 = Symbol.toStringTag;
|
@@ -18962,10 +18967,10 @@ var init_query_promise = __esm({
|
|
18962
18967
|
}
|
18963
18968
|
});
|
18964
18969
|
|
18965
|
-
// ../
|
18970
|
+
// ../drizzle-orm/dist/pg-core/primary-keys.js
|
18966
18971
|
var _a36, PrimaryKeyBuilder, _a37, PrimaryKey;
|
18967
18972
|
var init_primary_keys = __esm({
|
18968
|
-
"../
|
18973
|
+
"../drizzle-orm/dist/pg-core/primary-keys.js"() {
|
18969
18974
|
"use strict";
|
18970
18975
|
init_entity();
|
18971
18976
|
init_table2();
|
@@ -19002,7 +19007,7 @@ var init_primary_keys = __esm({
|
|
19002
19007
|
}
|
19003
19008
|
});
|
19004
19009
|
|
19005
|
-
// ../
|
19010
|
+
// ../drizzle-orm/dist/relations.js
|
19006
19011
|
function getOperators() {
|
19007
19012
|
return {
|
19008
19013
|
and,
|
@@ -19223,7 +19228,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
|
|
19223
19228
|
}
|
19224
19229
|
var _a38, Relation, _a39, Relations, _a40, _b15, _One, One, _a41, _b16, _Many, Many;
|
19225
19230
|
var init_relations = __esm({
|
19226
|
-
"../
|
19231
|
+
"../drizzle-orm/dist/relations.js"() {
|
19227
19232
|
"use strict";
|
19228
19233
|
init_table();
|
19229
19234
|
init_column();
|
@@ -19290,7 +19295,7 @@ var init_relations = __esm({
|
|
19290
19295
|
}
|
19291
19296
|
});
|
19292
19297
|
|
19293
|
-
// ../
|
19298
|
+
// ../drizzle-orm/dist/sql/functions/aggregate.js
|
19294
19299
|
function count(expression) {
|
19295
19300
|
return sql`count(${expression || sql.raw("*")})`.mapWith(Number);
|
19296
19301
|
}
|
@@ -19316,7 +19321,7 @@ function min(expression) {
|
|
19316
19321
|
return sql`min(${expression})`.mapWith(is(expression, Column2) ? expression : String);
|
19317
19322
|
}
|
19318
19323
|
var init_aggregate = __esm({
|
19319
|
-
"../
|
19324
|
+
"../drizzle-orm/dist/sql/functions/aggregate.js"() {
|
19320
19325
|
"use strict";
|
19321
19326
|
init_column();
|
19322
19327
|
init_entity();
|
@@ -19324,7 +19329,7 @@ var init_aggregate = __esm({
|
|
19324
19329
|
}
|
19325
19330
|
});
|
19326
19331
|
|
19327
|
-
// ../
|
19332
|
+
// ../drizzle-orm/dist/sql/functions/vector.js
|
19328
19333
|
function toSql(value) {
|
19329
19334
|
return JSON.stringify(value);
|
19330
19335
|
}
|
@@ -19365,24 +19370,24 @@ function jaccardDistance(column4, value) {
|
|
19365
19370
|
return sql`${column4} <%> ${value}`;
|
19366
19371
|
}
|
19367
19372
|
var init_vector = __esm({
|
19368
|
-
"../
|
19373
|
+
"../drizzle-orm/dist/sql/functions/vector.js"() {
|
19369
19374
|
"use strict";
|
19370
19375
|
init_sql();
|
19371
19376
|
}
|
19372
19377
|
});
|
19373
19378
|
|
19374
|
-
// ../
|
19379
|
+
// ../drizzle-orm/dist/sql/functions/index.js
|
19375
19380
|
var init_functions = __esm({
|
19376
|
-
"../
|
19381
|
+
"../drizzle-orm/dist/sql/functions/index.js"() {
|
19377
19382
|
"use strict";
|
19378
19383
|
init_aggregate();
|
19379
19384
|
init_vector();
|
19380
19385
|
}
|
19381
19386
|
});
|
19382
19387
|
|
19383
|
-
// ../
|
19388
|
+
// ../drizzle-orm/dist/sql/index.js
|
19384
19389
|
var init_sql2 = __esm({
|
19385
|
-
"../
|
19390
|
+
"../drizzle-orm/dist/sql/index.js"() {
|
19386
19391
|
"use strict";
|
19387
19392
|
init_expressions();
|
19388
19393
|
init_functions();
|
@@ -19390,7 +19395,7 @@ var init_sql2 = __esm({
|
|
19390
19395
|
}
|
19391
19396
|
});
|
19392
19397
|
|
19393
|
-
// ../
|
19398
|
+
// ../drizzle-orm/dist/utils.js
|
19394
19399
|
function mapResultRow(columns, row, joinsNotNullableMap) {
|
19395
19400
|
const nullifyMap = {};
|
19396
19401
|
const result = columns.reduce(
|
@@ -19498,7 +19503,7 @@ function getTableLikeName(table4) {
|
|
19498
19503
|
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];
|
19499
19504
|
}
|
19500
19505
|
var init_utils2 = __esm({
|
19501
|
-
"../
|
19506
|
+
"../drizzle-orm/dist/utils.js"() {
|
19502
19507
|
"use strict";
|
19503
19508
|
init_column();
|
19504
19509
|
init_entity();
|
@@ -19509,9 +19514,9 @@ var init_utils2 = __esm({
|
|
19509
19514
|
}
|
19510
19515
|
});
|
19511
19516
|
|
19512
|
-
// ../
|
19513
|
-
var
|
19514
|
-
__export(
|
19517
|
+
// ../drizzle-orm/dist/index.js
|
19518
|
+
var dist_exports = {};
|
19519
|
+
__export(dist_exports, {
|
19515
19520
|
BaseName: () => BaseName,
|
19516
19521
|
Column: () => Column2,
|
19517
19522
|
ColumnAliasProxyHandler: () => ColumnAliasProxyHandler,
|
@@ -19625,8 +19630,8 @@ __export(drizzle_orm_exports, {
|
|
19625
19630
|
sum: () => sum,
|
19626
19631
|
sumDistinct: () => sumDistinct
|
19627
19632
|
});
|
19628
|
-
var
|
19629
|
-
"../
|
19633
|
+
var init_dist = __esm({
|
19634
|
+
"../drizzle-orm/dist/index.js"() {
|
19630
19635
|
"use strict";
|
19631
19636
|
init_alias();
|
19632
19637
|
init_column_builder();
|
@@ -19646,17 +19651,17 @@ var init_drizzle_orm = __esm({
|
|
19646
19651
|
}
|
19647
19652
|
});
|
19648
19653
|
|
19649
|
-
// ../
|
19654
|
+
// ../drizzle-orm/dist/pg-core/alias.js
|
19650
19655
|
var init_alias2 = __esm({
|
19651
|
-
"../
|
19656
|
+
"../drizzle-orm/dist/pg-core/alias.js"() {
|
19652
19657
|
"use strict";
|
19653
19658
|
}
|
19654
19659
|
});
|
19655
19660
|
|
19656
|
-
// ../
|
19661
|
+
// ../drizzle-orm/dist/pg-core/checks.js
|
19657
19662
|
var _a42, CheckBuilder, _a43, Check;
|
19658
19663
|
var init_checks = __esm({
|
19659
|
-
"../
|
19664
|
+
"../drizzle-orm/dist/pg-core/checks.js"() {
|
19660
19665
|
"use strict";
|
19661
19666
|
init_entity();
|
19662
19667
|
_a42 = entityKind;
|
@@ -19686,10 +19691,10 @@ var init_checks = __esm({
|
|
19686
19691
|
}
|
19687
19692
|
});
|
19688
19693
|
|
19689
|
-
// ../
|
19694
|
+
// ../drizzle-orm/dist/pg-core/columns/int.common.js
|
19690
19695
|
var _a44, _b17, PgIntColumnBaseBuilder;
|
19691
19696
|
var init_int_common = __esm({
|
19692
|
-
"../
|
19697
|
+
"../drizzle-orm/dist/pg-core/columns/int.common.js"() {
|
19693
19698
|
"use strict";
|
19694
19699
|
init_entity();
|
19695
19700
|
init_common2();
|
@@ -19733,10 +19738,10 @@ var init_int_common = __esm({
|
|
19733
19738
|
}
|
19734
19739
|
});
|
19735
19740
|
|
19736
|
-
// ../
|
19741
|
+
// ../drizzle-orm/dist/pg-core/columns/bigint.js
|
19737
19742
|
var _a45, _b18, PgBigInt53Builder, _a46, _b19, PgBigInt53, _a47, _b20, PgBigInt64Builder, _a48, _b21, PgBigInt64;
|
19738
19743
|
var init_bigint = __esm({
|
19739
|
-
"../
|
19744
|
+
"../drizzle-orm/dist/pg-core/columns/bigint.js"() {
|
19740
19745
|
"use strict";
|
19741
19746
|
init_entity();
|
19742
19747
|
init_common2();
|
@@ -19789,10 +19794,10 @@ var init_bigint = __esm({
|
|
19789
19794
|
}
|
19790
19795
|
});
|
19791
19796
|
|
19792
|
-
// ../
|
19797
|
+
// ../drizzle-orm/dist/pg-core/columns/bigserial.js
|
19793
19798
|
var _a49, _b22, PgBigSerial53Builder, _a50, _b23, PgBigSerial53, _a51, _b24, PgBigSerial64Builder, _a52, _b25, PgBigSerial64;
|
19794
19799
|
var init_bigserial = __esm({
|
19795
|
-
"../
|
19800
|
+
"../drizzle-orm/dist/pg-core/columns/bigserial.js"() {
|
19796
19801
|
"use strict";
|
19797
19802
|
init_entity();
|
19798
19803
|
init_common2();
|
@@ -19850,10 +19855,10 @@ var init_bigserial = __esm({
|
|
19850
19855
|
}
|
19851
19856
|
});
|
19852
19857
|
|
19853
|
-
// ../
|
19858
|
+
// ../drizzle-orm/dist/pg-core/columns/boolean.js
|
19854
19859
|
var _a53, _b26, PgBooleanBuilder, _a54, _b27, PgBoolean;
|
19855
19860
|
var init_boolean = __esm({
|
19856
|
-
"../
|
19861
|
+
"../drizzle-orm/dist/pg-core/columns/boolean.js"() {
|
19857
19862
|
"use strict";
|
19858
19863
|
init_entity();
|
19859
19864
|
init_common2();
|
@@ -19876,10 +19881,10 @@ var init_boolean = __esm({
|
|
19876
19881
|
}
|
19877
19882
|
});
|
19878
19883
|
|
19879
|
-
// ../
|
19884
|
+
// ../drizzle-orm/dist/pg-core/columns/char.js
|
19880
19885
|
var _a55, _b28, PgCharBuilder, _a56, _b29, PgChar;
|
19881
19886
|
var init_char = __esm({
|
19882
|
-
"../
|
19887
|
+
"../drizzle-orm/dist/pg-core/columns/char.js"() {
|
19883
19888
|
"use strict";
|
19884
19889
|
init_entity();
|
19885
19890
|
init_common2();
|
@@ -19909,10 +19914,10 @@ var init_char = __esm({
|
|
19909
19914
|
}
|
19910
19915
|
});
|
19911
19916
|
|
19912
|
-
// ../
|
19917
|
+
// ../drizzle-orm/dist/pg-core/columns/cidr.js
|
19913
19918
|
var _a57, _b30, PgCidrBuilder, _a58, _b31, PgCidr;
|
19914
19919
|
var init_cidr = __esm({
|
19915
|
-
"../
|
19920
|
+
"../drizzle-orm/dist/pg-core/columns/cidr.js"() {
|
19916
19921
|
"use strict";
|
19917
19922
|
init_entity();
|
19918
19923
|
init_common2();
|
@@ -19935,10 +19940,10 @@ var init_cidr = __esm({
|
|
19935
19940
|
}
|
19936
19941
|
});
|
19937
19942
|
|
19938
|
-
// ../
|
19943
|
+
// ../drizzle-orm/dist/pg-core/columns/custom.js
|
19939
19944
|
var _a59, _b32, PgCustomColumnBuilder, _a60, _b33, PgCustomColumn;
|
19940
19945
|
var init_custom = __esm({
|
19941
|
-
"../
|
19946
|
+
"../drizzle-orm/dist/pg-core/columns/custom.js"() {
|
19942
19947
|
"use strict";
|
19943
19948
|
init_entity();
|
19944
19949
|
init_common2();
|
@@ -19981,10 +19986,10 @@ var init_custom = __esm({
|
|
19981
19986
|
}
|
19982
19987
|
});
|
19983
19988
|
|
19984
|
-
// ../
|
19989
|
+
// ../drizzle-orm/dist/pg-core/columns/date.common.js
|
19985
19990
|
var _a61, _b34, PgDateColumnBaseBuilder;
|
19986
19991
|
var init_date_common = __esm({
|
19987
|
-
"../
|
19992
|
+
"../drizzle-orm/dist/pg-core/columns/date.common.js"() {
|
19988
19993
|
"use strict";
|
19989
19994
|
init_entity();
|
19990
19995
|
init_sql();
|
@@ -19998,10 +20003,10 @@ var init_date_common = __esm({
|
|
19998
20003
|
}
|
19999
20004
|
});
|
20000
20005
|
|
20001
|
-
// ../
|
20006
|
+
// ../drizzle-orm/dist/pg-core/columns/date.js
|
20002
20007
|
var _a62, _b35, PgDateBuilder, _a63, _b36, PgDate, _a64, _b37, PgDateStringBuilder, _a65, _b38, PgDateString;
|
20003
20008
|
var init_date = __esm({
|
20004
|
-
"../
|
20009
|
+
"../drizzle-orm/dist/pg-core/columns/date.js"() {
|
20005
20010
|
"use strict";
|
20006
20011
|
init_entity();
|
20007
20012
|
init_common2();
|
@@ -20050,10 +20055,10 @@ var init_date = __esm({
|
|
20050
20055
|
}
|
20051
20056
|
});
|
20052
20057
|
|
20053
|
-
// ../
|
20058
|
+
// ../drizzle-orm/dist/pg-core/columns/double-precision.js
|
20054
20059
|
var _a66, _b39, PgDoublePrecisionBuilder, _a67, _b40, PgDoublePrecision;
|
20055
20060
|
var init_double_precision = __esm({
|
20056
|
-
"../
|
20061
|
+
"../drizzle-orm/dist/pg-core/columns/double-precision.js"() {
|
20057
20062
|
"use strict";
|
20058
20063
|
init_entity();
|
20059
20064
|
init_common2();
|
@@ -20085,10 +20090,10 @@ var init_double_precision = __esm({
|
|
20085
20090
|
}
|
20086
20091
|
});
|
20087
20092
|
|
20088
|
-
// ../
|
20093
|
+
// ../drizzle-orm/dist/pg-core/columns/inet.js
|
20089
20094
|
var _a68, _b41, PgInetBuilder, _a69, _b42, PgInet;
|
20090
20095
|
var init_inet = __esm({
|
20091
|
-
"../
|
20096
|
+
"../drizzle-orm/dist/pg-core/columns/inet.js"() {
|
20092
20097
|
"use strict";
|
20093
20098
|
init_entity();
|
20094
20099
|
init_common2();
|
@@ -20111,10 +20116,10 @@ var init_inet = __esm({
|
|
20111
20116
|
}
|
20112
20117
|
});
|
20113
20118
|
|
20114
|
-
// ../
|
20119
|
+
// ../drizzle-orm/dist/pg-core/columns/integer.js
|
20115
20120
|
var _a70, _b43, PgIntegerBuilder, _a71, _b44, PgInteger;
|
20116
20121
|
var init_integer = __esm({
|
20117
|
-
"../
|
20122
|
+
"../drizzle-orm/dist/pg-core/columns/integer.js"() {
|
20118
20123
|
"use strict";
|
20119
20124
|
init_entity();
|
20120
20125
|
init_common2();
|
@@ -20144,10 +20149,10 @@ var init_integer = __esm({
|
|
20144
20149
|
}
|
20145
20150
|
});
|
20146
20151
|
|
20147
|
-
// ../
|
20152
|
+
// ../drizzle-orm/dist/pg-core/columns/interval.js
|
20148
20153
|
var _a72, _b45, PgIntervalBuilder, _a73, _b46, PgInterval;
|
20149
20154
|
var init_interval = __esm({
|
20150
|
-
"../
|
20155
|
+
"../drizzle-orm/dist/pg-core/columns/interval.js"() {
|
20151
20156
|
"use strict";
|
20152
20157
|
init_entity();
|
20153
20158
|
init_common2();
|
@@ -20178,10 +20183,10 @@ var init_interval = __esm({
|
|
20178
20183
|
}
|
20179
20184
|
});
|
20180
20185
|
|
20181
|
-
// ../
|
20186
|
+
// ../drizzle-orm/dist/pg-core/columns/json.js
|
20182
20187
|
var _a74, _b47, PgJsonBuilder, _a75, _b48, PgJson;
|
20183
20188
|
var init_json = __esm({
|
20184
|
-
"../
|
20189
|
+
"../drizzle-orm/dist/pg-core/columns/json.js"() {
|
20185
20190
|
"use strict";
|
20186
20191
|
init_entity();
|
20187
20192
|
init_common2();
|
@@ -20220,10 +20225,10 @@ var init_json = __esm({
|
|
20220
20225
|
}
|
20221
20226
|
});
|
20222
20227
|
|
20223
|
-
// ../
|
20228
|
+
// ../drizzle-orm/dist/pg-core/columns/jsonb.js
|
20224
20229
|
var _a76, _b49, PgJsonbBuilder, _a77, _b50, PgJsonb;
|
20225
20230
|
var init_jsonb = __esm({
|
20226
|
-
"../
|
20231
|
+
"../drizzle-orm/dist/pg-core/columns/jsonb.js"() {
|
20227
20232
|
"use strict";
|
20228
20233
|
init_entity();
|
20229
20234
|
init_common2();
|
@@ -20262,10 +20267,10 @@ var init_jsonb = __esm({
|
|
20262
20267
|
}
|
20263
20268
|
});
|
20264
20269
|
|
20265
|
-
// ../
|
20270
|
+
// ../drizzle-orm/dist/pg-core/columns/line.js
|
20266
20271
|
var _a78, _b51, PgLineBuilder, _a79, _b52, PgLineTuple, _a80, _b53, PgLineABCBuilder, _a81, _b54, PgLineABC;
|
20267
20272
|
var init_line = __esm({
|
20268
|
-
"../
|
20273
|
+
"../drizzle-orm/dist/pg-core/columns/line.js"() {
|
20269
20274
|
"use strict";
|
20270
20275
|
init_entity();
|
20271
20276
|
init_common2();
|
@@ -20324,10 +20329,10 @@ var init_line = __esm({
|
|
20324
20329
|
}
|
20325
20330
|
});
|
20326
20331
|
|
20327
|
-
// ../
|
20332
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr.js
|
20328
20333
|
var _a82, _b55, PgMacaddrBuilder, _a83, _b56, PgMacaddr;
|
20329
20334
|
var init_macaddr = __esm({
|
20330
|
-
"../
|
20335
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr.js"() {
|
20331
20336
|
"use strict";
|
20332
20337
|
init_entity();
|
20333
20338
|
init_common2();
|
@@ -20350,10 +20355,10 @@ var init_macaddr = __esm({
|
|
20350
20355
|
}
|
20351
20356
|
});
|
20352
20357
|
|
20353
|
-
// ../
|
20358
|
+
// ../drizzle-orm/dist/pg-core/columns/macaddr8.js
|
20354
20359
|
var _a84, _b57, PgMacaddr8Builder, _a85, _b58, PgMacaddr8;
|
20355
20360
|
var init_macaddr8 = __esm({
|
20356
|
-
"../
|
20361
|
+
"../drizzle-orm/dist/pg-core/columns/macaddr8.js"() {
|
20357
20362
|
"use strict";
|
20358
20363
|
init_entity();
|
20359
20364
|
init_common2();
|
@@ -20376,10 +20381,10 @@ var init_macaddr8 = __esm({
|
|
20376
20381
|
}
|
20377
20382
|
});
|
20378
20383
|
|
20379
|
-
// ../
|
20384
|
+
// ../drizzle-orm/dist/pg-core/columns/numeric.js
|
20380
20385
|
var _a86, _b59, PgNumericBuilder, _a87, _b60, PgNumeric;
|
20381
20386
|
var init_numeric = __esm({
|
20382
|
-
"../
|
20387
|
+
"../drizzle-orm/dist/pg-core/columns/numeric.js"() {
|
20383
20388
|
"use strict";
|
20384
20389
|
init_entity();
|
20385
20390
|
init_common2();
|
@@ -20417,10 +20422,10 @@ var init_numeric = __esm({
|
|
20417
20422
|
}
|
20418
20423
|
});
|
20419
20424
|
|
20420
|
-
// ../
|
20425
|
+
// ../drizzle-orm/dist/pg-core/columns/point.js
|
20421
20426
|
var _a88, _b61, PgPointTupleBuilder, _a89, _b62, PgPointTuple, _a90, _b63, PgPointObjectBuilder, _a91, _b64, PgPointObject;
|
20422
20427
|
var init_point = __esm({
|
20423
|
-
"../
|
20428
|
+
"../drizzle-orm/dist/pg-core/columns/point.js"() {
|
20424
20429
|
"use strict";
|
20425
20430
|
init_entity();
|
20426
20431
|
init_common2();
|
@@ -20485,7 +20490,7 @@ var init_point = __esm({
|
|
20485
20490
|
}
|
20486
20491
|
});
|
20487
20492
|
|
20488
|
-
// ../
|
20493
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js
|
20489
20494
|
function hexToBytes(hex) {
|
20490
20495
|
const bytes = [];
|
20491
20496
|
for (let c = 0; c < hex.length; c += 2) {
|
@@ -20524,15 +20529,15 @@ function parseEWKB(hex) {
|
|
20524
20529
|
throw new Error("Unsupported geometry type");
|
20525
20530
|
}
|
20526
20531
|
var init_utils3 = __esm({
|
20527
|
-
"../
|
20532
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js"() {
|
20528
20533
|
"use strict";
|
20529
20534
|
}
|
20530
20535
|
});
|
20531
20536
|
|
20532
|
-
// ../
|
20537
|
+
// ../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js
|
20533
20538
|
var _a92, _b65, PgGeometryBuilder, _a93, _b66, PgGeometry, _a94, _b67, PgGeometryObjectBuilder, _a95, _b68, PgGeometryObject;
|
20534
20539
|
var init_geometry = __esm({
|
20535
|
-
"../
|
20540
|
+
"../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js"() {
|
20536
20541
|
"use strict";
|
20537
20542
|
init_entity();
|
20538
20543
|
init_common2();
|
@@ -20591,10 +20596,10 @@ var init_geometry = __esm({
|
|
20591
20596
|
}
|
20592
20597
|
});
|
20593
20598
|
|
20594
|
-
// ../
|
20599
|
+
// ../drizzle-orm/dist/pg-core/columns/real.js
|
20595
20600
|
var _a96, _b69, PgRealBuilder, _a97, _b70, PgReal;
|
20596
20601
|
var init_real = __esm({
|
20597
|
-
"../
|
20602
|
+
"../drizzle-orm/dist/pg-core/columns/real.js"() {
|
20598
20603
|
"use strict";
|
20599
20604
|
init_entity();
|
20600
20605
|
init_common2();
|
@@ -20627,10 +20632,10 @@ var init_real = __esm({
|
|
20627
20632
|
}
|
20628
20633
|
});
|
20629
20634
|
|
20630
|
-
// ../
|
20635
|
+
// ../drizzle-orm/dist/pg-core/columns/serial.js
|
20631
20636
|
var _a98, _b71, PgSerialBuilder, _a99, _b72, PgSerial;
|
20632
20637
|
var init_serial = __esm({
|
20633
|
-
"../
|
20638
|
+
"../drizzle-orm/dist/pg-core/columns/serial.js"() {
|
20634
20639
|
"use strict";
|
20635
20640
|
init_entity();
|
20636
20641
|
init_common2();
|
@@ -20655,10 +20660,10 @@ var init_serial = __esm({
|
|
20655
20660
|
}
|
20656
20661
|
});
|
20657
20662
|
|
20658
|
-
// ../
|
20663
|
+
// ../drizzle-orm/dist/pg-core/columns/smallint.js
|
20659
20664
|
var _a100, _b73, PgSmallIntBuilder, _a101, _b74, PgSmallInt;
|
20660
20665
|
var init_smallint = __esm({
|
20661
|
-
"../
|
20666
|
+
"../drizzle-orm/dist/pg-core/columns/smallint.js"() {
|
20662
20667
|
"use strict";
|
20663
20668
|
init_entity();
|
20664
20669
|
init_common2();
|
@@ -20691,10 +20696,10 @@ var init_smallint = __esm({
|
|
20691
20696
|
}
|
20692
20697
|
});
|
20693
20698
|
|
20694
|
-
// ../
|
20699
|
+
// ../drizzle-orm/dist/pg-core/columns/smallserial.js
|
20695
20700
|
var _a102, _b75, PgSmallSerialBuilder, _a103, _b76, PgSmallSerial;
|
20696
20701
|
var init_smallserial = __esm({
|
20697
|
-
"../
|
20702
|
+
"../drizzle-orm/dist/pg-core/columns/smallserial.js"() {
|
20698
20703
|
"use strict";
|
20699
20704
|
init_entity();
|
20700
20705
|
init_common2();
|
@@ -20722,10 +20727,10 @@ var init_smallserial = __esm({
|
|
20722
20727
|
}
|
20723
20728
|
});
|
20724
20729
|
|
20725
|
-
// ../
|
20730
|
+
// ../drizzle-orm/dist/pg-core/columns/text.js
|
20726
20731
|
var _a104, _b77, PgTextBuilder, _a105, _b78, PgText;
|
20727
20732
|
var init_text = __esm({
|
20728
|
-
"../
|
20733
|
+
"../drizzle-orm/dist/pg-core/columns/text.js"() {
|
20729
20734
|
"use strict";
|
20730
20735
|
init_entity();
|
20731
20736
|
init_common2();
|
@@ -20753,10 +20758,10 @@ var init_text = __esm({
|
|
20753
20758
|
}
|
20754
20759
|
});
|
20755
20760
|
|
20756
|
-
// ../
|
20761
|
+
// ../drizzle-orm/dist/pg-core/columns/time.js
|
20757
20762
|
var _a106, _b79, PgTimeBuilder, _a107, _b80, PgTime;
|
20758
20763
|
var init_time = __esm({
|
20759
|
-
"../
|
20764
|
+
"../drizzle-orm/dist/pg-core/columns/time.js"() {
|
20760
20765
|
"use strict";
|
20761
20766
|
init_entity();
|
20762
20767
|
init_common2();
|
@@ -20792,10 +20797,10 @@ var init_time = __esm({
|
|
20792
20797
|
}
|
20793
20798
|
});
|
20794
20799
|
|
20795
|
-
// ../
|
20800
|
+
// ../drizzle-orm/dist/pg-core/columns/timestamp.js
|
20796
20801
|
var _a108, _b81, PgTimestampBuilder, _a109, _b82, PgTimestamp, _a110, _b83, PgTimestampStringBuilder, _a111, _b84, PgTimestampString;
|
20797
20802
|
var init_timestamp = __esm({
|
20798
|
-
"../
|
20803
|
+
"../drizzle-orm/dist/pg-core/columns/timestamp.js"() {
|
20799
20804
|
"use strict";
|
20800
20805
|
init_entity();
|
20801
20806
|
init_common2();
|
@@ -20864,10 +20869,10 @@ var init_timestamp = __esm({
|
|
20864
20869
|
}
|
20865
20870
|
});
|
20866
20871
|
|
20867
|
-
// ../
|
20872
|
+
// ../drizzle-orm/dist/pg-core/columns/uuid.js
|
20868
20873
|
var _a112, _b85, PgUUIDBuilder, _a113, _b86, PgUUID;
|
20869
20874
|
var init_uuid = __esm({
|
20870
|
-
"../
|
20875
|
+
"../drizzle-orm/dist/pg-core/columns/uuid.js"() {
|
20871
20876
|
"use strict";
|
20872
20877
|
init_entity();
|
20873
20878
|
init_sql();
|
@@ -20897,10 +20902,10 @@ var init_uuid = __esm({
|
|
20897
20902
|
}
|
20898
20903
|
});
|
20899
20904
|
|
20900
|
-
// ../
|
20905
|
+
// ../drizzle-orm/dist/pg-core/columns/varchar.js
|
20901
20906
|
var _a114, _b87, PgVarcharBuilder, _a115, _b88, PgVarchar;
|
20902
20907
|
var init_varchar = __esm({
|
20903
|
-
"../
|
20908
|
+
"../drizzle-orm/dist/pg-core/columns/varchar.js"() {
|
20904
20909
|
"use strict";
|
20905
20910
|
init_entity();
|
20906
20911
|
init_common2();
|
@@ -20930,10 +20935,10 @@ var init_varchar = __esm({
|
|
20930
20935
|
}
|
20931
20936
|
});
|
20932
20937
|
|
20933
|
-
// ../
|
20938
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js
|
20934
20939
|
var _a116, _b89, PgBinaryVectorBuilder, _a117, _b90, PgBinaryVector;
|
20935
20940
|
var init_bit = __esm({
|
20936
|
-
"../
|
20941
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js"() {
|
20937
20942
|
"use strict";
|
20938
20943
|
init_entity();
|
20939
20944
|
init_common2();
|
@@ -20964,10 +20969,10 @@ var init_bit = __esm({
|
|
20964
20969
|
}
|
20965
20970
|
});
|
20966
20971
|
|
20967
|
-
// ../
|
20972
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js
|
20968
20973
|
var _a118, _b91, PgHalfVectorBuilder, _a119, _b92, PgHalfVector;
|
20969
20974
|
var init_halfvec = __esm({
|
20970
|
-
"../
|
20975
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js"() {
|
20971
20976
|
"use strict";
|
20972
20977
|
init_entity();
|
20973
20978
|
init_common2();
|
@@ -21004,10 +21009,10 @@ var init_halfvec = __esm({
|
|
21004
21009
|
}
|
21005
21010
|
});
|
21006
21011
|
|
21007
|
-
// ../
|
21012
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js
|
21008
21013
|
var _a120, _b93, PgSparseVectorBuilder, _a121, _b94, PgSparseVector;
|
21009
21014
|
var init_sparsevec = __esm({
|
21010
|
-
"../
|
21015
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js"() {
|
21011
21016
|
"use strict";
|
21012
21017
|
init_entity();
|
21013
21018
|
init_common2();
|
@@ -21038,10 +21043,10 @@ var init_sparsevec = __esm({
|
|
21038
21043
|
}
|
21039
21044
|
});
|
21040
21045
|
|
21041
|
-
// ../
|
21046
|
+
// ../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js
|
21042
21047
|
var _a122, _b95, PgVectorBuilder, _a123, _b96, PgVector;
|
21043
21048
|
var init_vector2 = __esm({
|
21044
|
-
"../
|
21049
|
+
"../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js"() {
|
21045
21050
|
"use strict";
|
21046
21051
|
init_entity();
|
21047
21052
|
init_common2();
|
@@ -21075,9 +21080,9 @@ var init_vector2 = __esm({
|
|
21075
21080
|
}
|
21076
21081
|
});
|
21077
21082
|
|
21078
|
-
// ../
|
21083
|
+
// ../drizzle-orm/dist/pg-core/columns/index.js
|
21079
21084
|
var init_columns = __esm({
|
21080
|
-
"../
|
21085
|
+
"../drizzle-orm/dist/pg-core/columns/index.js"() {
|
21081
21086
|
"use strict";
|
21082
21087
|
init_bigint();
|
21083
21088
|
init_bigserial();
|
@@ -21116,10 +21121,10 @@ var init_columns = __esm({
|
|
21116
21121
|
}
|
21117
21122
|
});
|
21118
21123
|
|
21119
|
-
// ../
|
21124
|
+
// ../drizzle-orm/dist/pg-core/query-builders/delete.js
|
21120
21125
|
var _a124, _b97, PgDeleteBase;
|
21121
21126
|
var init_delete = __esm({
|
21122
|
-
"../
|
21127
|
+
"../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
|
21123
21128
|
"use strict";
|
21124
21129
|
init_entity();
|
21125
21130
|
init_query_promise();
|
@@ -21201,10 +21206,10 @@ var init_delete = __esm({
|
|
21201
21206
|
}
|
21202
21207
|
});
|
21203
21208
|
|
21204
|
-
// ../
|
21209
|
+
// ../drizzle-orm/dist/pg-core/query-builders/insert.js
|
21205
21210
|
var _a125, PgInsertBuilder, _a126, _b98, PgInsertBase;
|
21206
21211
|
var init_insert = __esm({
|
21207
|
-
"../
|
21212
|
+
"../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
|
21208
21213
|
"use strict";
|
21209
21214
|
init_entity();
|
21210
21215
|
init_query_promise();
|
@@ -21357,10 +21362,10 @@ var init_insert = __esm({
|
|
21357
21362
|
}
|
21358
21363
|
});
|
21359
21364
|
|
21360
|
-
// ../
|
21365
|
+
// ../drizzle-orm/dist/pg-core/view-base.js
|
21361
21366
|
var _a127, _b99, PgViewBase;
|
21362
21367
|
var init_view_base = __esm({
|
21363
|
-
"../
|
21368
|
+
"../drizzle-orm/dist/pg-core/view-base.js"() {
|
21364
21369
|
"use strict";
|
21365
21370
|
init_entity();
|
21366
21371
|
init_sql();
|
@@ -21370,10 +21375,10 @@ var init_view_base = __esm({
|
|
21370
21375
|
}
|
21371
21376
|
});
|
21372
21377
|
|
21373
|
-
// ../
|
21378
|
+
// ../drizzle-orm/dist/pg-core/dialect.js
|
21374
21379
|
var _a128, PgDialect;
|
21375
21380
|
var init_dialect = __esm({
|
21376
|
-
"../
|
21381
|
+
"../drizzle-orm/dist/pg-core/dialect.js"() {
|
21377
21382
|
"use strict";
|
21378
21383
|
init_alias();
|
21379
21384
|
init_column();
|
@@ -22453,10 +22458,10 @@ var init_dialect = __esm({
|
|
22453
22458
|
}
|
22454
22459
|
});
|
22455
22460
|
|
22456
|
-
// ../
|
22461
|
+
// ../drizzle-orm/dist/selection-proxy.js
|
22457
22462
|
var _a129, _SelectionProxyHandler, SelectionProxyHandler;
|
22458
22463
|
var init_selection_proxy = __esm({
|
22459
|
-
"../
|
22464
|
+
"../drizzle-orm/dist/selection-proxy.js"() {
|
22460
22465
|
"use strict";
|
22461
22466
|
init_alias();
|
22462
22467
|
init_column();
|
@@ -22535,10 +22540,10 @@ var init_selection_proxy = __esm({
|
|
22535
22540
|
}
|
22536
22541
|
});
|
22537
22542
|
|
22538
|
-
// ../
|
22543
|
+
// ../drizzle-orm/dist/query-builders/query-builder.js
|
22539
22544
|
var _a130, TypedQueryBuilder;
|
22540
22545
|
var init_query_builder = __esm({
|
22541
|
-
"../
|
22546
|
+
"../drizzle-orm/dist/query-builders/query-builder.js"() {
|
22542
22547
|
"use strict";
|
22543
22548
|
init_entity();
|
22544
22549
|
_a130 = entityKind;
|
@@ -22552,7 +22557,7 @@ var init_query_builder = __esm({
|
|
22552
22557
|
}
|
22553
22558
|
});
|
22554
22559
|
|
22555
|
-
// ../
|
22560
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.js
|
22556
22561
|
function createSetOperator(type, isAll) {
|
22557
22562
|
return (leftSelect, rightSelect, ...restSelects) => {
|
22558
22563
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -22572,7 +22577,7 @@ function createSetOperator(type, isAll) {
|
|
22572
22577
|
}
|
22573
22578
|
var _a131, PgSelectBuilder, _a132, _b100, PgSelectQueryBuilderBase, _a133, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
|
22574
22579
|
var init_select2 = __esm({
|
22575
|
-
"../
|
22580
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.js"() {
|
22576
22581
|
"use strict";
|
22577
22582
|
init_entity();
|
22578
22583
|
init_view_base();
|
@@ -23289,10 +23294,10 @@ var init_select2 = __esm({
|
|
23289
23294
|
}
|
23290
23295
|
});
|
23291
23296
|
|
23292
|
-
// ../
|
23297
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
|
23293
23298
|
var _a134, QueryBuilder;
|
23294
23299
|
var init_query_builder2 = __esm({
|
23295
|
-
"../
|
23300
|
+
"../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
|
23296
23301
|
"use strict";
|
23297
23302
|
init_entity();
|
23298
23303
|
init_dialect();
|
@@ -23381,10 +23386,10 @@ var init_query_builder2 = __esm({
|
|
23381
23386
|
}
|
23382
23387
|
});
|
23383
23388
|
|
23384
|
-
// ../
|
23389
|
+
// ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
|
23385
23390
|
var _a135, _b102, PgRefreshMaterializedView;
|
23386
23391
|
var init_refresh_materialized_view = __esm({
|
23387
|
-
"../
|
23392
|
+
"../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
|
23388
23393
|
"use strict";
|
23389
23394
|
init_entity();
|
23390
23395
|
init_query_promise();
|
@@ -23438,17 +23443,17 @@ var init_refresh_materialized_view = __esm({
|
|
23438
23443
|
}
|
23439
23444
|
});
|
23440
23445
|
|
23441
|
-
// ../
|
23446
|
+
// ../drizzle-orm/dist/pg-core/query-builders/select.types.js
|
23442
23447
|
var init_select_types = __esm({
|
23443
|
-
"../
|
23448
|
+
"../drizzle-orm/dist/pg-core/query-builders/select.types.js"() {
|
23444
23449
|
"use strict";
|
23445
23450
|
}
|
23446
23451
|
});
|
23447
23452
|
|
23448
|
-
// ../
|
23453
|
+
// ../drizzle-orm/dist/pg-core/query-builders/update.js
|
23449
23454
|
var _a136, PgUpdateBuilder, _a137, _b103, PgUpdateBase;
|
23450
23455
|
var init_update = __esm({
|
23451
|
-
"../
|
23456
|
+
"../drizzle-orm/dist/pg-core/query-builders/update.js"() {
|
23452
23457
|
"use strict";
|
23453
23458
|
init_entity();
|
23454
23459
|
init_query_promise();
|
@@ -23548,9 +23553,9 @@ var init_update = __esm({
|
|
23548
23553
|
}
|
23549
23554
|
});
|
23550
23555
|
|
23551
|
-
// ../
|
23556
|
+
// ../drizzle-orm/dist/pg-core/query-builders/index.js
|
23552
23557
|
var init_query_builders = __esm({
|
23553
|
-
"../
|
23558
|
+
"../drizzle-orm/dist/pg-core/query-builders/index.js"() {
|
23554
23559
|
"use strict";
|
23555
23560
|
init_delete();
|
23556
23561
|
init_insert();
|
@@ -23562,10 +23567,10 @@ var init_query_builders = __esm({
|
|
23562
23567
|
}
|
23563
23568
|
});
|
23564
23569
|
|
23565
|
-
// ../
|
23570
|
+
// ../drizzle-orm/dist/pg-core/query-builders/query.js
|
23566
23571
|
var _a138, RelationalQueryBuilder, _a139, _b104, PgRelationalQuery;
|
23567
23572
|
var init_query = __esm({
|
23568
|
-
"../
|
23573
|
+
"../drizzle-orm/dist/pg-core/query-builders/query.js"() {
|
23569
23574
|
"use strict";
|
23570
23575
|
init_entity();
|
23571
23576
|
init_query_promise();
|
@@ -23680,10 +23685,10 @@ var init_query = __esm({
|
|
23680
23685
|
}
|
23681
23686
|
});
|
23682
23687
|
|
23683
|
-
// ../
|
23688
|
+
// ../drizzle-orm/dist/pg-core/query-builders/raw.js
|
23684
23689
|
var _a140, _b105, PgRaw;
|
23685
23690
|
var init_raw = __esm({
|
23686
|
-
"../
|
23691
|
+
"../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
|
23687
23692
|
"use strict";
|
23688
23693
|
init_entity();
|
23689
23694
|
init_query_promise();
|
@@ -23717,10 +23722,10 @@ var init_raw = __esm({
|
|
23717
23722
|
}
|
23718
23723
|
});
|
23719
23724
|
|
23720
|
-
// ../
|
23725
|
+
// ../drizzle-orm/dist/pg-core/db.js
|
23721
23726
|
var _a141, PgDatabase;
|
23722
23727
|
var init_db = __esm({
|
23723
|
-
"../
|
23728
|
+
"../drizzle-orm/dist/pg-core/db.js"() {
|
23724
23729
|
"use strict";
|
23725
23730
|
init_entity();
|
23726
23731
|
init_query_builders();
|
@@ -23998,10 +24003,10 @@ var init_db = __esm({
|
|
23998
24003
|
}
|
23999
24004
|
});
|
24000
24005
|
|
24001
|
-
// ../
|
24006
|
+
// ../drizzle-orm/dist/pg-core/indexes.js
|
24002
24007
|
var _a142, IndexBuilderOn, _a143, IndexBuilder, _a144, Index2;
|
24003
24008
|
var init_indexes = __esm({
|
24004
|
-
"../
|
24009
|
+
"../drizzle-orm/dist/pg-core/indexes.js"() {
|
24005
24010
|
"use strict";
|
24006
24011
|
init_sql();
|
24007
24012
|
init_entity();
|
@@ -24116,7 +24121,7 @@ var init_indexes = __esm({
|
|
24116
24121
|
}
|
24117
24122
|
});
|
24118
24123
|
|
24119
|
-
// ../
|
24124
|
+
// ../drizzle-orm/dist/pg-core/sequence.js
|
24120
24125
|
function pgSequenceWithSchema(name2, options, schema4) {
|
24121
24126
|
return new PgSequence(name2, options, schema4);
|
24122
24127
|
}
|
@@ -24125,7 +24130,7 @@ function isPgSequence(obj) {
|
|
24125
24130
|
}
|
24126
24131
|
var _a145, PgSequence;
|
24127
24132
|
var init_sequence = __esm({
|
24128
|
-
"../
|
24133
|
+
"../drizzle-orm/dist/pg-core/sequence.js"() {
|
24129
24134
|
"use strict";
|
24130
24135
|
init_entity();
|
24131
24136
|
_a145 = entityKind;
|
@@ -24140,16 +24145,16 @@ var init_sequence = __esm({
|
|
24140
24145
|
}
|
24141
24146
|
});
|
24142
24147
|
|
24143
|
-
// ../
|
24148
|
+
// ../drizzle-orm/dist/pg-core/view-common.js
|
24144
24149
|
var PgViewConfig;
|
24145
24150
|
var init_view_common2 = __esm({
|
24146
|
-
"../
|
24151
|
+
"../drizzle-orm/dist/pg-core/view-common.js"() {
|
24147
24152
|
"use strict";
|
24148
24153
|
PgViewConfig = Symbol.for("drizzle:PgViewConfig");
|
24149
24154
|
}
|
24150
24155
|
});
|
24151
24156
|
|
24152
|
-
// ../
|
24157
|
+
// ../drizzle-orm/dist/pg-core/view.js
|
24153
24158
|
function pgViewWithSchema(name2, selection, schema4) {
|
24154
24159
|
if (selection) {
|
24155
24160
|
return new ManualViewBuilder(name2, selection, schema4);
|
@@ -24164,7 +24169,7 @@ function pgMaterializedViewWithSchema(name2, selection, schema4) {
|
|
24164
24169
|
}
|
24165
24170
|
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;
|
24166
24171
|
var init_view = __esm({
|
24167
|
-
"../
|
24172
|
+
"../drizzle-orm/dist/pg-core/view.js"() {
|
24168
24173
|
"use strict";
|
24169
24174
|
init_entity();
|
24170
24175
|
init_selection_proxy();
|
@@ -24391,10 +24396,10 @@ var init_view = __esm({
|
|
24391
24396
|
}
|
24392
24397
|
});
|
24393
24398
|
|
24394
|
-
// ../
|
24399
|
+
// ../drizzle-orm/dist/pg-core/schema.js
|
24395
24400
|
var _a154, PgSchema5;
|
24396
24401
|
var init_schema = __esm({
|
24397
|
-
"../
|
24402
|
+
"../drizzle-orm/dist/pg-core/schema.js"() {
|
24398
24403
|
"use strict";
|
24399
24404
|
init_entity();
|
24400
24405
|
init_sql();
|
@@ -24433,10 +24438,10 @@ var init_schema = __esm({
|
|
24433
24438
|
}
|
24434
24439
|
});
|
24435
24440
|
|
24436
|
-
// ../
|
24441
|
+
// ../drizzle-orm/dist/pg-core/session.js
|
24437
24442
|
var _a155, PgPreparedQuery, _a156, PgSession, _a157, _b112, PgTransaction;
|
24438
24443
|
var init_session = __esm({
|
24439
|
-
"../
|
24444
|
+
"../drizzle-orm/dist/pg-core/session.js"() {
|
24440
24445
|
"use strict";
|
24441
24446
|
init_entity();
|
24442
24447
|
init_errors();
|
@@ -24517,14 +24522,14 @@ var init_session = __esm({
|
|
24517
24522
|
}
|
24518
24523
|
});
|
24519
24524
|
|
24520
|
-
// ../
|
24525
|
+
// ../drizzle-orm/dist/pg-core/subquery.js
|
24521
24526
|
var init_subquery2 = __esm({
|
24522
|
-
"../
|
24527
|
+
"../drizzle-orm/dist/pg-core/subquery.js"() {
|
24523
24528
|
"use strict";
|
24524
24529
|
}
|
24525
24530
|
});
|
24526
24531
|
|
24527
|
-
// ../
|
24532
|
+
// ../drizzle-orm/dist/pg-core/utils.js
|
24528
24533
|
function getTableConfig(table4) {
|
24529
24534
|
const columns = Object.values(table4[Table2.Symbol.Columns]);
|
24530
24535
|
const indexes = [];
|
@@ -24563,7 +24568,7 @@ function getTableConfig(table4) {
|
|
24563
24568
|
};
|
24564
24569
|
}
|
24565
24570
|
var init_utils4 = __esm({
|
24566
|
-
"../
|
24571
|
+
"../drizzle-orm/dist/pg-core/utils.js"() {
|
24567
24572
|
"use strict";
|
24568
24573
|
init_entity();
|
24569
24574
|
init_table2();
|
@@ -24576,17 +24581,17 @@ var init_utils4 = __esm({
|
|
24576
24581
|
}
|
24577
24582
|
});
|
24578
24583
|
|
24579
|
-
// ../
|
24584
|
+
// ../drizzle-orm/dist/pg-core/utils/index.js
|
24580
24585
|
var init_utils5 = __esm({
|
24581
|
-
"../
|
24586
|
+
"../drizzle-orm/dist/pg-core/utils/index.js"() {
|
24582
24587
|
"use strict";
|
24583
24588
|
init_array();
|
24584
24589
|
}
|
24585
24590
|
});
|
24586
24591
|
|
24587
|
-
// ../
|
24592
|
+
// ../drizzle-orm/dist/pg-core/index.js
|
24588
24593
|
var init_pg_core = __esm({
|
24589
|
-
"../
|
24594
|
+
"../drizzle-orm/dist/pg-core/index.js"() {
|
24590
24595
|
"use strict";
|
24591
24596
|
init_alias2();
|
24592
24597
|
init_checks();
|
@@ -24641,16 +24646,41 @@ function minRangeForIdentityBasedOn(columnType) {
|
|
24641
24646
|
function stringFromDatabaseIdentityProperty(field) {
|
24642
24647
|
return typeof field === "string" ? field : typeof field === "undefined" ? void 0 : typeof field === "bigint" ? field.toString() : String(field);
|
24643
24648
|
}
|
24649
|
+
function buildArrayString(array, sqlType) {
|
24650
|
+
sqlType = sqlType.split("[")[0];
|
24651
|
+
const values = array.map((value) => {
|
24652
|
+
if (typeof value === "number" || typeof value === "bigint") {
|
24653
|
+
return value.toString();
|
24654
|
+
} else if (typeof value === "boolean") {
|
24655
|
+
return value ? "true" : "false";
|
24656
|
+
} else if (Array.isArray(value)) {
|
24657
|
+
return buildArrayString(value, sqlType);
|
24658
|
+
} else if (value instanceof Date) {
|
24659
|
+
if (sqlType === "date") {
|
24660
|
+
return `"${value.toISOString().split("T")[0]}"`;
|
24661
|
+
} else if (sqlType === "timestamp") {
|
24662
|
+
return `"${value.toISOString().replace("T", " ").slice(0, 23)}"`;
|
24663
|
+
} else {
|
24664
|
+
return `"${value.toISOString()}"`;
|
24665
|
+
}
|
24666
|
+
} else if (typeof value === "object") {
|
24667
|
+
return `"${JSON.stringify(value).replaceAll('"', '\\"')}"`;
|
24668
|
+
}
|
24669
|
+
return `"${value}"`;
|
24670
|
+
}).join(",");
|
24671
|
+
return `{${values}}`;
|
24672
|
+
}
|
24644
24673
|
var dialect4, indexName, generatePgSnapshot, trimChar, fromDatabase, columnToDefault, defaultForColumn;
|
24645
24674
|
var init_pgSerializer = __esm({
|
24646
24675
|
"src/serializer/pgSerializer.ts"() {
|
24647
24676
|
"use strict";
|
24648
24677
|
init_source();
|
24649
|
-
|
24678
|
+
init_dist();
|
24650
24679
|
init_pg_core();
|
24651
24680
|
init_pg_core();
|
24652
24681
|
init_vector3();
|
24653
24682
|
init_outputs();
|
24683
|
+
init_utils();
|
24654
24684
|
init_serializer();
|
24655
24685
|
dialect4 = new PgDialect();
|
24656
24686
|
indexName = (tableName, columns) => {
|
@@ -24757,6 +24787,11 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
|
|
24757
24787
|
} else {
|
24758
24788
|
columnToSet.default = `'${column4.default.toISOString()}'`;
|
24759
24789
|
}
|
24790
|
+
} else if (isPgArrayType(sqlTypeLowered) && Array.isArray(column4.default)) {
|
24791
|
+
columnToSet.default = `'${buildArrayString(
|
24792
|
+
column4.default,
|
24793
|
+
sqlTypeLowered
|
24794
|
+
)}'::${sqlTypeLowered}`;
|
24760
24795
|
} else {
|
24761
24796
|
columnToSet.default = column4.default;
|
24762
24797
|
}
|
@@ -25555,17 +25590,17 @@ var init_selector_ui = __esm({
|
|
25555
25590
|
}
|
25556
25591
|
});
|
25557
25592
|
|
25558
|
-
// ../
|
25593
|
+
// ../drizzle-orm/dist/sqlite-core/alias.js
|
25559
25594
|
var init_alias3 = __esm({
|
25560
|
-
"../
|
25595
|
+
"../drizzle-orm/dist/sqlite-core/alias.js"() {
|
25561
25596
|
"use strict";
|
25562
25597
|
}
|
25563
25598
|
});
|
25564
25599
|
|
25565
|
-
// ../
|
25600
|
+
// ../drizzle-orm/dist/sqlite-core/checks.js
|
25566
25601
|
var _a158, CheckBuilder2, _a159, Check2;
|
25567
25602
|
var init_checks2 = __esm({
|
25568
|
-
"../
|
25603
|
+
"../drizzle-orm/dist/sqlite-core/checks.js"() {
|
25569
25604
|
"use strict";
|
25570
25605
|
init_entity();
|
25571
25606
|
_a158 = entityKind;
|
@@ -25594,7 +25629,7 @@ var init_checks2 = __esm({
|
|
25594
25629
|
}
|
25595
25630
|
});
|
25596
25631
|
|
25597
|
-
// ../
|
25632
|
+
// ../drizzle-orm/dist/sqlite-core/table.js
|
25598
25633
|
function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2) {
|
25599
25634
|
const rawTable = new SQLiteTable(name2, schema4, baseName);
|
25600
25635
|
const builtColumns = Object.fromEntries(
|
@@ -25615,7 +25650,7 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
|
|
25615
25650
|
}
|
25616
25651
|
var InlineForeignKeys2, _a160, _b113, _c5, _d3, _e2, SQLiteTable, sqliteTable;
|
25617
25652
|
var init_table3 = __esm({
|
25618
|
-
"../
|
25653
|
+
"../drizzle-orm/dist/sqlite-core/table.js"() {
|
25619
25654
|
"use strict";
|
25620
25655
|
init_entity();
|
25621
25656
|
init_table();
|
@@ -25642,10 +25677,10 @@ var init_table3 = __esm({
|
|
25642
25677
|
}
|
25643
25678
|
});
|
25644
25679
|
|
25645
|
-
// ../
|
25680
|
+
// ../drizzle-orm/dist/sqlite-core/foreign-keys.js
|
25646
25681
|
var _a161, ForeignKeyBuilder2, _a162, ForeignKey2;
|
25647
25682
|
var init_foreign_keys2 = __esm({
|
25648
|
-
"../
|
25683
|
+
"../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
|
25649
25684
|
"use strict";
|
25650
25685
|
init_entity();
|
25651
25686
|
init_table3();
|
@@ -25709,13 +25744,13 @@ var init_foreign_keys2 = __esm({
|
|
25709
25744
|
}
|
25710
25745
|
});
|
25711
25746
|
|
25712
|
-
// ../
|
25747
|
+
// ../drizzle-orm/dist/sqlite-core/unique-constraint.js
|
25713
25748
|
function uniqueKeyName2(table4, columns) {
|
25714
25749
|
return `${table4[SQLiteTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
25715
25750
|
}
|
25716
25751
|
var _a163, UniqueConstraintBuilder2, _a164, UniqueOnConstraintBuilder2, _a165, UniqueConstraint2;
|
25717
25752
|
var init_unique_constraint2 = __esm({
|
25718
|
-
"../
|
25753
|
+
"../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
|
25719
25754
|
"use strict";
|
25720
25755
|
init_entity();
|
25721
25756
|
init_table3();
|
@@ -25762,10 +25797,10 @@ var init_unique_constraint2 = __esm({
|
|
25762
25797
|
}
|
25763
25798
|
});
|
25764
25799
|
|
25765
|
-
// ../
|
25800
|
+
// ../drizzle-orm/dist/sqlite-core/columns/common.js
|
25766
25801
|
var _a166, _b114, SQLiteColumnBuilder, _a167, _b115, SQLiteColumn;
|
25767
25802
|
var init_common3 = __esm({
|
25768
|
-
"../
|
25803
|
+
"../drizzle-orm/dist/sqlite-core/columns/common.js"() {
|
25769
25804
|
"use strict";
|
25770
25805
|
init_column_builder();
|
25771
25806
|
init_column();
|
@@ -25827,10 +25862,10 @@ var init_common3 = __esm({
|
|
25827
25862
|
}
|
25828
25863
|
});
|
25829
25864
|
|
25830
|
-
// ../
|
25865
|
+
// ../drizzle-orm/dist/sqlite-core/columns/blob.js
|
25831
25866
|
var _a168, _b116, SQLiteBigIntBuilder, _a169, _b117, SQLiteBigInt, _a170, _b118, SQLiteBlobJsonBuilder, _a171, _b119, SQLiteBlobJson, _a172, _b120, SQLiteBlobBufferBuilder, _a173, _b121, SQLiteBlobBuffer;
|
25832
25867
|
var init_blob = __esm({
|
25833
|
-
"../
|
25868
|
+
"../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
|
25834
25869
|
"use strict";
|
25835
25870
|
init_entity();
|
25836
25871
|
init_common3();
|
@@ -25900,10 +25935,10 @@ var init_blob = __esm({
|
|
25900
25935
|
}
|
25901
25936
|
});
|
25902
25937
|
|
25903
|
-
// ../
|
25938
|
+
// ../drizzle-orm/dist/sqlite-core/columns/custom.js
|
25904
25939
|
var _a174, _b122, SQLiteCustomColumnBuilder, _a175, _b123, SQLiteCustomColumn;
|
25905
25940
|
var init_custom2 = __esm({
|
25906
|
-
"../
|
25941
|
+
"../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
|
25907
25942
|
"use strict";
|
25908
25943
|
init_entity();
|
25909
25944
|
init_common3();
|
@@ -25946,10 +25981,10 @@ var init_custom2 = __esm({
|
|
25946
25981
|
}
|
25947
25982
|
});
|
25948
25983
|
|
25949
|
-
// ../
|
25984
|
+
// ../drizzle-orm/dist/sqlite-core/columns/integer.js
|
25950
25985
|
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;
|
25951
25986
|
var init_integer2 = __esm({
|
25952
|
-
"../
|
25987
|
+
"../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
|
25953
25988
|
"use strict";
|
25954
25989
|
init_entity();
|
25955
25990
|
init_sql();
|
@@ -26063,10 +26098,10 @@ var init_integer2 = __esm({
|
|
26063
26098
|
}
|
26064
26099
|
});
|
26065
26100
|
|
26066
|
-
// ../
|
26101
|
+
// ../drizzle-orm/dist/sqlite-core/columns/numeric.js
|
26067
26102
|
var _a184, _b132, SQLiteNumericBuilder, _a185, _b133, SQLiteNumeric;
|
26068
26103
|
var init_numeric2 = __esm({
|
26069
|
-
"../
|
26104
|
+
"../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
|
26070
26105
|
"use strict";
|
26071
26106
|
init_entity();
|
26072
26107
|
init_common3();
|
@@ -26092,10 +26127,10 @@ var init_numeric2 = __esm({
|
|
26092
26127
|
}
|
26093
26128
|
});
|
26094
26129
|
|
26095
|
-
// ../
|
26130
|
+
// ../drizzle-orm/dist/sqlite-core/columns/real.js
|
26096
26131
|
var _a186, _b134, SQLiteRealBuilder, _a187, _b135, SQLiteReal;
|
26097
26132
|
var init_real2 = __esm({
|
26098
|
-
"../
|
26133
|
+
"../drizzle-orm/dist/sqlite-core/columns/real.js"() {
|
26099
26134
|
"use strict";
|
26100
26135
|
init_entity();
|
26101
26136
|
init_common3();
|
@@ -26118,10 +26153,10 @@ var init_real2 = __esm({
|
|
26118
26153
|
}
|
26119
26154
|
});
|
26120
26155
|
|
26121
|
-
// ../
|
26156
|
+
// ../drizzle-orm/dist/sqlite-core/columns/text.js
|
26122
26157
|
var _a188, _b136, SQLiteTextBuilder, _a189, _b137, SQLiteText, _a190, _b138, SQLiteTextJsonBuilder, _a191, _b139, SQLiteTextJson;
|
26123
26158
|
var init_text2 = __esm({
|
26124
|
-
"../
|
26159
|
+
"../drizzle-orm/dist/sqlite-core/columns/text.js"() {
|
26125
26160
|
"use strict";
|
26126
26161
|
init_entity();
|
26127
26162
|
init_common3();
|
@@ -26176,9 +26211,9 @@ var init_text2 = __esm({
|
|
26176
26211
|
}
|
26177
26212
|
});
|
26178
26213
|
|
26179
|
-
// ../
|
26214
|
+
// ../drizzle-orm/dist/sqlite-core/columns/index.js
|
26180
26215
|
var init_columns2 = __esm({
|
26181
|
-
"../
|
26216
|
+
"../drizzle-orm/dist/sqlite-core/columns/index.js"() {
|
26182
26217
|
"use strict";
|
26183
26218
|
init_blob();
|
26184
26219
|
init_common3();
|
@@ -26190,10 +26225,10 @@ var init_columns2 = __esm({
|
|
26190
26225
|
}
|
26191
26226
|
});
|
26192
26227
|
|
26193
|
-
// ../
|
26228
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
|
26194
26229
|
var _a192, _b140, SQLiteDeleteBase;
|
26195
26230
|
var init_delete2 = __esm({
|
26196
|
-
"../
|
26231
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
|
26197
26232
|
"use strict";
|
26198
26233
|
init_entity();
|
26199
26234
|
init_query_promise();
|
@@ -26289,10 +26324,10 @@ var init_delete2 = __esm({
|
|
26289
26324
|
}
|
26290
26325
|
});
|
26291
26326
|
|
26292
|
-
// ../
|
26327
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
|
26293
26328
|
var _a193, SQLiteInsertBuilder, _a194, _b141, SQLiteInsertBase;
|
26294
26329
|
var init_insert2 = __esm({
|
26295
|
-
"../
|
26330
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
|
26296
26331
|
"use strict";
|
26297
26332
|
init_entity();
|
26298
26333
|
init_query_promise();
|
@@ -26457,10 +26492,10 @@ var init_insert2 = __esm({
|
|
26457
26492
|
}
|
26458
26493
|
});
|
26459
26494
|
|
26460
|
-
// ../
|
26495
|
+
// ../drizzle-orm/dist/sqlite-core/view-base.js
|
26461
26496
|
var _a195, _b142, SQLiteViewBase;
|
26462
26497
|
var init_view_base2 = __esm({
|
26463
|
-
"../
|
26498
|
+
"../drizzle-orm/dist/sqlite-core/view-base.js"() {
|
26464
26499
|
"use strict";
|
26465
26500
|
init_entity();
|
26466
26501
|
init_sql();
|
@@ -26470,10 +26505,10 @@ var init_view_base2 = __esm({
|
|
26470
26505
|
}
|
26471
26506
|
});
|
26472
26507
|
|
26473
|
-
// ../
|
26508
|
+
// ../drizzle-orm/dist/sqlite-core/dialect.js
|
26474
26509
|
var _a196, SQLiteDialect, _a197, _b143, SQLiteSyncDialect, _a198, _b144, SQLiteAsyncDialect;
|
26475
26510
|
var init_dialect2 = __esm({
|
26476
|
-
"../
|
26511
|
+
"../drizzle-orm/dist/sqlite-core/dialect.js"() {
|
26477
26512
|
"use strict";
|
26478
26513
|
init_alias();
|
26479
26514
|
init_column();
|
@@ -27065,7 +27100,7 @@ var init_dialect2 = __esm({
|
|
27065
27100
|
}
|
27066
27101
|
});
|
27067
27102
|
|
27068
|
-
// ../
|
27103
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.js
|
27069
27104
|
function createSetOperator2(type, isAll) {
|
27070
27105
|
return (leftSelect, rightSelect, ...restSelects) => {
|
27071
27106
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -27085,7 +27120,7 @@ function createSetOperator2(type, isAll) {
|
|
27085
27120
|
}
|
27086
27121
|
var _a199, SQLiteSelectBuilder, _a200, _b145, SQLiteSelectQueryBuilderBase, _a201, _b146, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
|
27087
27122
|
var init_select3 = __esm({
|
27088
|
-
"../
|
27123
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
|
27089
27124
|
"use strict";
|
27090
27125
|
init_entity();
|
27091
27126
|
init_query_builder();
|
@@ -27698,10 +27733,10 @@ var init_select3 = __esm({
|
|
27698
27733
|
}
|
27699
27734
|
});
|
27700
27735
|
|
27701
|
-
// ../
|
27736
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
|
27702
27737
|
var _a202, QueryBuilder2;
|
27703
27738
|
var init_query_builder3 = __esm({
|
27704
|
-
"../
|
27739
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
|
27705
27740
|
"use strict";
|
27706
27741
|
init_entity();
|
27707
27742
|
init_selection_proxy();
|
@@ -27771,17 +27806,17 @@ var init_query_builder3 = __esm({
|
|
27771
27806
|
}
|
27772
27807
|
});
|
27773
27808
|
|
27774
|
-
// ../
|
27809
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/select.types.js
|
27775
27810
|
var init_select_types2 = __esm({
|
27776
|
-
"../
|
27811
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/select.types.js"() {
|
27777
27812
|
"use strict";
|
27778
27813
|
}
|
27779
27814
|
});
|
27780
27815
|
|
27781
|
-
// ../
|
27816
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/update.js
|
27782
27817
|
var _a203, SQLiteUpdateBuilder, _a204, _b147, SQLiteUpdateBase;
|
27783
27818
|
var init_update2 = __esm({
|
27784
|
-
"../
|
27819
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
|
27785
27820
|
"use strict";
|
27786
27821
|
init_entity();
|
27787
27822
|
init_query_promise();
|
@@ -27899,9 +27934,9 @@ var init_update2 = __esm({
|
|
27899
27934
|
}
|
27900
27935
|
});
|
27901
27936
|
|
27902
|
-
// ../
|
27937
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/index.js
|
27903
27938
|
var init_query_builders2 = __esm({
|
27904
|
-
"../
|
27939
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/index.js"() {
|
27905
27940
|
"use strict";
|
27906
27941
|
init_delete2();
|
27907
27942
|
init_insert2();
|
@@ -27912,10 +27947,10 @@ var init_query_builders2 = __esm({
|
|
27912
27947
|
}
|
27913
27948
|
});
|
27914
27949
|
|
27915
|
-
// ../
|
27950
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/query.js
|
27916
27951
|
var _a205, RelationalQueryBuilder2, _a206, _b148, SQLiteRelationalQuery, _a207, _b149, SQLiteSyncRelationalQuery;
|
27917
27952
|
var init_query2 = __esm({
|
27918
|
-
"../
|
27953
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
|
27919
27954
|
"use strict";
|
27920
27955
|
init_entity();
|
27921
27956
|
init_query_promise();
|
@@ -28066,10 +28101,10 @@ var init_query2 = __esm({
|
|
28066
28101
|
}
|
28067
28102
|
});
|
28068
28103
|
|
28069
|
-
// ../
|
28104
|
+
// ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
|
28070
28105
|
var _a208, _b150, SQLiteRaw;
|
28071
28106
|
var init_raw2 = __esm({
|
28072
|
-
"../
|
28107
|
+
"../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
|
28073
28108
|
"use strict";
|
28074
28109
|
init_entity();
|
28075
28110
|
init_query_promise();
|
@@ -28102,10 +28137,10 @@ var init_raw2 = __esm({
|
|
28102
28137
|
}
|
28103
28138
|
});
|
28104
28139
|
|
28105
|
-
// ../
|
28140
|
+
// ../drizzle-orm/dist/sqlite-core/db.js
|
28106
28141
|
var _a209, BaseSQLiteDatabase;
|
28107
28142
|
var init_db2 = __esm({
|
28108
|
-
"../
|
28143
|
+
"../drizzle-orm/dist/sqlite-core/db.js"() {
|
28109
28144
|
"use strict";
|
28110
28145
|
init_entity();
|
28111
28146
|
init_selection_proxy();
|
@@ -28395,10 +28430,10 @@ var init_db2 = __esm({
|
|
28395
28430
|
}
|
28396
28431
|
});
|
28397
28432
|
|
28398
|
-
// ../
|
28433
|
+
// ../drizzle-orm/dist/sqlite-core/indexes.js
|
28399
28434
|
var _a210, IndexBuilderOn2, _a211, IndexBuilder2, _a212, Index4;
|
28400
28435
|
var init_indexes2 = __esm({
|
28401
|
-
"../
|
28436
|
+
"../drizzle-orm/dist/sqlite-core/indexes.js"() {
|
28402
28437
|
"use strict";
|
28403
28438
|
init_entity();
|
28404
28439
|
_a210 = entityKind;
|
@@ -28448,10 +28483,10 @@ var init_indexes2 = __esm({
|
|
28448
28483
|
}
|
28449
28484
|
});
|
28450
28485
|
|
28451
|
-
// ../
|
28486
|
+
// ../drizzle-orm/dist/sqlite-core/primary-keys.js
|
28452
28487
|
var _a213, PrimaryKeyBuilder2, _a214, PrimaryKey2;
|
28453
28488
|
var init_primary_keys2 = __esm({
|
28454
|
-
"../
|
28489
|
+
"../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
|
28455
28490
|
"use strict";
|
28456
28491
|
init_entity();
|
28457
28492
|
init_table3();
|
@@ -28488,10 +28523,10 @@ var init_primary_keys2 = __esm({
|
|
28488
28523
|
}
|
28489
28524
|
});
|
28490
28525
|
|
28491
|
-
// ../
|
28526
|
+
// ../drizzle-orm/dist/sqlite-core/session.js
|
28492
28527
|
var _a215, _b151, ExecuteResultSync, _a216, SQLitePreparedQuery, _a217, SQLiteSession, _a218, _b152, SQLiteTransaction;
|
28493
28528
|
var init_session2 = __esm({
|
28494
|
-
"../
|
28529
|
+
"../drizzle-orm/dist/sqlite-core/session.js"() {
|
28495
28530
|
"use strict";
|
28496
28531
|
init_entity();
|
28497
28532
|
init_errors();
|
@@ -28609,23 +28644,23 @@ var init_session2 = __esm({
|
|
28609
28644
|
}
|
28610
28645
|
});
|
28611
28646
|
|
28612
|
-
// ../
|
28647
|
+
// ../drizzle-orm/dist/sqlite-core/subquery.js
|
28613
28648
|
var init_subquery3 = __esm({
|
28614
|
-
"../
|
28649
|
+
"../drizzle-orm/dist/sqlite-core/subquery.js"() {
|
28615
28650
|
"use strict";
|
28616
28651
|
}
|
28617
28652
|
});
|
28618
28653
|
|
28619
|
-
// ../
|
28654
|
+
// ../drizzle-orm/dist/sqlite-core/view-common.js
|
28620
28655
|
var SQLiteViewConfig;
|
28621
28656
|
var init_view_common3 = __esm({
|
28622
|
-
"../
|
28657
|
+
"../drizzle-orm/dist/sqlite-core/view-common.js"() {
|
28623
28658
|
"use strict";
|
28624
28659
|
SQLiteViewConfig = Symbol.for("drizzle:SQLiteViewConfig");
|
28625
28660
|
}
|
28626
28661
|
});
|
28627
28662
|
|
28628
|
-
// ../
|
28663
|
+
// ../drizzle-orm/dist/sqlite-core/utils.js
|
28629
28664
|
function getTableConfig2(table4) {
|
28630
28665
|
const columns = Object.values(table4[SQLiteTable.Symbol.Columns]);
|
28631
28666
|
const indexes = [];
|
@@ -28662,7 +28697,7 @@ function getTableConfig2(table4) {
|
|
28662
28697
|
};
|
28663
28698
|
}
|
28664
28699
|
var init_utils6 = __esm({
|
28665
|
-
"../
|
28700
|
+
"../drizzle-orm/dist/sqlite-core/utils.js"() {
|
28666
28701
|
"use strict";
|
28667
28702
|
init_entity();
|
28668
28703
|
init_table();
|
@@ -28675,10 +28710,10 @@ var init_utils6 = __esm({
|
|
28675
28710
|
}
|
28676
28711
|
});
|
28677
28712
|
|
28678
|
-
// ../
|
28713
|
+
// ../drizzle-orm/dist/sqlite-core/view.js
|
28679
28714
|
var _a219, ViewBuilderCore, _a220, _b153, ViewBuilder2, _a221, _b154, ManualViewBuilder2, _a222, _b155, _c6, SQLiteView;
|
28680
28715
|
var init_view2 = __esm({
|
28681
|
-
"../
|
28716
|
+
"../drizzle-orm/dist/sqlite-core/view.js"() {
|
28682
28717
|
"use strict";
|
28683
28718
|
init_entity();
|
28684
28719
|
init_selection_proxy();
|
@@ -28780,9 +28815,9 @@ var init_view2 = __esm({
|
|
28780
28815
|
}
|
28781
28816
|
});
|
28782
28817
|
|
28783
|
-
// ../
|
28818
|
+
// ../drizzle-orm/dist/sqlite-core/index.js
|
28784
28819
|
var init_sqlite_core = __esm({
|
28785
|
-
"../
|
28820
|
+
"../drizzle-orm/dist/sqlite-core/index.js"() {
|
28786
28821
|
"use strict";
|
28787
28822
|
init_alias3();
|
28788
28823
|
init_checks2();
|
@@ -28869,7 +28904,7 @@ var init_sqliteSerializer = __esm({
|
|
28869
28904
|
"src/serializer/sqliteSerializer.ts"() {
|
28870
28905
|
"use strict";
|
28871
28906
|
init_source();
|
28872
|
-
|
28907
|
+
init_dist();
|
28873
28908
|
init_sqlite_core();
|
28874
28909
|
init_outputs();
|
28875
28910
|
init_serializer();
|
@@ -29282,17 +29317,17 @@ WHERE
|
|
29282
29317
|
}
|
29283
29318
|
});
|
29284
29319
|
|
29285
|
-
// ../
|
29320
|
+
// ../drizzle-orm/dist/mysql-core/alias.js
|
29286
29321
|
var init_alias4 = __esm({
|
29287
|
-
"../
|
29322
|
+
"../drizzle-orm/dist/mysql-core/alias.js"() {
|
29288
29323
|
"use strict";
|
29289
29324
|
}
|
29290
29325
|
});
|
29291
29326
|
|
29292
|
-
// ../
|
29327
|
+
// ../drizzle-orm/dist/mysql-core/checks.js
|
29293
29328
|
var _a223, CheckBuilder3, _a224, Check3;
|
29294
29329
|
var init_checks3 = __esm({
|
29295
|
-
"../
|
29330
|
+
"../drizzle-orm/dist/mysql-core/checks.js"() {
|
29296
29331
|
"use strict";
|
29297
29332
|
init_entity();
|
29298
29333
|
_a223 = entityKind;
|
@@ -29322,7 +29357,7 @@ var init_checks3 = __esm({
|
|
29322
29357
|
}
|
29323
29358
|
});
|
29324
29359
|
|
29325
|
-
// ../
|
29360
|
+
// ../drizzle-orm/dist/mysql-core/table.js
|
29326
29361
|
function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
|
29327
29362
|
const rawTable = new MySqlTable(name2, schema4, baseName);
|
29328
29363
|
const builtColumns = Object.fromEntries(
|
@@ -29343,7 +29378,7 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
|
|
29343
29378
|
}
|
29344
29379
|
var InlineForeignKeys3, _a225, _b156, _c7, _d4, _e3, MySqlTable, mysqlTable;
|
29345
29380
|
var init_table4 = __esm({
|
29346
|
-
"../
|
29381
|
+
"../drizzle-orm/dist/mysql-core/table.js"() {
|
29347
29382
|
"use strict";
|
29348
29383
|
init_entity();
|
29349
29384
|
init_table();
|
@@ -29370,10 +29405,10 @@ var init_table4 = __esm({
|
|
29370
29405
|
}
|
29371
29406
|
});
|
29372
29407
|
|
29373
|
-
// ../
|
29408
|
+
// ../drizzle-orm/dist/mysql-core/foreign-keys.js
|
29374
29409
|
var _a226, ForeignKeyBuilder3, _a227, ForeignKey3;
|
29375
29410
|
var init_foreign_keys3 = __esm({
|
29376
|
-
"../
|
29411
|
+
"../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
|
29377
29412
|
"use strict";
|
29378
29413
|
init_entity();
|
29379
29414
|
init_table4();
|
@@ -29437,13 +29472,13 @@ var init_foreign_keys3 = __esm({
|
|
29437
29472
|
}
|
29438
29473
|
});
|
29439
29474
|
|
29440
|
-
// ../
|
29475
|
+
// ../drizzle-orm/dist/mysql-core/unique-constraint.js
|
29441
29476
|
function uniqueKeyName3(table4, columns) {
|
29442
29477
|
return `${table4[MySqlTable.Symbol.Name]}_${columns.join("_")}_unique`;
|
29443
29478
|
}
|
29444
29479
|
var _a228, UniqueConstraintBuilder3, _a229, UniqueOnConstraintBuilder3, _a230, UniqueConstraint3;
|
29445
29480
|
var init_unique_constraint3 = __esm({
|
29446
|
-
"../
|
29481
|
+
"../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
|
29447
29482
|
"use strict";
|
29448
29483
|
init_entity();
|
29449
29484
|
init_table4();
|
@@ -29491,10 +29526,10 @@ var init_unique_constraint3 = __esm({
|
|
29491
29526
|
}
|
29492
29527
|
});
|
29493
29528
|
|
29494
|
-
// ../
|
29529
|
+
// ../drizzle-orm/dist/mysql-core/columns/common.js
|
29495
29530
|
var _a231, _b157, MySqlColumnBuilder, _a232, _b158, MySqlColumn, _a233, _b159, MySqlColumnBuilderWithAutoIncrement, _a234, _b160, MySqlColumnWithAutoIncrement;
|
29496
29531
|
var init_common4 = __esm({
|
29497
|
-
"../
|
29532
|
+
"../drizzle-orm/dist/mysql-core/columns/common.js"() {
|
29498
29533
|
"use strict";
|
29499
29534
|
init_column_builder();
|
29500
29535
|
init_column();
|
@@ -29575,10 +29610,10 @@ var init_common4 = __esm({
|
|
29575
29610
|
}
|
29576
29611
|
});
|
29577
29612
|
|
29578
|
-
// ../
|
29613
|
+
// ../drizzle-orm/dist/mysql-core/columns/bigint.js
|
29579
29614
|
var _a235, _b161, MySqlBigInt53Builder, _a236, _b162, MySqlBigInt53, _a237, _b163, MySqlBigInt64Builder, _a238, _b164, MySqlBigInt64;
|
29580
29615
|
var init_bigint2 = __esm({
|
29581
|
-
"../
|
29616
|
+
"../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
|
29582
29617
|
"use strict";
|
29583
29618
|
init_entity();
|
29584
29619
|
init_common4();
|
@@ -29635,10 +29670,10 @@ var init_bigint2 = __esm({
|
|
29635
29670
|
}
|
29636
29671
|
});
|
29637
29672
|
|
29638
|
-
// ../
|
29673
|
+
// ../drizzle-orm/dist/mysql-core/columns/binary.js
|
29639
29674
|
var _a239, _b165, MySqlBinaryBuilder, _a240, _b166, MySqlBinary;
|
29640
29675
|
var init_binary = __esm({
|
29641
|
-
"../
|
29676
|
+
"../drizzle-orm/dist/mysql-core/columns/binary.js"() {
|
29642
29677
|
"use strict";
|
29643
29678
|
init_entity();
|
29644
29679
|
init_common4();
|
@@ -29666,10 +29701,10 @@ var init_binary = __esm({
|
|
29666
29701
|
}
|
29667
29702
|
});
|
29668
29703
|
|
29669
|
-
// ../
|
29704
|
+
// ../drizzle-orm/dist/mysql-core/columns/boolean.js
|
29670
29705
|
var _a241, _b167, MySqlBooleanBuilder, _a242, _b168, MySqlBoolean;
|
29671
29706
|
var init_boolean2 = __esm({
|
29672
|
-
"../
|
29707
|
+
"../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
|
29673
29708
|
"use strict";
|
29674
29709
|
init_entity();
|
29675
29710
|
init_common4();
|
@@ -29701,10 +29736,10 @@ var init_boolean2 = __esm({
|
|
29701
29736
|
}
|
29702
29737
|
});
|
29703
29738
|
|
29704
|
-
// ../
|
29739
|
+
// ../drizzle-orm/dist/mysql-core/columns/char.js
|
29705
29740
|
var _a243, _b169, MySqlCharBuilder, _a244, _b170, MySqlChar;
|
29706
29741
|
var init_char2 = __esm({
|
29707
|
-
"../
|
29742
|
+
"../drizzle-orm/dist/mysql-core/columns/char.js"() {
|
29708
29743
|
"use strict";
|
29709
29744
|
init_entity();
|
29710
29745
|
init_common4();
|
@@ -29737,10 +29772,10 @@ var init_char2 = __esm({
|
|
29737
29772
|
}
|
29738
29773
|
});
|
29739
29774
|
|
29740
|
-
// ../
|
29775
|
+
// ../drizzle-orm/dist/mysql-core/columns/custom.js
|
29741
29776
|
var _a245, _b171, MySqlCustomColumnBuilder, _a246, _b172, MySqlCustomColumn;
|
29742
29777
|
var init_custom3 = __esm({
|
29743
|
-
"../
|
29778
|
+
"../drizzle-orm/dist/mysql-core/columns/custom.js"() {
|
29744
29779
|
"use strict";
|
29745
29780
|
init_entity();
|
29746
29781
|
init_common4();
|
@@ -29783,10 +29818,10 @@ var init_custom3 = __esm({
|
|
29783
29818
|
}
|
29784
29819
|
});
|
29785
29820
|
|
29786
|
-
// ../
|
29821
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.js
|
29787
29822
|
var _a247, _b173, MySqlDateBuilder, _a248, _b174, MySqlDate, _a249, _b175, MySqlDateStringBuilder, _a250, _b176, MySqlDateString;
|
29788
29823
|
var init_date2 = __esm({
|
29789
|
-
"../
|
29824
|
+
"../drizzle-orm/dist/mysql-core/columns/date.js"() {
|
29790
29825
|
"use strict";
|
29791
29826
|
init_entity();
|
29792
29827
|
init_common4();
|
@@ -29837,10 +29872,10 @@ var init_date2 = __esm({
|
|
29837
29872
|
}
|
29838
29873
|
});
|
29839
29874
|
|
29840
|
-
// ../
|
29875
|
+
// ../drizzle-orm/dist/mysql-core/columns/datetime.js
|
29841
29876
|
var _a251, _b177, MySqlDateTimeBuilder, _a252, _b178, MySqlDateTime, _a253, _b179, MySqlDateTimeStringBuilder, _a254, _b180, MySqlDateTimeString;
|
29842
29877
|
var init_datetime = __esm({
|
29843
|
-
"../
|
29878
|
+
"../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
|
29844
29879
|
"use strict";
|
29845
29880
|
init_entity();
|
29846
29881
|
init_common4();
|
@@ -29905,10 +29940,10 @@ var init_datetime = __esm({
|
|
29905
29940
|
}
|
29906
29941
|
});
|
29907
29942
|
|
29908
|
-
// ../
|
29943
|
+
// ../drizzle-orm/dist/mysql-core/columns/decimal.js
|
29909
29944
|
var _a255, _b181, MySqlDecimalBuilder, _a256, _b182, MySqlDecimal;
|
29910
29945
|
var init_decimal = __esm({
|
29911
|
-
"../
|
29946
|
+
"../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
|
29912
29947
|
"use strict";
|
29913
29948
|
init_entity();
|
29914
29949
|
init_common4();
|
@@ -29947,10 +29982,10 @@ var init_decimal = __esm({
|
|
29947
29982
|
}
|
29948
29983
|
});
|
29949
29984
|
|
29950
|
-
// ../
|
29985
|
+
// ../drizzle-orm/dist/mysql-core/columns/double.js
|
29951
29986
|
var _a257, _b183, MySqlDoubleBuilder, _a258, _b184, MySqlDouble;
|
29952
29987
|
var init_double = __esm({
|
29953
|
-
"../
|
29988
|
+
"../drizzle-orm/dist/mysql-core/columns/double.js"() {
|
29954
29989
|
"use strict";
|
29955
29990
|
init_entity();
|
29956
29991
|
init_common4();
|
@@ -29986,10 +30021,10 @@ var init_double = __esm({
|
|
29986
30021
|
}
|
29987
30022
|
});
|
29988
30023
|
|
29989
|
-
// ../
|
30024
|
+
// ../drizzle-orm/dist/mysql-core/columns/enum.js
|
29990
30025
|
var _a259, _b185, MySqlEnumColumnBuilder, _a260, _b186, MySqlEnumColumn;
|
29991
30026
|
var init_enum2 = __esm({
|
29992
|
-
"../
|
30027
|
+
"../drizzle-orm/dist/mysql-core/columns/enum.js"() {
|
29993
30028
|
"use strict";
|
29994
30029
|
init_entity();
|
29995
30030
|
init_common4();
|
@@ -30020,10 +30055,10 @@ var init_enum2 = __esm({
|
|
30020
30055
|
}
|
30021
30056
|
});
|
30022
30057
|
|
30023
|
-
// ../
|
30058
|
+
// ../drizzle-orm/dist/mysql-core/columns/float.js
|
30024
30059
|
var _a261, _b187, MySqlFloatBuilder, _a262, _b188, MySqlFloat;
|
30025
30060
|
var init_float = __esm({
|
30026
|
-
"../
|
30061
|
+
"../drizzle-orm/dist/mysql-core/columns/float.js"() {
|
30027
30062
|
"use strict";
|
30028
30063
|
init_entity();
|
30029
30064
|
init_common4();
|
@@ -30046,10 +30081,10 @@ var init_float = __esm({
|
|
30046
30081
|
}
|
30047
30082
|
});
|
30048
30083
|
|
30049
|
-
// ../
|
30084
|
+
// ../drizzle-orm/dist/mysql-core/columns/int.js
|
30050
30085
|
var _a263, _b189, MySqlIntBuilder, _a264, _b190, MySqlInt;
|
30051
30086
|
var init_int = __esm({
|
30052
|
-
"../
|
30087
|
+
"../drizzle-orm/dist/mysql-core/columns/int.js"() {
|
30053
30088
|
"use strict";
|
30054
30089
|
init_entity();
|
30055
30090
|
init_common4();
|
@@ -30079,10 +30114,10 @@ var init_int = __esm({
|
|
30079
30114
|
}
|
30080
30115
|
});
|
30081
30116
|
|
30082
|
-
// ../
|
30117
|
+
// ../drizzle-orm/dist/mysql-core/columns/json.js
|
30083
30118
|
var _a265, _b191, MySqlJsonBuilder, _a266, _b192, MySqlJson;
|
30084
30119
|
var init_json2 = __esm({
|
30085
|
-
"../
|
30120
|
+
"../drizzle-orm/dist/mysql-core/columns/json.js"() {
|
30086
30121
|
"use strict";
|
30087
30122
|
init_entity();
|
30088
30123
|
init_common4();
|
@@ -30108,10 +30143,10 @@ var init_json2 = __esm({
|
|
30108
30143
|
}
|
30109
30144
|
});
|
30110
30145
|
|
30111
|
-
// ../
|
30146
|
+
// ../drizzle-orm/dist/mysql-core/columns/mediumint.js
|
30112
30147
|
var _a267, _b193, MySqlMediumIntBuilder, _a268, _b194, MySqlMediumInt;
|
30113
30148
|
var init_mediumint = __esm({
|
30114
|
-
"../
|
30149
|
+
"../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
|
30115
30150
|
"use strict";
|
30116
30151
|
init_entity();
|
30117
30152
|
init_common4();
|
@@ -30144,10 +30179,10 @@ var init_mediumint = __esm({
|
|
30144
30179
|
}
|
30145
30180
|
});
|
30146
30181
|
|
30147
|
-
// ../
|
30182
|
+
// ../drizzle-orm/dist/mysql-core/columns/real.js
|
30148
30183
|
var _a269, _b195, MySqlRealBuilder, _a270, _b196, MySqlReal;
|
30149
30184
|
var init_real3 = __esm({
|
30150
|
-
"../
|
30185
|
+
"../drizzle-orm/dist/mysql-core/columns/real.js"() {
|
30151
30186
|
"use strict";
|
30152
30187
|
init_entity();
|
30153
30188
|
init_common4();
|
@@ -30183,10 +30218,10 @@ var init_real3 = __esm({
|
|
30183
30218
|
}
|
30184
30219
|
});
|
30185
30220
|
|
30186
|
-
// ../
|
30221
|
+
// ../drizzle-orm/dist/mysql-core/columns/serial.js
|
30187
30222
|
var _a271, _b197, MySqlSerialBuilder, _a272, _b198, MySqlSerial;
|
30188
30223
|
var init_serial2 = __esm({
|
30189
|
-
"../
|
30224
|
+
"../drizzle-orm/dist/mysql-core/columns/serial.js"() {
|
30190
30225
|
"use strict";
|
30191
30226
|
init_entity();
|
30192
30227
|
init_common4();
|
@@ -30217,10 +30252,10 @@ var init_serial2 = __esm({
|
|
30217
30252
|
}
|
30218
30253
|
});
|
30219
30254
|
|
30220
|
-
// ../
|
30255
|
+
// ../drizzle-orm/dist/mysql-core/columns/smallint.js
|
30221
30256
|
var _a273, _b199, MySqlSmallIntBuilder, _a274, _b200, MySqlSmallInt;
|
30222
30257
|
var init_smallint2 = __esm({
|
30223
|
-
"../
|
30258
|
+
"../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
|
30224
30259
|
"use strict";
|
30225
30260
|
init_entity();
|
30226
30261
|
init_common4();
|
@@ -30253,10 +30288,10 @@ var init_smallint2 = __esm({
|
|
30253
30288
|
}
|
30254
30289
|
});
|
30255
30290
|
|
30256
|
-
// ../
|
30291
|
+
// ../drizzle-orm/dist/mysql-core/columns/text.js
|
30257
30292
|
var _a275, _b201, MySqlTextBuilder, _a276, _b202, MySqlText;
|
30258
30293
|
var init_text3 = __esm({
|
30259
|
-
"../
|
30294
|
+
"../drizzle-orm/dist/mysql-core/columns/text.js"() {
|
30260
30295
|
"use strict";
|
30261
30296
|
init_entity();
|
30262
30297
|
init_common4();
|
@@ -30286,10 +30321,10 @@ var init_text3 = __esm({
|
|
30286
30321
|
}
|
30287
30322
|
});
|
30288
30323
|
|
30289
|
-
// ../
|
30324
|
+
// ../drizzle-orm/dist/mysql-core/columns/time.js
|
30290
30325
|
var _a277, _b203, MySqlTimeBuilder, _a278, _b204, MySqlTime;
|
30291
30326
|
var init_time2 = __esm({
|
30292
|
-
"../
|
30327
|
+
"../drizzle-orm/dist/mysql-core/columns/time.js"() {
|
30293
30328
|
"use strict";
|
30294
30329
|
init_entity();
|
30295
30330
|
init_common4();
|
@@ -30318,10 +30353,10 @@ var init_time2 = __esm({
|
|
30318
30353
|
}
|
30319
30354
|
});
|
30320
30355
|
|
30321
|
-
// ../
|
30356
|
+
// ../drizzle-orm/dist/mysql-core/columns/date.common.js
|
30322
30357
|
var _a279, _b205, MySqlDateColumnBaseBuilder, _a280, _b206, MySqlDateBaseColumn;
|
30323
30358
|
var init_date_common2 = __esm({
|
30324
|
-
"../
|
30359
|
+
"../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
|
30325
30360
|
"use strict";
|
30326
30361
|
init_entity();
|
30327
30362
|
init_sql();
|
@@ -30348,10 +30383,10 @@ var init_date_common2 = __esm({
|
|
30348
30383
|
}
|
30349
30384
|
});
|
30350
30385
|
|
30351
|
-
// ../
|
30386
|
+
// ../drizzle-orm/dist/mysql-core/columns/timestamp.js
|
30352
30387
|
var _a281, _b207, MySqlTimestampBuilder, _a282, _b208, MySqlTimestamp, _a283, _b209, MySqlTimestampStringBuilder, _a284, _b210, MySqlTimestampString;
|
30353
30388
|
var init_timestamp2 = __esm({
|
30354
|
-
"../
|
30389
|
+
"../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
|
30355
30390
|
"use strict";
|
30356
30391
|
init_entity();
|
30357
30392
|
init_date_common2();
|
@@ -30414,10 +30449,10 @@ var init_timestamp2 = __esm({
|
|
30414
30449
|
}
|
30415
30450
|
});
|
30416
30451
|
|
30417
|
-
// ../
|
30452
|
+
// ../drizzle-orm/dist/mysql-core/columns/tinyint.js
|
30418
30453
|
var _a285, _b211, MySqlTinyIntBuilder, _a286, _b212, MySqlTinyInt;
|
30419
30454
|
var init_tinyint = __esm({
|
30420
|
-
"../
|
30455
|
+
"../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
|
30421
30456
|
"use strict";
|
30422
30457
|
init_entity();
|
30423
30458
|
init_common4();
|
@@ -30450,10 +30485,10 @@ var init_tinyint = __esm({
|
|
30450
30485
|
}
|
30451
30486
|
});
|
30452
30487
|
|
30453
|
-
// ../
|
30488
|
+
// ../drizzle-orm/dist/mysql-core/columns/varbinary.js
|
30454
30489
|
var _a287, _b213, MySqlVarBinaryBuilder, _a288, _b214, MySqlVarBinary;
|
30455
30490
|
var init_varbinary = __esm({
|
30456
|
-
"../
|
30491
|
+
"../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
|
30457
30492
|
"use strict";
|
30458
30493
|
init_entity();
|
30459
30494
|
init_common4();
|
@@ -30485,10 +30520,10 @@ var init_varbinary = __esm({
|
|
30485
30520
|
}
|
30486
30521
|
});
|
30487
30522
|
|
30488
|
-
// ../
|
30523
|
+
// ../drizzle-orm/dist/mysql-core/columns/varchar.js
|
30489
30524
|
var _a289, _b215, MySqlVarCharBuilder, _a290, _b216, MySqlVarChar;
|
30490
30525
|
var init_varchar2 = __esm({
|
30491
|
-
"../
|
30526
|
+
"../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
|
30492
30527
|
"use strict";
|
30493
30528
|
init_entity();
|
30494
30529
|
init_common4();
|
@@ -30522,10 +30557,10 @@ var init_varchar2 = __esm({
|
|
30522
30557
|
}
|
30523
30558
|
});
|
30524
30559
|
|
30525
|
-
// ../
|
30560
|
+
// ../drizzle-orm/dist/mysql-core/columns/year.js
|
30526
30561
|
var _a291, _b217, MySqlYearBuilder, _a292, _b218, MySqlYear;
|
30527
30562
|
var init_year = __esm({
|
30528
|
-
"../
|
30563
|
+
"../drizzle-orm/dist/mysql-core/columns/year.js"() {
|
30529
30564
|
"use strict";
|
30530
30565
|
init_entity();
|
30531
30566
|
init_common4();
|
@@ -30548,9 +30583,9 @@ var init_year = __esm({
|
|
30548
30583
|
}
|
30549
30584
|
});
|
30550
30585
|
|
30551
|
-
// ../
|
30586
|
+
// ../drizzle-orm/dist/mysql-core/columns/index.js
|
30552
30587
|
var init_columns3 = __esm({
|
30553
|
-
"../
|
30588
|
+
"../drizzle-orm/dist/mysql-core/columns/index.js"() {
|
30554
30589
|
"use strict";
|
30555
30590
|
init_bigint2();
|
30556
30591
|
init_binary();
|
@@ -30580,10 +30615,10 @@ var init_columns3 = __esm({
|
|
30580
30615
|
}
|
30581
30616
|
});
|
30582
30617
|
|
30583
|
-
// ../
|
30618
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/delete.js
|
30584
30619
|
var _a293, _b219, MySqlDeleteBase;
|
30585
30620
|
var init_delete3 = __esm({
|
30586
|
-
"../
|
30621
|
+
"../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
|
30587
30622
|
"use strict";
|
30588
30623
|
init_entity();
|
30589
30624
|
init_query_promise();
|
@@ -30661,10 +30696,10 @@ var init_delete3 = __esm({
|
|
30661
30696
|
}
|
30662
30697
|
});
|
30663
30698
|
|
30664
|
-
// ../
|
30699
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/insert.js
|
30665
30700
|
var _a294, MySqlInsertBuilder, _a295, _b220, MySqlInsertBase;
|
30666
30701
|
var init_insert3 = __esm({
|
30667
|
-
"../
|
30702
|
+
"../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
|
30668
30703
|
"use strict";
|
30669
30704
|
init_entity();
|
30670
30705
|
init_query_promise();
|
@@ -30786,10 +30821,10 @@ var init_insert3 = __esm({
|
|
30786
30821
|
}
|
30787
30822
|
});
|
30788
30823
|
|
30789
|
-
// ../
|
30824
|
+
// ../drizzle-orm/dist/mysql-core/view-base.js
|
30790
30825
|
var _a296, _b221, MySqlViewBase;
|
30791
30826
|
var init_view_base3 = __esm({
|
30792
|
-
"../
|
30827
|
+
"../drizzle-orm/dist/mysql-core/view-base.js"() {
|
30793
30828
|
"use strict";
|
30794
30829
|
init_entity();
|
30795
30830
|
init_sql();
|
@@ -30799,10 +30834,10 @@ var init_view_base3 = __esm({
|
|
30799
30834
|
}
|
30800
30835
|
});
|
30801
30836
|
|
30802
|
-
// ../
|
30837
|
+
// ../drizzle-orm/dist/mysql-core/dialect.js
|
30803
30838
|
var _a297, MySqlDialect;
|
30804
30839
|
var init_dialect3 = __esm({
|
30805
|
-
"../
|
30840
|
+
"../drizzle-orm/dist/mysql-core/dialect.js"() {
|
30806
30841
|
"use strict";
|
30807
30842
|
init_alias();
|
30808
30843
|
init_column();
|
@@ -31598,7 +31633,7 @@ var init_dialect3 = __esm({
|
|
31598
31633
|
}
|
31599
31634
|
});
|
31600
31635
|
|
31601
|
-
// ../
|
31636
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.js
|
31602
31637
|
function createSetOperator3(type, isAll) {
|
31603
31638
|
return (leftSelect, rightSelect, ...restSelects) => {
|
31604
31639
|
const setOperators = [rightSelect, ...restSelects].map((select) => ({
|
@@ -31618,7 +31653,7 @@ function createSetOperator3(type, isAll) {
|
|
31618
31653
|
}
|
31619
31654
|
var _a298, MySqlSelectBuilder, _a299, _b222, MySqlSelectQueryBuilderBase, _a300, _b223, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
|
31620
31655
|
var init_select4 = __esm({
|
31621
|
-
"../
|
31656
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
|
31622
31657
|
"use strict";
|
31623
31658
|
init_entity();
|
31624
31659
|
init_query_builder();
|
@@ -32322,10 +32357,10 @@ var init_select4 = __esm({
|
|
32322
32357
|
}
|
32323
32358
|
});
|
32324
32359
|
|
32325
|
-
// ../
|
32360
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
|
32326
32361
|
var _a301, QueryBuilder3;
|
32327
32362
|
var init_query_builder4 = __esm({
|
32328
|
-
"../
|
32363
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
|
32329
32364
|
"use strict";
|
32330
32365
|
init_entity();
|
32331
32366
|
init_dialect3();
|
@@ -32395,17 +32430,17 @@ var init_query_builder4 = __esm({
|
|
32395
32430
|
}
|
32396
32431
|
});
|
32397
32432
|
|
32398
|
-
// ../
|
32433
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/select.types.js
|
32399
32434
|
var init_select_types3 = __esm({
|
32400
|
-
"../
|
32435
|
+
"../drizzle-orm/dist/mysql-core/query-builders/select.types.js"() {
|
32401
32436
|
"use strict";
|
32402
32437
|
}
|
32403
32438
|
});
|
32404
32439
|
|
32405
|
-
// ../
|
32440
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/update.js
|
32406
32441
|
var _a302, MySqlUpdateBuilder, _a303, _b224, MySqlUpdateBase;
|
32407
32442
|
var init_update3 = __esm({
|
32408
|
-
"../
|
32443
|
+
"../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
|
32409
32444
|
"use strict";
|
32410
32445
|
init_entity();
|
32411
32446
|
init_query_promise();
|
@@ -32500,9 +32535,9 @@ var init_update3 = __esm({
|
|
32500
32535
|
}
|
32501
32536
|
});
|
32502
32537
|
|
32503
|
-
// ../
|
32538
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/index.js
|
32504
32539
|
var init_query_builders3 = __esm({
|
32505
|
-
"../
|
32540
|
+
"../drizzle-orm/dist/mysql-core/query-builders/index.js"() {
|
32506
32541
|
"use strict";
|
32507
32542
|
init_delete3();
|
32508
32543
|
init_insert3();
|
@@ -32513,10 +32548,10 @@ var init_query_builders3 = __esm({
|
|
32513
32548
|
}
|
32514
32549
|
});
|
32515
32550
|
|
32516
|
-
// ../
|
32551
|
+
// ../drizzle-orm/dist/mysql-core/query-builders/query.js
|
32517
32552
|
var _a304, RelationalQueryBuilder3, _a305, _b225, MySqlRelationalQuery;
|
32518
32553
|
var init_query3 = __esm({
|
32519
|
-
"../
|
32554
|
+
"../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
|
32520
32555
|
"use strict";
|
32521
32556
|
init_entity();
|
32522
32557
|
init_query_promise();
|
@@ -32631,10 +32666,10 @@ var init_query3 = __esm({
|
|
32631
32666
|
}
|
32632
32667
|
});
|
32633
32668
|
|
32634
|
-
// ../
|
32669
|
+
// ../drizzle-orm/dist/mysql-core/db.js
|
32635
32670
|
var _a306, MySqlDatabase;
|
32636
32671
|
var init_db3 = __esm({
|
32637
|
-
"../
|
32672
|
+
"../drizzle-orm/dist/mysql-core/db.js"() {
|
32638
32673
|
"use strict";
|
32639
32674
|
init_entity();
|
32640
32675
|
init_selection_proxy();
|
@@ -32854,10 +32889,10 @@ var init_db3 = __esm({
|
|
32854
32889
|
}
|
32855
32890
|
});
|
32856
32891
|
|
32857
|
-
// ../
|
32892
|
+
// ../drizzle-orm/dist/mysql-core/indexes.js
|
32858
32893
|
var _a307, IndexBuilderOn3, _a308, IndexBuilder3, _a309, Index5;
|
32859
32894
|
var init_indexes3 = __esm({
|
32860
|
-
"../
|
32895
|
+
"../drizzle-orm/dist/mysql-core/indexes.js"() {
|
32861
32896
|
"use strict";
|
32862
32897
|
init_entity();
|
32863
32898
|
_a307 = entityKind;
|
@@ -32911,10 +32946,10 @@ var init_indexes3 = __esm({
|
|
32911
32946
|
}
|
32912
32947
|
});
|
32913
32948
|
|
32914
|
-
// ../
|
32949
|
+
// ../drizzle-orm/dist/mysql-core/primary-keys.js
|
32915
32950
|
var _a310, PrimaryKeyBuilder3, _a311, PrimaryKey3;
|
32916
32951
|
var init_primary_keys3 = __esm({
|
32917
|
-
"../
|
32952
|
+
"../drizzle-orm/dist/mysql-core/primary-keys.js"() {
|
32918
32953
|
"use strict";
|
32919
32954
|
init_entity();
|
32920
32955
|
init_table4();
|
@@ -32951,16 +32986,16 @@ var init_primary_keys3 = __esm({
|
|
32951
32986
|
}
|
32952
32987
|
});
|
32953
32988
|
|
32954
|
-
// ../
|
32989
|
+
// ../drizzle-orm/dist/mysql-core/view-common.js
|
32955
32990
|
var MySqlViewConfig;
|
32956
32991
|
var init_view_common4 = __esm({
|
32957
|
-
"../
|
32992
|
+
"../drizzle-orm/dist/mysql-core/view-common.js"() {
|
32958
32993
|
"use strict";
|
32959
32994
|
MySqlViewConfig = Symbol.for("drizzle:MySqlViewConfig");
|
32960
32995
|
}
|
32961
32996
|
});
|
32962
32997
|
|
32963
|
-
// ../
|
32998
|
+
// ../drizzle-orm/dist/mysql-core/view.js
|
32964
32999
|
function mysqlViewWithSchema(name2, selection, schema4) {
|
32965
33000
|
if (selection) {
|
32966
33001
|
return new ManualViewBuilder3(name2, selection, schema4);
|
@@ -32969,7 +33004,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
|
|
32969
33004
|
}
|
32970
33005
|
var _a312, ViewBuilderCore2, _a313, _b226, ViewBuilder3, _a314, _b227, ManualViewBuilder3, _a315, _b228, _c8, MySqlView;
|
32971
33006
|
var init_view3 = __esm({
|
32972
|
-
"../
|
33007
|
+
"../drizzle-orm/dist/mysql-core/view.js"() {
|
32973
33008
|
"use strict";
|
32974
33009
|
init_entity();
|
32975
33010
|
init_selection_proxy();
|
@@ -33087,10 +33122,10 @@ var init_view3 = __esm({
|
|
33087
33122
|
}
|
33088
33123
|
});
|
33089
33124
|
|
33090
|
-
// ../
|
33125
|
+
// ../drizzle-orm/dist/mysql-core/schema.js
|
33091
33126
|
var _a316, MySqlSchema5;
|
33092
33127
|
var init_schema2 = __esm({
|
33093
|
-
"../
|
33128
|
+
"../drizzle-orm/dist/mysql-core/schema.js"() {
|
33094
33129
|
"use strict";
|
33095
33130
|
init_entity();
|
33096
33131
|
init_table4();
|
@@ -33111,10 +33146,10 @@ var init_schema2 = __esm({
|
|
33111
33146
|
}
|
33112
33147
|
});
|
33113
33148
|
|
33114
|
-
// ../
|
33149
|
+
// ../drizzle-orm/dist/mysql-core/session.js
|
33115
33150
|
var _a317, MySqlPreparedQuery, _a318, MySqlSession, _a319, _b229, MySqlTransaction;
|
33116
33151
|
var init_session3 = __esm({
|
33117
|
-
"../
|
33152
|
+
"../drizzle-orm/dist/mysql-core/session.js"() {
|
33118
33153
|
"use strict";
|
33119
33154
|
init_entity();
|
33120
33155
|
init_errors();
|
@@ -33144,7 +33179,7 @@ var init_session3 = __esm({
|
|
33144
33179
|
if (config.isolationLevel) {
|
33145
33180
|
parts.push(`isolation level ${config.isolationLevel}`);
|
33146
33181
|
}
|
33147
|
-
return parts.length ? sql
|
33182
|
+
return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33148
33183
|
}
|
33149
33184
|
getStartTransactionSQL(config) {
|
33150
33185
|
const parts = [];
|
@@ -33154,7 +33189,7 @@ var init_session3 = __esm({
|
|
33154
33189
|
if (config.accessMode) {
|
33155
33190
|
parts.push(config.accessMode);
|
33156
33191
|
}
|
33157
|
-
return parts.length ? sql
|
33192
|
+
return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
|
33158
33193
|
}
|
33159
33194
|
};
|
33160
33195
|
__publicField(MySqlSession, _a318, "MySqlSession");
|
@@ -33172,14 +33207,14 @@ var init_session3 = __esm({
|
|
33172
33207
|
}
|
33173
33208
|
});
|
33174
33209
|
|
33175
|
-
// ../
|
33210
|
+
// ../drizzle-orm/dist/mysql-core/subquery.js
|
33176
33211
|
var init_subquery4 = __esm({
|
33177
|
-
"../
|
33212
|
+
"../drizzle-orm/dist/mysql-core/subquery.js"() {
|
33178
33213
|
"use strict";
|
33179
33214
|
}
|
33180
33215
|
});
|
33181
33216
|
|
33182
|
-
// ../
|
33217
|
+
// ../drizzle-orm/dist/mysql-core/utils.js
|
33183
33218
|
function getTableConfig3(table4) {
|
33184
33219
|
const columns = Object.values(table4[MySqlTable.Symbol.Columns]);
|
33185
33220
|
const indexes = [];
|
@@ -33220,7 +33255,7 @@ function getTableConfig3(table4) {
|
|
33220
33255
|
};
|
33221
33256
|
}
|
33222
33257
|
var init_utils7 = __esm({
|
33223
|
-
"../
|
33258
|
+
"../drizzle-orm/dist/mysql-core/utils.js"() {
|
33224
33259
|
"use strict";
|
33225
33260
|
init_entity();
|
33226
33261
|
init_table();
|
@@ -33233,9 +33268,9 @@ var init_utils7 = __esm({
|
|
33233
33268
|
}
|
33234
33269
|
});
|
33235
33270
|
|
33236
|
-
// ../
|
33271
|
+
// ../drizzle-orm/dist/mysql-core/index.js
|
33237
33272
|
var init_mysql_core = __esm({
|
33238
|
-
"../
|
33273
|
+
"../drizzle-orm/dist/mysql-core/index.js"() {
|
33239
33274
|
"use strict";
|
33240
33275
|
init_alias4();
|
33241
33276
|
init_checks3();
|
@@ -33280,8 +33315,8 @@ var init_mysqlSerializer = __esm({
|
|
33280
33315
|
"src/serializer/mysqlSerializer.ts"() {
|
33281
33316
|
"use strict";
|
33282
33317
|
init_source();
|
33283
|
-
|
33284
|
-
|
33318
|
+
init_dist();
|
33319
|
+
init_dist();
|
33285
33320
|
init_mysql_core();
|
33286
33321
|
init_mysql_core();
|
33287
33322
|
init_outputs();
|
@@ -33605,7 +33640,7 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
33605
33640
|
onUpdate = true;
|
33606
33641
|
}
|
33607
33642
|
const newColumn = {
|
33608
|
-
default: columnDefault === null ? void 0 : /^-?[\d.]+(?:e-?\d+)?$/.test(columnDefault) && !columnType.startsWith(
|
33643
|
+
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}'`,
|
33609
33644
|
autoincrement: isAutoincrement,
|
33610
33645
|
name: columnName,
|
33611
33646
|
type: changedType,
|
@@ -34083,7 +34118,7 @@ var prepareFromExports;
|
|
34083
34118
|
var init_pgImports = __esm({
|
34084
34119
|
"src/serializer/pgImports.ts"() {
|
34085
34120
|
"use strict";
|
34086
|
-
|
34121
|
+
init_dist();
|
34087
34122
|
init_pg_core();
|
34088
34123
|
init_utils8();
|
34089
34124
|
prepareFromExports = (exports) => {
|
@@ -34122,7 +34157,7 @@ var prepareFromExports2, prepareFromSqliteImports;
|
|
34122
34157
|
var init_sqliteImports = __esm({
|
34123
34158
|
"src/serializer/sqliteImports.ts"() {
|
34124
34159
|
"use strict";
|
34125
|
-
|
34160
|
+
init_dist();
|
34126
34161
|
init_sqlite_core();
|
34127
34162
|
init_utils8();
|
34128
34163
|
prepareFromExports2 = (exports) => {
|
@@ -34160,7 +34195,7 @@ var prepareFromExports3, prepareFromMySqlImports;
|
|
34160
34195
|
var init_mysqlImports = __esm({
|
34161
34196
|
"src/serializer/mysqlImports.ts"() {
|
34162
34197
|
"use strict";
|
34163
|
-
|
34198
|
+
init_dist();
|
34164
34199
|
init_mysql_core();
|
34165
34200
|
init_utils8();
|
34166
34201
|
prepareFromExports3 = (exports) => {
|
@@ -35278,7 +35313,7 @@ var generateMigration = async (prev, cur) => {
|
|
35278
35313
|
};
|
35279
35314
|
var pushSchema = async (imports, drizzleInstance, schemaFilters) => {
|
35280
35315
|
const { applyPgSnapshotsDiff: applyPgSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35281
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35316
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35282
35317
|
const db = {
|
35283
35318
|
query: async (query, params) => {
|
35284
35319
|
const res = await drizzleInstance.execute(sql2.raw(query));
|
@@ -35348,7 +35383,7 @@ var generateSQLiteMigration = async (prev, cur) => {
|
|
35348
35383
|
};
|
35349
35384
|
var pushSQLiteSchema = async (imports, drizzleInstance) => {
|
35350
35385
|
const { applySqliteSnapshotsDiff: applySqliteSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35351
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35386
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35352
35387
|
const db = {
|
35353
35388
|
query: async (query, params) => {
|
35354
35389
|
const res = drizzleInstance.all(sql2.raw(query));
|
@@ -35425,7 +35460,7 @@ var pushMySQLSchema = async (imports, drizzleInstance, databaseName) => {
|
|
35425
35460
|
const { applyMysqlSnapshotsDiff: applyMysqlSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
|
35426
35461
|
const { logSuggestionsAndReturn: logSuggestionsAndReturn3 } = await Promise.resolve().then(() => (init_mysqlPushUtils(), mysqlPushUtils_exports));
|
35427
35462
|
const { mysqlPushIntrospect: mysqlPushIntrospect2 } = await Promise.resolve().then(() => (init_mysqlIntrospect(), mysqlIntrospect_exports));
|
35428
|
-
const { sql: sql2 } = await Promise.resolve().then(() => (
|
35463
|
+
const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
|
35429
35464
|
const db = {
|
35430
35465
|
query: async (query, params) => {
|
35431
35466
|
const res = await drizzleInstance.execute(sql2.raw(query));
|