drizzle-kit 0.23.2-5be2712 → 0.23.2-6f27447

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. package/api.js +894 -511
  2. package/api.mjs +894 -511
  3. package/bin.cjs +4044 -49606
  4. package/package.json +2 -3
  5. package/utils.js +5 -0
  6. package/utils.mjs +4 -0
package/api.js CHANGED
@@ -3592,7 +3592,7 @@ function createZodEnum(values, params) {
3592
3592
  ...processCreateParams(params)
3593
3593
  });
3594
3594
  }
3595
- var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, ZodError, errorMap, overrideErrorMap, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType;
3595
+ var util, objectUtil, ZodParsedType, getParsedType, ZodIssueCode, ZodError, errorMap, overrideErrorMap, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, errorUtil, _ZodEnum_cache, _ZodNativeEnum_cache, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv6Regex, base64Regex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, BRAND, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, coerce;
3596
3596
  var init_lib = __esm({
3597
3597
  "../node_modules/.pnpm/zod@3.23.7/node_modules/zod/lib/index.mjs"() {
3598
3598
  "use strict";
@@ -7184,6 +7184,16 @@ var init_lib = __esm({
7184
7184
  nullableType = ZodNullable.create;
7185
7185
  preprocessType = ZodEffects.createWithPreprocess;
7186
7186
  pipelineType = ZodPipeline.create;
7187
+ coerce = {
7188
+ string: (arg) => ZodString.create({ ...arg, coerce: true }),
7189
+ number: (arg) => ZodNumber.create({ ...arg, coerce: true }),
7190
+ boolean: (arg) => ZodBoolean.create({
7191
+ ...arg,
7192
+ coerce: true
7193
+ }),
7194
+ bigint: (arg) => ZodBigInt.create({ ...arg, coerce: true }),
7195
+ date: (arg) => ZodDate.create({ ...arg, coerce: true })
7196
+ };
7187
7197
  }
7188
7198
  });
7189
7199
 
@@ -8328,10 +8338,18 @@ var init_sqliteSchema = __esm({
8328
8338
  });
8329
8339
 
8330
8340
  // src/utils.ts
8341
+ function isPgArrayType(sqlType) {
8342
+ return sqlType.match(/.*\[\d*\].*|.*\[\].*/g) !== null;
8343
+ }
8331
8344
  var copy, prepareMigrationMeta, schemaRenameKey, tableRenameKey, columnRenameKey;
8332
8345
  var init_utils = __esm({
8333
8346
  "src/utils.ts"() {
8334
8347
  "use strict";
8348
+ init_views();
8349
+ init_global();
8350
+ init_mysqlSchema();
8351
+ init_pgSchema();
8352
+ init_sqliteSchema();
8335
8353
  copy = (it) => {
8336
8354
  return JSON.parse(JSON.stringify(it));
8337
8355
  };
@@ -8379,6 +8397,7 @@ var init_views = __esm({
8379
8397
  "use strict";
8380
8398
  init_source();
8381
8399
  import_hanji = __toESM(require_hanji());
8400
+ init_utils();
8382
8401
  warning = (msg) => {
8383
8402
  (0, import_hanji.render)(`[${source_default.yellow("Warning")}] ${msg}`);
8384
8403
  };
@@ -8575,6 +8594,7 @@ var init_serializer = __esm({
8575
8594
  "src/serializer/index.ts"() {
8576
8595
  "use strict";
8577
8596
  glob = __toESM(require_glob());
8597
+ init_views();
8578
8598
  sqlToStr = (sql2) => {
8579
8599
  return sql2.toQuery({
8580
8600
  escapeName: () => {
@@ -8596,6 +8616,10 @@ var fillPgSnapshot;
8596
8616
  var init_migrationPreparator = __esm({
8597
8617
  "src/migrationPreparator.ts"() {
8598
8618
  "use strict";
8619
+ init_serializer();
8620
+ init_mysqlSchema();
8621
+ init_pgSchema();
8622
+ init_sqliteSchema();
8599
8623
  fillPgSnapshot = ({
8600
8624
  serialized,
8601
8625
  id,
@@ -15793,6 +15817,13 @@ var init_snapshotsDiffer = __esm({
15793
15817
  }
15794
15818
  });
15795
15819
 
15820
+ // src/utils/words.ts
15821
+ var init_words = __esm({
15822
+ "src/utils/words.ts"() {
15823
+ "use strict";
15824
+ }
15825
+ });
15826
+
15796
15827
  // src/schemaValidator.ts
15797
15828
  var dialects, dialect3, commonSquashedSchema, commonSchema;
15798
15829
  var init_schemaValidator = __esm({
@@ -15820,6 +15851,7 @@ var init_common = __esm({
15820
15851
  "use strict";
15821
15852
  init_lib();
15822
15853
  init_schemaValidator();
15854
+ init_outputs();
15823
15855
  sqliteDriversLiterals = [
15824
15856
  literalType("turso"),
15825
15857
  literalType("d1-http"),
@@ -15902,6 +15934,7 @@ var init_outputs = __esm({
15902
15934
  "src/cli/validations/outputs.ts"() {
15903
15935
  "use strict";
15904
15936
  init_source();
15937
+ init_common();
15905
15938
  withStyle = {
15906
15939
  error: (str) => `${source_default.red(`${source_default.white.bgRed(" Invalid input ")} ${str}`)}`,
15907
15940
  warning: (str) => `${source_default.white.bgGray(" Warning ")} ${str}`,
@@ -15918,8 +15951,16 @@ var import_hanji2, schemasResolver, tablesResolver, sequencesResolver, enumsReso
15918
15951
  var init_migrate = __esm({
15919
15952
  "src/cli/commands/migrate.ts"() {
15920
15953
  "use strict";
15954
+ init_migrationPreparator();
15921
15955
  init_source();
15922
15956
  import_hanji2 = __toESM(require_hanji());
15957
+ init_mysqlSchema();
15958
+ init_pgSchema();
15959
+ init_sqliteSchema();
15960
+ init_snapshotsDiffer();
15961
+ init_utils();
15962
+ init_words();
15963
+ init_outputs();
15923
15964
  init_views();
15924
15965
  schemasResolver = async (input) => {
15925
15966
  try {
@@ -17234,7 +17275,7 @@ var init_mjs = __esm({
17234
17275
  }
17235
17276
  });
17236
17277
 
17237
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/entity.js
17278
+ // ../drizzle-orm/dist/entity.js
17238
17279
  function is(value, type) {
17239
17280
  if (!value || typeof value !== "object") {
17240
17281
  return false;
@@ -17260,21 +17301,21 @@ function is(value, type) {
17260
17301
  }
17261
17302
  var entityKind, hasOwnEntityKind;
17262
17303
  var init_entity = __esm({
17263
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/entity.js"() {
17304
+ "../drizzle-orm/dist/entity.js"() {
17264
17305
  "use strict";
17265
17306
  entityKind = Symbol.for("drizzle:entityKind");
17266
17307
  hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
17267
17308
  }
17268
17309
  });
17269
17310
 
17270
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/column.js
17271
- var _a, Column;
17311
+ // ../drizzle-orm/dist/column.js
17312
+ var _a, Column2;
17272
17313
  var init_column = __esm({
17273
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/column.js"() {
17314
+ "../drizzle-orm/dist/column.js"() {
17274
17315
  "use strict";
17275
17316
  init_entity();
17276
17317
  _a = entityKind;
17277
- Column = class {
17318
+ Column2 = class {
17278
17319
  constructor(table4, config) {
17279
17320
  __publicField(this, "name");
17280
17321
  __publicField(this, "primary");
@@ -17320,14 +17361,14 @@ var init_column = __esm({
17320
17361
  return this.config.generated !== void 0 && this.config.generated.type !== "byDefault";
17321
17362
  }
17322
17363
  };
17323
- __publicField(Column, _a, "Column");
17364
+ __publicField(Column2, _a, "Column");
17324
17365
  }
17325
17366
  });
17326
17367
 
17327
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/column-builder.js
17368
+ // ../drizzle-orm/dist/column-builder.js
17328
17369
  var _a2, ColumnBuilder;
17329
17370
  var init_column_builder = __esm({
17330
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/column-builder.js"() {
17371
+ "../drizzle-orm/dist/column-builder.js"() {
17331
17372
  "use strict";
17332
17373
  init_entity();
17333
17374
  _a2 = entityKind;
@@ -17429,7 +17470,7 @@ var init_column_builder = __esm({
17429
17470
  }
17430
17471
  });
17431
17472
 
17432
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/table.js
17473
+ // ../drizzle-orm/dist/table.js
17433
17474
  function isTable(table4) {
17434
17475
  return typeof table4 === "object" && table4 !== null && IsDrizzleTable in table4;
17435
17476
  }
@@ -17439,9 +17480,9 @@ function getTableName(table4) {
17439
17480
  function getTableUniqueName(table4) {
17440
17481
  return `${table4[Schema] ?? "public"}.${table4[TableName]}`;
17441
17482
  }
17442
- var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, Table;
17483
+ var TableName, Schema, Columns, ExtraConfigColumns, OriginalName, BaseName, IsAlias, ExtraConfigBuilder, IsDrizzleTable, _a3, _b, _c, _d, _e, _f, _g, _h, _i, Table2;
17443
17484
  var init_table = __esm({
17444
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/table.js"() {
17485
+ "../drizzle-orm/dist/table.js"() {
17445
17486
  "use strict";
17446
17487
  init_entity();
17447
17488
  TableName = Symbol.for("drizzle:Name");
@@ -17454,7 +17495,7 @@ var init_table = __esm({
17454
17495
  ExtraConfigBuilder = Symbol.for("drizzle:ExtraConfigBuilder");
17455
17496
  IsDrizzleTable = Symbol.for("drizzle:IsDrizzleTable");
17456
17497
  _i = entityKind, _h = TableName, _g = OriginalName, _f = Schema, _e = Columns, _d = ExtraConfigColumns, _c = BaseName, _b = IsAlias, _a3 = ExtraConfigBuilder;
17457
- Table = class {
17498
+ Table2 = class {
17458
17499
  constructor(name2, schema4, baseName) {
17459
17500
  /**
17460
17501
  * @internal
@@ -17486,9 +17527,9 @@ var init_table = __esm({
17486
17527
  this[BaseName] = baseName;
17487
17528
  }
17488
17529
  };
17489
- __publicField(Table, _i, "Table");
17530
+ __publicField(Table2, _i, "Table");
17490
17531
  /** @internal */
17491
- __publicField(Table, "Symbol", {
17532
+ __publicField(Table2, "Symbol", {
17492
17533
  Name: TableName,
17493
17534
  Schema,
17494
17535
  OriginalName,
@@ -17501,7 +17542,7 @@ var init_table = __esm({
17501
17542
  }
17502
17543
  });
17503
17544
 
17504
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/table.js
17545
+ // ../drizzle-orm/dist/pg-core/table.js
17505
17546
  function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
17506
17547
  const rawTable = new PgTable(name2, schema4, baseName);
17507
17548
  const builtColumns = Object.fromEntries(
@@ -17520,8 +17561,8 @@ function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name
17520
17561
  })
17521
17562
  );
17522
17563
  const table4 = Object.assign(rawTable, builtColumns);
17523
- table4[Table.Symbol.Columns] = builtColumns;
17524
- table4[Table.Symbol.ExtraConfigColumns] = builtColumnsForExtraConfig;
17564
+ table4[Table2.Symbol.Columns] = builtColumns;
17565
+ table4[Table2.Symbol.ExtraConfigColumns] = builtColumnsForExtraConfig;
17525
17566
  if (extraConfig) {
17526
17567
  table4[PgTable.Symbol.ExtraConfigBuilder] = extraConfig;
17527
17568
  }
@@ -17529,12 +17570,12 @@ function pgTableWithSchema(name2, columns, extraConfig, schema4, baseName = name
17529
17570
  }
17530
17571
  var InlineForeignKeys, _a4, _b2, _c2, _d2, PgTable, pgTable;
17531
17572
  var init_table2 = __esm({
17532
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/table.js"() {
17573
+ "../drizzle-orm/dist/pg-core/table.js"() {
17533
17574
  "use strict";
17534
17575
  init_entity();
17535
17576
  init_table();
17536
17577
  InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
17537
- PgTable = class extends (_d2 = Table, _c2 = entityKind, _b2 = InlineForeignKeys, _a4 = Table.Symbol.ExtraConfigBuilder, _d2) {
17578
+ PgTable = class extends (_d2 = Table2, _c2 = entityKind, _b2 = InlineForeignKeys, _a4 = Table2.Symbol.ExtraConfigBuilder, _d2) {
17538
17579
  constructor() {
17539
17580
  super(...arguments);
17540
17581
  /**@internal */
@@ -17545,7 +17586,7 @@ var init_table2 = __esm({
17545
17586
  };
17546
17587
  __publicField(PgTable, _c2, "PgTable");
17547
17588
  /** @internal */
17548
- __publicField(PgTable, "Symbol", Object.assign({}, Table.Symbol, {
17589
+ __publicField(PgTable, "Symbol", Object.assign({}, Table2.Symbol, {
17549
17590
  InlineForeignKeys
17550
17591
  }));
17551
17592
  pgTable = (name2, columns, extraConfig) => {
@@ -17554,10 +17595,10 @@ var init_table2 = __esm({
17554
17595
  }
17555
17596
  });
17556
17597
 
17557
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/foreign-keys.js
17598
+ // ../drizzle-orm/dist/pg-core/foreign-keys.js
17558
17599
  var _a5, ForeignKeyBuilder, _a6, ForeignKey;
17559
17600
  var init_foreign_keys = __esm({
17560
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/foreign-keys.js"() {
17601
+ "../drizzle-orm/dist/pg-core/foreign-keys.js"() {
17561
17602
  "use strict";
17562
17603
  init_entity();
17563
17604
  init_table2();
@@ -17621,23 +17662,23 @@ var init_foreign_keys = __esm({
17621
17662
  }
17622
17663
  });
17623
17664
 
17624
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/tracing-utils.js
17665
+ // ../drizzle-orm/dist/tracing-utils.js
17625
17666
  function iife(fn, ...args) {
17626
17667
  return fn(...args);
17627
17668
  }
17628
17669
  var init_tracing_utils = __esm({
17629
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/tracing-utils.js"() {
17670
+ "../drizzle-orm/dist/tracing-utils.js"() {
17630
17671
  "use strict";
17631
17672
  }
17632
17673
  });
17633
17674
 
17634
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/unique-constraint.js
17675
+ // ../drizzle-orm/dist/pg-core/unique-constraint.js
17635
17676
  function uniqueKeyName(table4, columns) {
17636
17677
  return `${table4[PgTable.Symbol.Name]}_${columns.join("_")}_unique`;
17637
17678
  }
17638
17679
  var _a7, UniqueConstraintBuilder, _a8, UniqueOnConstraintBuilder, _a9, UniqueConstraint;
17639
17680
  var init_unique_constraint = __esm({
17640
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/unique-constraint.js"() {
17681
+ "../drizzle-orm/dist/pg-core/unique-constraint.js"() {
17641
17682
  "use strict";
17642
17683
  init_entity();
17643
17684
  init_table2();
@@ -17692,7 +17733,7 @@ var init_unique_constraint = __esm({
17692
17733
  }
17693
17734
  });
17694
17735
 
17695
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/utils/array.js
17736
+ // ../drizzle-orm/dist/pg-core/utils/array.js
17696
17737
  function parsePgArrayValue(arrayString, startFrom, inQuotes) {
17697
17738
  for (let i = startFrom; i < arrayString.length; i++) {
17698
17739
  const char = arrayString[i];
@@ -17768,15 +17809,15 @@ function makePgArray(array) {
17768
17809
  }).join(",")}}`;
17769
17810
  }
17770
17811
  var init_array = __esm({
17771
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/utils/array.js"() {
17812
+ "../drizzle-orm/dist/pg-core/utils/array.js"() {
17772
17813
  "use strict";
17773
17814
  }
17774
17815
  });
17775
17816
 
17776
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/common.js
17817
+ // ../drizzle-orm/dist/pg-core/columns/common.js
17777
17818
  var _a10, _b3, PgColumnBuilder, _a11, _b4, PgColumn, _a12, _b5, ExtraConfigColumn, _a13, IndexedColumn, _a14, _b6, PgArrayBuilder, _a15, _b7, _PgArray, PgArray;
17778
17819
  var init_common2 = __esm({
17779
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/common.js"() {
17820
+ "../drizzle-orm/dist/pg-core/columns/common.js"() {
17780
17821
  "use strict";
17781
17822
  init_column_builder();
17782
17823
  init_column();
@@ -17839,7 +17880,7 @@ var init_common2 = __esm({
17839
17880
  }
17840
17881
  };
17841
17882
  __publicField(PgColumnBuilder, _a10, "PgColumnBuilder");
17842
- PgColumn = class extends (_b4 = Column, _a11 = entityKind, _b4) {
17883
+ PgColumn = class extends (_b4 = Column2, _a11 = entityKind, _b4) {
17843
17884
  constructor(table4, config) {
17844
17885
  if (!config.uniqueName) {
17845
17886
  config.uniqueName = uniqueKeyName(table4, [config.name]);
@@ -17977,7 +18018,7 @@ var init_common2 = __esm({
17977
18018
  }
17978
18019
  });
17979
18020
 
17980
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/enum.js
18021
+ // ../drizzle-orm/dist/pg-core/columns/enum.js
17981
18022
  function isPgEnum(obj) {
17982
18023
  return !!obj && typeof obj === "function" && isPgEnumSym in obj && obj[isPgEnumSym] === true;
17983
18024
  }
@@ -17995,7 +18036,7 @@ function pgEnumWithSchema(enumName, values, schema4) {
17995
18036
  }
17996
18037
  var isPgEnumSym, _a16, _b8, PgEnumColumnBuilder, _a17, _b9, PgEnumColumn;
17997
18038
  var init_enum = __esm({
17998
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/enum.js"() {
18039
+ "../drizzle-orm/dist/pg-core/columns/enum.js"() {
17999
18040
  "use strict";
18000
18041
  init_entity();
18001
18042
  init_common2();
@@ -18029,10 +18070,10 @@ var init_enum = __esm({
18029
18070
  }
18030
18071
  });
18031
18072
 
18032
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/subquery.js
18073
+ // ../drizzle-orm/dist/subquery.js
18033
18074
  var _a18, Subquery, _a19, _b10, WithSubquery;
18034
18075
  var init_subquery = __esm({
18035
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/subquery.js"() {
18076
+ "../drizzle-orm/dist/subquery.js"() {
18036
18077
  "use strict";
18037
18078
  init_entity();
18038
18079
  _a18 = entityKind;
@@ -18057,19 +18098,19 @@ var init_subquery = __esm({
18057
18098
  }
18058
18099
  });
18059
18100
 
18060
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/version.js
18101
+ // ../drizzle-orm/dist/version.js
18061
18102
  var version;
18062
18103
  var init_version = __esm({
18063
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/version.js"() {
18104
+ "../drizzle-orm/dist/version.js"() {
18064
18105
  "use strict";
18065
- version = "0.32.1";
18106
+ version = "0.32.2";
18066
18107
  }
18067
18108
  });
18068
18109
 
18069
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/tracing.js
18110
+ // ../drizzle-orm/dist/tracing.js
18070
18111
  var otel, rawTracer, tracer;
18071
18112
  var init_tracing = __esm({
18072
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/tracing.js"() {
18113
+ "../drizzle-orm/dist/tracing.js"() {
18073
18114
  "use strict";
18074
18115
  init_tracing_utils();
18075
18116
  init_version();
@@ -18107,16 +18148,16 @@ var init_tracing = __esm({
18107
18148
  }
18108
18149
  });
18109
18150
 
18110
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/view-common.js
18151
+ // ../drizzle-orm/dist/view-common.js
18111
18152
  var ViewBaseConfig;
18112
18153
  var init_view_common = __esm({
18113
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/view-common.js"() {
18154
+ "../drizzle-orm/dist/view-common.js"() {
18114
18155
  "use strict";
18115
18156
  ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
18116
18157
  }
18117
18158
  });
18118
18159
 
18119
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/sql.js
18160
+ // ../drizzle-orm/dist/sql/sql.js
18120
18161
  function isSQLWrapper(value) {
18121
18162
  return value !== null && value !== void 0 && typeof value.getSQL === "function";
18122
18163
  }
@@ -18169,7 +18210,7 @@ function fillPlaceholders(params, values) {
18169
18210
  }
18170
18211
  var _a20, FakePrimitiveParam, _a21, StringChunk, _a22, _SQL, SQL, _a23, Name, noopDecoder, noopEncoder, noopMapper, _a24, Param, _a25, Placeholder, _a26, _b11, View;
18171
18212
  var init_sql = __esm({
18172
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/sql.js"() {
18213
+ "../drizzle-orm/dist/sql/sql.js"() {
18173
18214
  "use strict";
18174
18215
  init_entity();
18175
18216
  init_enum();
@@ -18254,19 +18295,19 @@ var init_sql = __esm({
18254
18295
  inlineParams: inlineParams || chunk.shouldInlineParams
18255
18296
  });
18256
18297
  }
18257
- if (is(chunk, Table)) {
18258
- const schemaName = chunk[Table.Symbol.Schema];
18259
- const tableName = chunk[Table.Symbol.Name];
18298
+ if (is(chunk, Table2)) {
18299
+ const schemaName = chunk[Table2.Symbol.Schema];
18300
+ const tableName = chunk[Table2.Symbol.Name];
18260
18301
  return {
18261
18302
  sql: schemaName === void 0 ? escapeName(tableName) : escapeName(schemaName) + "." + escapeName(tableName),
18262
18303
  params: []
18263
18304
  };
18264
18305
  }
18265
- if (is(chunk, Column)) {
18306
+ if (is(chunk, Column2)) {
18266
18307
  if (_config.invokeSource === "indexes") {
18267
18308
  return { sql: escapeName(chunk.name), params: [] };
18268
18309
  }
18269
- return { sql: escapeName(chunk.table[Table.Symbol.Name]) + "." + escapeName(chunk.name), params: [] };
18310
+ return { sql: escapeName(chunk.table[Table2.Symbol.Name]) + "." + escapeName(chunk.name), params: [] };
18270
18311
  }
18271
18312
  if (is(chunk, View)) {
18272
18313
  const schemaName = chunk[ViewBaseConfig].schema;
@@ -18284,7 +18325,7 @@ var init_sql = __esm({
18284
18325
  if (inlineParams) {
18285
18326
  return { sql: this.mapInlineParam(mappedValue, config), params: [] };
18286
18327
  }
18287
- let typings;
18328
+ let typings = ["none"];
18288
18329
  if (prepareTyping) {
18289
18330
  typings = [prepareTyping(chunk.encoder)];
18290
18331
  }
@@ -18326,7 +18367,7 @@ var init_sql = __esm({
18326
18367
  if (inlineParams) {
18327
18368
  return { sql: this.mapInlineParam(chunk, config), params: [] };
18328
18369
  }
18329
- return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk] };
18370
+ return { sql: escapeParam(paramStartIndex.value++, chunk), params: [chunk], typings: ["none"] };
18330
18371
  }));
18331
18372
  }
18332
18373
  mapInlineParam(chunk, { escapeString }) {
@@ -18503,10 +18544,10 @@ var init_sql = __esm({
18503
18544
  }
18504
18545
  };
18505
18546
  __publicField(View, _b11, "View");
18506
- Column.prototype.getSQL = function() {
18547
+ Column2.prototype.getSQL = function() {
18507
18548
  return new SQL([this]);
18508
18549
  };
18509
- Table.prototype.getSQL = function() {
18550
+ Table2.prototype.getSQL = function() {
18510
18551
  return new SQL([this]);
18511
18552
  };
18512
18553
  Subquery.prototype.getSQL = function() {
@@ -18515,7 +18556,7 @@ var init_sql = __esm({
18515
18556
  }
18516
18557
  });
18517
18558
 
18518
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/alias.js
18559
+ // ../drizzle-orm/dist/alias.js
18519
18560
  function aliasedTable(table4, tableAlias) {
18520
18561
  return new Proxy(table4, new TableAliasProxyHandler(tableAlias, false));
18521
18562
  }
@@ -18533,7 +18574,7 @@ function mapColumnsInAliasedSQLToAlias(query, alias) {
18533
18574
  }
18534
18575
  function mapColumnsInSQLToAlias(query, alias) {
18535
18576
  return sql.join(query.queryChunks.map((c) => {
18536
- if (is(c, Column)) {
18577
+ if (is(c, Column2)) {
18537
18578
  return aliasedTableColumn(c, alias);
18538
18579
  }
18539
18580
  if (is(c, SQL)) {
@@ -18547,7 +18588,7 @@ function mapColumnsInSQLToAlias(query, alias) {
18547
18588
  }
18548
18589
  var _a27, ColumnAliasProxyHandler, _a28, TableAliasProxyHandler, _a29, RelationTableAliasProxyHandler;
18549
18590
  var init_alias = __esm({
18550
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/alias.js"() {
18591
+ "../drizzle-orm/dist/alias.js"() {
18551
18592
  "use strict";
18552
18593
  init_column();
18553
18594
  init_entity();
@@ -18574,13 +18615,13 @@ var init_alias = __esm({
18574
18615
  this.replaceOriginalName = replaceOriginalName;
18575
18616
  }
18576
18617
  get(target, prop) {
18577
- if (prop === Table.Symbol.IsAlias) {
18618
+ if (prop === Table2.Symbol.IsAlias) {
18578
18619
  return true;
18579
18620
  }
18580
- if (prop === Table.Symbol.Name) {
18621
+ if (prop === Table2.Symbol.Name) {
18581
18622
  return this.alias;
18582
18623
  }
18583
- if (this.replaceOriginalName && prop === Table.Symbol.OriginalName) {
18624
+ if (this.replaceOriginalName && prop === Table2.Symbol.OriginalName) {
18584
18625
  return this.alias;
18585
18626
  }
18586
18627
  if (prop === ViewBaseConfig) {
@@ -18590,8 +18631,8 @@ var init_alias = __esm({
18590
18631
  isAlias: true
18591
18632
  };
18592
18633
  }
18593
- if (prop === Table.Symbol.Columns) {
18594
- const columns = target[Table.Symbol.Columns];
18634
+ if (prop === Table2.Symbol.Columns) {
18635
+ const columns = target[Table2.Symbol.Columns];
18595
18636
  if (!columns) {
18596
18637
  return columns;
18597
18638
  }
@@ -18605,7 +18646,7 @@ var init_alias = __esm({
18605
18646
  return proxiedColumns;
18606
18647
  }
18607
18648
  const value = target[prop];
18608
- if (is(value, Column)) {
18649
+ if (is(value, Column2)) {
18609
18650
  return new Proxy(value, new ColumnAliasProxyHandler(new Proxy(target, this)));
18610
18651
  }
18611
18652
  return value;
@@ -18628,10 +18669,10 @@ var init_alias = __esm({
18628
18669
  }
18629
18670
  });
18630
18671
 
18631
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/errors.js
18672
+ // ../drizzle-orm/dist/errors.js
18632
18673
  var _a30, _b12, DrizzleError, _a31, _b13, TransactionRollbackError;
18633
18674
  var init_errors = __esm({
18634
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/errors.js"() {
18675
+ "../drizzle-orm/dist/errors.js"() {
18635
18676
  "use strict";
18636
18677
  init_entity();
18637
18678
  DrizzleError = class extends (_b12 = Error, _a30 = entityKind, _b12) {
@@ -18651,9 +18692,9 @@ var init_errors = __esm({
18651
18692
  }
18652
18693
  });
18653
18694
 
18654
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/expressions/conditions.js
18695
+ // ../drizzle-orm/dist/sql/expressions/conditions.js
18655
18696
  function bindIfParam(value, column4) {
18656
- if (isDriverValueEncoder(column4) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) {
18697
+ if (isDriverValueEncoder(column4) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column2) && !is(value, Table2) && !is(value, View)) {
18657
18698
  return new Param(value, column4);
18658
18699
  }
18659
18700
  return value;
@@ -18779,7 +18820,7 @@ function arrayOverlaps(column4, values) {
18779
18820
  }
18780
18821
  var eq, ne, gt, gte, lt, lte;
18781
18822
  var init_conditions = __esm({
18782
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/expressions/conditions.js"() {
18823
+ "../drizzle-orm/dist/sql/expressions/conditions.js"() {
18783
18824
  "use strict";
18784
18825
  init_column();
18785
18826
  init_entity();
@@ -18806,7 +18847,7 @@ var init_conditions = __esm({
18806
18847
  }
18807
18848
  });
18808
18849
 
18809
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/expressions/select.js
18850
+ // ../drizzle-orm/dist/sql/expressions/select.js
18810
18851
  function asc(column4) {
18811
18852
  return sql`${column4} asc`;
18812
18853
  }
@@ -18814,33 +18855,33 @@ function desc(column4) {
18814
18855
  return sql`${column4} desc`;
18815
18856
  }
18816
18857
  var init_select = __esm({
18817
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/expressions/select.js"() {
18858
+ "../drizzle-orm/dist/sql/expressions/select.js"() {
18818
18859
  "use strict";
18819
18860
  init_sql();
18820
18861
  }
18821
18862
  });
18822
18863
 
18823
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/expressions/index.js
18864
+ // ../drizzle-orm/dist/sql/expressions/index.js
18824
18865
  var init_expressions = __esm({
18825
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/expressions/index.js"() {
18866
+ "../drizzle-orm/dist/sql/expressions/index.js"() {
18826
18867
  "use strict";
18827
18868
  init_conditions();
18828
18869
  init_select();
18829
18870
  }
18830
18871
  });
18831
18872
 
18832
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/expressions.js
18873
+ // ../drizzle-orm/dist/expressions.js
18833
18874
  var init_expressions2 = __esm({
18834
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/expressions.js"() {
18875
+ "../drizzle-orm/dist/expressions.js"() {
18835
18876
  "use strict";
18836
18877
  init_expressions();
18837
18878
  }
18838
18879
  });
18839
18880
 
18840
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/logger.js
18881
+ // ../drizzle-orm/dist/logger.js
18841
18882
  var _a32, ConsoleLogWriter, _a33, DefaultLogger, _a34, NoopLogger;
18842
18883
  var init_logger = __esm({
18843
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/logger.js"() {
18884
+ "../drizzle-orm/dist/logger.js"() {
18844
18885
  "use strict";
18845
18886
  init_entity();
18846
18887
  _a32 = entityKind;
@@ -18878,17 +18919,17 @@ var init_logger = __esm({
18878
18919
  }
18879
18920
  });
18880
18921
 
18881
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/operations.js
18922
+ // ../drizzle-orm/dist/operations.js
18882
18923
  var init_operations = __esm({
18883
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/operations.js"() {
18924
+ "../drizzle-orm/dist/operations.js"() {
18884
18925
  "use strict";
18885
18926
  }
18886
18927
  });
18887
18928
 
18888
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/query-promise.js
18929
+ // ../drizzle-orm/dist/query-promise.js
18889
18930
  var _a35, _b14, QueryPromise;
18890
18931
  var init_query_promise = __esm({
18891
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/query-promise.js"() {
18932
+ "../drizzle-orm/dist/query-promise.js"() {
18892
18933
  "use strict";
18893
18934
  init_entity();
18894
18935
  _b14 = entityKind, _a35 = Symbol.toStringTag;
@@ -18919,10 +18960,10 @@ var init_query_promise = __esm({
18919
18960
  }
18920
18961
  });
18921
18962
 
18922
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/primary-keys.js
18963
+ // ../drizzle-orm/dist/pg-core/primary-keys.js
18923
18964
  var _a36, PrimaryKeyBuilder, _a37, PrimaryKey;
18924
18965
  var init_primary_keys = __esm({
18925
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/primary-keys.js"() {
18966
+ "../drizzle-orm/dist/pg-core/primary-keys.js"() {
18926
18967
  "use strict";
18927
18968
  init_entity();
18928
18969
  init_table2();
@@ -18959,7 +19000,7 @@ var init_primary_keys = __esm({
18959
19000
  }
18960
19001
  });
18961
19002
 
18962
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/relations.js
19003
+ // ../drizzle-orm/dist/relations.js
18963
19004
  function getOperators() {
18964
19005
  return {
18965
19006
  and,
@@ -18994,33 +19035,33 @@ function getOrderByOperators() {
18994
19035
  };
18995
19036
  }
18996
19037
  function extractTablesRelationalConfig(schema4, configHelpers) {
18997
- if (Object.keys(schema4).length === 1 && "default" in schema4 && !is(schema4["default"], Table)) {
19038
+ if (Object.keys(schema4).length === 1 && "default" in schema4 && !is(schema4["default"], Table2)) {
18998
19039
  schema4 = schema4["default"];
18999
19040
  }
19000
19041
  const tableNamesMap = {};
19001
19042
  const relationsBuffer = {};
19002
19043
  const tablesConfig = {};
19003
19044
  for (const [key, value] of Object.entries(schema4)) {
19004
- if (is(value, Table)) {
19045
+ if (is(value, Table2)) {
19005
19046
  const dbName = getTableUniqueName(value);
19006
19047
  const bufferedRelations = relationsBuffer[dbName];
19007
19048
  tableNamesMap[dbName] = key;
19008
19049
  tablesConfig[key] = {
19009
19050
  tsName: key,
19010
- dbName: value[Table.Symbol.Name],
19011
- schema: value[Table.Symbol.Schema],
19012
- columns: value[Table.Symbol.Columns],
19051
+ dbName: value[Table2.Symbol.Name],
19052
+ schema: value[Table2.Symbol.Schema],
19053
+ columns: value[Table2.Symbol.Columns],
19013
19054
  relations: bufferedRelations?.relations ?? {},
19014
19055
  primaryKey: bufferedRelations?.primaryKey ?? []
19015
19056
  };
19016
19057
  for (const column4 of Object.values(
19017
- value[Table.Symbol.Columns]
19058
+ value[Table2.Symbol.Columns]
19018
19059
  )) {
19019
19060
  if (column4.primary) {
19020
19061
  tablesConfig[key].primaryKey.push(column4);
19021
19062
  }
19022
19063
  }
19023
- const extraConfig = value[Table.Symbol.ExtraConfigBuilder]?.(value[Table.Symbol.ExtraConfigColumns]);
19064
+ const extraConfig = value[Table2.Symbol.ExtraConfigBuilder]?.(value[Table2.Symbol.ExtraConfigColumns]);
19024
19065
  if (extraConfig) {
19025
19066
  for (const configEntry of Object.values(extraConfig)) {
19026
19067
  if (is(configEntry, PrimaryKeyBuilder)) {
@@ -19092,7 +19133,7 @@ function normalizeRelation(schema4, tableNamesMap, relation) {
19092
19133
  const referencedTableTsName = tableNamesMap[getTableUniqueName(relation.referencedTable)];
19093
19134
  if (!referencedTableTsName) {
19094
19135
  throw new Error(
19095
- `Table "${relation.referencedTable[Table.Symbol.Name]}" not found in schema`
19136
+ `Table "${relation.referencedTable[Table2.Symbol.Name]}" not found in schema`
19096
19137
  );
19097
19138
  }
19098
19139
  const referencedTableConfig = schema4[referencedTableTsName];
@@ -19103,7 +19144,7 @@ function normalizeRelation(schema4, tableNamesMap, relation) {
19103
19144
  const sourceTableTsName = tableNamesMap[getTableUniqueName(sourceTable)];
19104
19145
  if (!sourceTableTsName) {
19105
19146
  throw new Error(
19106
- `Table "${sourceTable[Table.Symbol.Name]}" not found in schema`
19147
+ `Table "${sourceTable[Table2.Symbol.Name]}" not found in schema`
19107
19148
  );
19108
19149
  }
19109
19150
  const reverseRelations = [];
@@ -19118,7 +19159,7 @@ function normalizeRelation(schema4, tableNamesMap, relation) {
19118
19159
  throw relation.relationName ? new Error(
19119
19160
  `There are multiple relations with name "${relation.relationName}" in table "${referencedTableTsName}"`
19120
19161
  ) : new Error(
19121
- `There are multiple relations between "${referencedTableTsName}" and "${relation.sourceTable[Table.Symbol.Name]}". Please specify relation name`
19162
+ `There are multiple relations between "${referencedTableTsName}" and "${relation.sourceTable[Table2.Symbol.Name]}". Please specify relation name`
19122
19163
  );
19123
19164
  }
19124
19165
  if (reverseRelations[0] && is(reverseRelations[0], One) && reverseRelations[0].config) {
@@ -19166,7 +19207,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
19166
19207
  const value = mapColumnValue(row[selectionItemIndex]);
19167
19208
  const field = selectionItem.field;
19168
19209
  let decoder;
19169
- if (is(field, Column)) {
19210
+ if (is(field, Column2)) {
19170
19211
  decoder = field;
19171
19212
  } else if (is(field, SQL)) {
19172
19213
  decoder = field.decoder;
@@ -19180,7 +19221,7 @@ function mapRelationalRow(tablesConfig, tableConfig, row, buildQueryResultSelect
19180
19221
  }
19181
19222
  var _a38, Relation, _a39, Relations, _a40, _b15, _One, One, _a41, _b16, _Many, Many;
19182
19223
  var init_relations = __esm({
19183
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/relations.js"() {
19224
+ "../drizzle-orm/dist/relations.js"() {
19184
19225
  "use strict";
19185
19226
  init_table();
19186
19227
  init_column();
@@ -19196,7 +19237,7 @@ var init_relations = __esm({
19196
19237
  this.sourceTable = sourceTable;
19197
19238
  this.referencedTable = referencedTable;
19198
19239
  this.relationName = relationName;
19199
- this.referencedTableName = referencedTable[Table.Symbol.Name];
19240
+ this.referencedTableName = referencedTable[Table2.Symbol.Name];
19200
19241
  }
19201
19242
  };
19202
19243
  __publicField(Relation, _a38, "Relation");
@@ -19247,7 +19288,7 @@ var init_relations = __esm({
19247
19288
  }
19248
19289
  });
19249
19290
 
19250
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/functions/aggregate.js
19291
+ // ../drizzle-orm/dist/sql/functions/aggregate.js
19251
19292
  function count(expression) {
19252
19293
  return sql`count(${expression || sql.raw("*")})`.mapWith(Number);
19253
19294
  }
@@ -19267,13 +19308,13 @@ function sumDistinct(expression) {
19267
19308
  return sql`sum(distinct ${expression})`.mapWith(String);
19268
19309
  }
19269
19310
  function max(expression) {
19270
- return sql`max(${expression})`.mapWith(is(expression, Column) ? expression : String);
19311
+ return sql`max(${expression})`.mapWith(is(expression, Column2) ? expression : String);
19271
19312
  }
19272
19313
  function min(expression) {
19273
- return sql`min(${expression})`.mapWith(is(expression, Column) ? expression : String);
19314
+ return sql`min(${expression})`.mapWith(is(expression, Column2) ? expression : String);
19274
19315
  }
19275
19316
  var init_aggregate = __esm({
19276
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/functions/aggregate.js"() {
19317
+ "../drizzle-orm/dist/sql/functions/aggregate.js"() {
19277
19318
  "use strict";
19278
19319
  init_column();
19279
19320
  init_entity();
@@ -19281,7 +19322,7 @@ var init_aggregate = __esm({
19281
19322
  }
19282
19323
  });
19283
19324
 
19284
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/functions/vector.js
19325
+ // ../drizzle-orm/dist/sql/functions/vector.js
19285
19326
  function toSql(value) {
19286
19327
  return JSON.stringify(value);
19287
19328
  }
@@ -19322,24 +19363,24 @@ function jaccardDistance(column4, value) {
19322
19363
  return sql`${column4} <%> ${value}`;
19323
19364
  }
19324
19365
  var init_vector = __esm({
19325
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/functions/vector.js"() {
19366
+ "../drizzle-orm/dist/sql/functions/vector.js"() {
19326
19367
  "use strict";
19327
19368
  init_sql();
19328
19369
  }
19329
19370
  });
19330
19371
 
19331
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/functions/index.js
19372
+ // ../drizzle-orm/dist/sql/functions/index.js
19332
19373
  var init_functions = __esm({
19333
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/functions/index.js"() {
19374
+ "../drizzle-orm/dist/sql/functions/index.js"() {
19334
19375
  "use strict";
19335
19376
  init_aggregate();
19336
19377
  init_vector();
19337
19378
  }
19338
19379
  });
19339
19380
 
19340
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/index.js
19381
+ // ../drizzle-orm/dist/sql/index.js
19341
19382
  var init_sql2 = __esm({
19342
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sql/index.js"() {
19383
+ "../drizzle-orm/dist/sql/index.js"() {
19343
19384
  "use strict";
19344
19385
  init_expressions();
19345
19386
  init_functions();
@@ -19347,13 +19388,13 @@ var init_sql2 = __esm({
19347
19388
  }
19348
19389
  });
19349
19390
 
19350
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/utils.js
19391
+ // ../drizzle-orm/dist/utils.js
19351
19392
  function mapResultRow(columns, row, joinsNotNullableMap) {
19352
19393
  const nullifyMap = {};
19353
19394
  const result = columns.reduce(
19354
19395
  (result2, { path: path2, field }, columnIndex) => {
19355
19396
  let decoder;
19356
- if (is(field, Column)) {
19397
+ if (is(field, Column2)) {
19357
19398
  decoder = field;
19358
19399
  } else if (is(field, SQL)) {
19359
19400
  decoder = field.decoder;
@@ -19370,7 +19411,7 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
19370
19411
  } else {
19371
19412
  const rawValue = row[columnIndex];
19372
19413
  const value = node[pathChunk] = rawValue === null ? null : decoder.mapFromDriverValue(rawValue);
19373
- if (joinsNotNullableMap && is(field, Column) && path2.length === 2) {
19414
+ if (joinsNotNullableMap && is(field, Column2) && path2.length === 2) {
19374
19415
  const objectName = path2[0];
19375
19416
  if (!(objectName in nullifyMap)) {
19376
19417
  nullifyMap[objectName] = value === null ? getTableName(field.table) : false;
@@ -19399,10 +19440,10 @@ function orderSelectedFields(fields, pathPrefix) {
19399
19440
  return result;
19400
19441
  }
19401
19442
  const newPath = pathPrefix ? [...pathPrefix, name2] : [name2];
19402
- if (is(field, Column) || is(field, SQL) || is(field, SQL.Aliased)) {
19443
+ if (is(field, Column2) || is(field, SQL) || is(field, SQL.Aliased)) {
19403
19444
  result.push({ path: newPath, field });
19404
- } else if (is(field, Table)) {
19405
- result.push(...orderSelectedFields(field[Table.Symbol.Columns], newPath));
19445
+ } else if (is(field, Table2)) {
19446
+ result.push(...orderSelectedFields(field[Table2.Symbol.Columns], newPath));
19406
19447
  } else {
19407
19448
  result.push(...orderSelectedFields(field, newPath));
19408
19449
  }
@@ -19427,7 +19468,7 @@ function mapUpdateSet(table4, values) {
19427
19468
  if (is(value, SQL)) {
19428
19469
  return [key, value];
19429
19470
  } else {
19430
- return [key, new Param(value, table4[Table.Symbol.Columns][key])];
19471
+ return [key, new Param(value, table4[Table2.Symbol.Columns][key])];
19431
19472
  }
19432
19473
  });
19433
19474
  if (entries.length === 0) {
@@ -19449,13 +19490,13 @@ function applyMixins(baseClass, extendedClasses) {
19449
19490
  }
19450
19491
  }
19451
19492
  function getTableColumns(table4) {
19452
- return table4[Table.Symbol.Columns];
19493
+ return table4[Table2.Symbol.Columns];
19453
19494
  }
19454
19495
  function getTableLikeName(table4) {
19455
- return is(table4, Subquery) ? table4._.alias : is(table4, View) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : table4[Table.Symbol.IsAlias] ? table4[Table.Symbol.Name] : table4[Table.Symbol.BaseName];
19496
+ 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];
19456
19497
  }
19457
19498
  var init_utils2 = __esm({
19458
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/utils.js"() {
19499
+ "../drizzle-orm/dist/utils.js"() {
19459
19500
  "use strict";
19460
19501
  init_column();
19461
19502
  init_entity();
@@ -19466,11 +19507,11 @@ var init_utils2 = __esm({
19466
19507
  }
19467
19508
  });
19468
19509
 
19469
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/index.js
19470
- var drizzle_orm_exports = {};
19471
- __export(drizzle_orm_exports, {
19510
+ // ../drizzle-orm/dist/index.js
19511
+ var dist_exports = {};
19512
+ __export(dist_exports, {
19472
19513
  BaseName: () => BaseName,
19473
- Column: () => Column,
19514
+ Column: () => Column2,
19474
19515
  ColumnAliasProxyHandler: () => ColumnAliasProxyHandler,
19475
19516
  ColumnBuilder: () => ColumnBuilder,
19476
19517
  Columns: () => Columns,
@@ -19496,7 +19537,7 @@ __export(drizzle_orm_exports, {
19496
19537
  Schema: () => Schema,
19497
19538
  StringChunk: () => StringChunk,
19498
19539
  Subquery: () => Subquery,
19499
- Table: () => Table,
19540
+ Table: () => Table2,
19500
19541
  TableAliasProxyHandler: () => TableAliasProxyHandler,
19501
19542
  TableName: () => TableName,
19502
19543
  TransactionRollbackError: () => TransactionRollbackError,
@@ -19582,8 +19623,8 @@ __export(drizzle_orm_exports, {
19582
19623
  sum: () => sum,
19583
19624
  sumDistinct: () => sumDistinct
19584
19625
  });
19585
- var init_drizzle_orm = __esm({
19586
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/index.js"() {
19626
+ var init_dist = __esm({
19627
+ "../drizzle-orm/dist/index.js"() {
19587
19628
  "use strict";
19588
19629
  init_alias();
19589
19630
  init_column_builder();
@@ -19603,17 +19644,17 @@ var init_drizzle_orm = __esm({
19603
19644
  }
19604
19645
  });
19605
19646
 
19606
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/alias.js
19647
+ // ../drizzle-orm/dist/pg-core/alias.js
19607
19648
  var init_alias2 = __esm({
19608
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/alias.js"() {
19649
+ "../drizzle-orm/dist/pg-core/alias.js"() {
19609
19650
  "use strict";
19610
19651
  }
19611
19652
  });
19612
19653
 
19613
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/checks.js
19654
+ // ../drizzle-orm/dist/pg-core/checks.js
19614
19655
  var _a42, CheckBuilder, _a43, Check;
19615
19656
  var init_checks = __esm({
19616
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/checks.js"() {
19657
+ "../drizzle-orm/dist/pg-core/checks.js"() {
19617
19658
  "use strict";
19618
19659
  init_entity();
19619
19660
  _a42 = entityKind;
@@ -19643,10 +19684,10 @@ var init_checks = __esm({
19643
19684
  }
19644
19685
  });
19645
19686
 
19646
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/int.common.js
19687
+ // ../drizzle-orm/dist/pg-core/columns/int.common.js
19647
19688
  var _a44, _b17, PgIntColumnBaseBuilder;
19648
19689
  var init_int_common = __esm({
19649
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/int.common.js"() {
19690
+ "../drizzle-orm/dist/pg-core/columns/int.common.js"() {
19650
19691
  "use strict";
19651
19692
  init_entity();
19652
19693
  init_common2();
@@ -19690,10 +19731,10 @@ var init_int_common = __esm({
19690
19731
  }
19691
19732
  });
19692
19733
 
19693
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/bigint.js
19734
+ // ../drizzle-orm/dist/pg-core/columns/bigint.js
19694
19735
  var _a45, _b18, PgBigInt53Builder, _a46, _b19, PgBigInt53, _a47, _b20, PgBigInt64Builder, _a48, _b21, PgBigInt64;
19695
19736
  var init_bigint = __esm({
19696
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/bigint.js"() {
19737
+ "../drizzle-orm/dist/pg-core/columns/bigint.js"() {
19697
19738
  "use strict";
19698
19739
  init_entity();
19699
19740
  init_common2();
@@ -19746,10 +19787,10 @@ var init_bigint = __esm({
19746
19787
  }
19747
19788
  });
19748
19789
 
19749
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/bigserial.js
19790
+ // ../drizzle-orm/dist/pg-core/columns/bigserial.js
19750
19791
  var _a49, _b22, PgBigSerial53Builder, _a50, _b23, PgBigSerial53, _a51, _b24, PgBigSerial64Builder, _a52, _b25, PgBigSerial64;
19751
19792
  var init_bigserial = __esm({
19752
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/bigserial.js"() {
19793
+ "../drizzle-orm/dist/pg-core/columns/bigserial.js"() {
19753
19794
  "use strict";
19754
19795
  init_entity();
19755
19796
  init_common2();
@@ -19807,10 +19848,10 @@ var init_bigserial = __esm({
19807
19848
  }
19808
19849
  });
19809
19850
 
19810
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/boolean.js
19851
+ // ../drizzle-orm/dist/pg-core/columns/boolean.js
19811
19852
  var _a53, _b26, PgBooleanBuilder, _a54, _b27, PgBoolean;
19812
19853
  var init_boolean = __esm({
19813
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/boolean.js"() {
19854
+ "../drizzle-orm/dist/pg-core/columns/boolean.js"() {
19814
19855
  "use strict";
19815
19856
  init_entity();
19816
19857
  init_common2();
@@ -19833,10 +19874,10 @@ var init_boolean = __esm({
19833
19874
  }
19834
19875
  });
19835
19876
 
19836
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/char.js
19877
+ // ../drizzle-orm/dist/pg-core/columns/char.js
19837
19878
  var _a55, _b28, PgCharBuilder, _a56, _b29, PgChar;
19838
19879
  var init_char = __esm({
19839
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/char.js"() {
19880
+ "../drizzle-orm/dist/pg-core/columns/char.js"() {
19840
19881
  "use strict";
19841
19882
  init_entity();
19842
19883
  init_common2();
@@ -19866,10 +19907,10 @@ var init_char = __esm({
19866
19907
  }
19867
19908
  });
19868
19909
 
19869
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/cidr.js
19910
+ // ../drizzle-orm/dist/pg-core/columns/cidr.js
19870
19911
  var _a57, _b30, PgCidrBuilder, _a58, _b31, PgCidr;
19871
19912
  var init_cidr = __esm({
19872
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/cidr.js"() {
19913
+ "../drizzle-orm/dist/pg-core/columns/cidr.js"() {
19873
19914
  "use strict";
19874
19915
  init_entity();
19875
19916
  init_common2();
@@ -19892,10 +19933,10 @@ var init_cidr = __esm({
19892
19933
  }
19893
19934
  });
19894
19935
 
19895
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/custom.js
19936
+ // ../drizzle-orm/dist/pg-core/columns/custom.js
19896
19937
  var _a59, _b32, PgCustomColumnBuilder, _a60, _b33, PgCustomColumn;
19897
19938
  var init_custom = __esm({
19898
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/custom.js"() {
19939
+ "../drizzle-orm/dist/pg-core/columns/custom.js"() {
19899
19940
  "use strict";
19900
19941
  init_entity();
19901
19942
  init_common2();
@@ -19938,10 +19979,10 @@ var init_custom = __esm({
19938
19979
  }
19939
19980
  });
19940
19981
 
19941
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/date.common.js
19982
+ // ../drizzle-orm/dist/pg-core/columns/date.common.js
19942
19983
  var _a61, _b34, PgDateColumnBaseBuilder;
19943
19984
  var init_date_common = __esm({
19944
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/date.common.js"() {
19985
+ "../drizzle-orm/dist/pg-core/columns/date.common.js"() {
19945
19986
  "use strict";
19946
19987
  init_entity();
19947
19988
  init_sql();
@@ -19955,10 +19996,10 @@ var init_date_common = __esm({
19955
19996
  }
19956
19997
  });
19957
19998
 
19958
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/date.js
19999
+ // ../drizzle-orm/dist/pg-core/columns/date.js
19959
20000
  var _a62, _b35, PgDateBuilder, _a63, _b36, PgDate, _a64, _b37, PgDateStringBuilder, _a65, _b38, PgDateString;
19960
20001
  var init_date = __esm({
19961
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/date.js"() {
20002
+ "../drizzle-orm/dist/pg-core/columns/date.js"() {
19962
20003
  "use strict";
19963
20004
  init_entity();
19964
20005
  init_common2();
@@ -20007,10 +20048,10 @@ var init_date = __esm({
20007
20048
  }
20008
20049
  });
20009
20050
 
20010
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/double-precision.js
20051
+ // ../drizzle-orm/dist/pg-core/columns/double-precision.js
20011
20052
  var _a66, _b39, PgDoublePrecisionBuilder, _a67, _b40, PgDoublePrecision;
20012
20053
  var init_double_precision = __esm({
20013
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/double-precision.js"() {
20054
+ "../drizzle-orm/dist/pg-core/columns/double-precision.js"() {
20014
20055
  "use strict";
20015
20056
  init_entity();
20016
20057
  init_common2();
@@ -20042,10 +20083,10 @@ var init_double_precision = __esm({
20042
20083
  }
20043
20084
  });
20044
20085
 
20045
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/inet.js
20086
+ // ../drizzle-orm/dist/pg-core/columns/inet.js
20046
20087
  var _a68, _b41, PgInetBuilder, _a69, _b42, PgInet;
20047
20088
  var init_inet = __esm({
20048
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/inet.js"() {
20089
+ "../drizzle-orm/dist/pg-core/columns/inet.js"() {
20049
20090
  "use strict";
20050
20091
  init_entity();
20051
20092
  init_common2();
@@ -20068,10 +20109,10 @@ var init_inet = __esm({
20068
20109
  }
20069
20110
  });
20070
20111
 
20071
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/integer.js
20112
+ // ../drizzle-orm/dist/pg-core/columns/integer.js
20072
20113
  var _a70, _b43, PgIntegerBuilder, _a71, _b44, PgInteger;
20073
20114
  var init_integer = __esm({
20074
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/integer.js"() {
20115
+ "../drizzle-orm/dist/pg-core/columns/integer.js"() {
20075
20116
  "use strict";
20076
20117
  init_entity();
20077
20118
  init_common2();
@@ -20101,10 +20142,10 @@ var init_integer = __esm({
20101
20142
  }
20102
20143
  });
20103
20144
 
20104
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/interval.js
20145
+ // ../drizzle-orm/dist/pg-core/columns/interval.js
20105
20146
  var _a72, _b45, PgIntervalBuilder, _a73, _b46, PgInterval;
20106
20147
  var init_interval = __esm({
20107
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/interval.js"() {
20148
+ "../drizzle-orm/dist/pg-core/columns/interval.js"() {
20108
20149
  "use strict";
20109
20150
  init_entity();
20110
20151
  init_common2();
@@ -20135,10 +20176,10 @@ var init_interval = __esm({
20135
20176
  }
20136
20177
  });
20137
20178
 
20138
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/json.js
20179
+ // ../drizzle-orm/dist/pg-core/columns/json.js
20139
20180
  var _a74, _b47, PgJsonBuilder, _a75, _b48, PgJson;
20140
20181
  var init_json = __esm({
20141
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/json.js"() {
20182
+ "../drizzle-orm/dist/pg-core/columns/json.js"() {
20142
20183
  "use strict";
20143
20184
  init_entity();
20144
20185
  init_common2();
@@ -20177,10 +20218,10 @@ var init_json = __esm({
20177
20218
  }
20178
20219
  });
20179
20220
 
20180
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/jsonb.js
20221
+ // ../drizzle-orm/dist/pg-core/columns/jsonb.js
20181
20222
  var _a76, _b49, PgJsonbBuilder, _a77, _b50, PgJsonb;
20182
20223
  var init_jsonb = __esm({
20183
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/jsonb.js"() {
20224
+ "../drizzle-orm/dist/pg-core/columns/jsonb.js"() {
20184
20225
  "use strict";
20185
20226
  init_entity();
20186
20227
  init_common2();
@@ -20219,10 +20260,10 @@ var init_jsonb = __esm({
20219
20260
  }
20220
20261
  });
20221
20262
 
20222
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/line.js
20263
+ // ../drizzle-orm/dist/pg-core/columns/line.js
20223
20264
  var _a78, _b51, PgLineBuilder, _a79, _b52, PgLineTuple, _a80, _b53, PgLineABCBuilder, _a81, _b54, PgLineABC;
20224
20265
  var init_line = __esm({
20225
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/line.js"() {
20266
+ "../drizzle-orm/dist/pg-core/columns/line.js"() {
20226
20267
  "use strict";
20227
20268
  init_entity();
20228
20269
  init_common2();
@@ -20281,10 +20322,10 @@ var init_line = __esm({
20281
20322
  }
20282
20323
  });
20283
20324
 
20284
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/macaddr.js
20325
+ // ../drizzle-orm/dist/pg-core/columns/macaddr.js
20285
20326
  var _a82, _b55, PgMacaddrBuilder, _a83, _b56, PgMacaddr;
20286
20327
  var init_macaddr = __esm({
20287
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/macaddr.js"() {
20328
+ "../drizzle-orm/dist/pg-core/columns/macaddr.js"() {
20288
20329
  "use strict";
20289
20330
  init_entity();
20290
20331
  init_common2();
@@ -20307,10 +20348,10 @@ var init_macaddr = __esm({
20307
20348
  }
20308
20349
  });
20309
20350
 
20310
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
20351
+ // ../drizzle-orm/dist/pg-core/columns/macaddr8.js
20311
20352
  var _a84, _b57, PgMacaddr8Builder, _a85, _b58, PgMacaddr8;
20312
20353
  var init_macaddr8 = __esm({
20313
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/macaddr8.js"() {
20354
+ "../drizzle-orm/dist/pg-core/columns/macaddr8.js"() {
20314
20355
  "use strict";
20315
20356
  init_entity();
20316
20357
  init_common2();
@@ -20333,10 +20374,10 @@ var init_macaddr8 = __esm({
20333
20374
  }
20334
20375
  });
20335
20376
 
20336
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/numeric.js
20377
+ // ../drizzle-orm/dist/pg-core/columns/numeric.js
20337
20378
  var _a86, _b59, PgNumericBuilder, _a87, _b60, PgNumeric;
20338
20379
  var init_numeric = __esm({
20339
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/numeric.js"() {
20380
+ "../drizzle-orm/dist/pg-core/columns/numeric.js"() {
20340
20381
  "use strict";
20341
20382
  init_entity();
20342
20383
  init_common2();
@@ -20374,10 +20415,10 @@ var init_numeric = __esm({
20374
20415
  }
20375
20416
  });
20376
20417
 
20377
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/point.js
20418
+ // ../drizzle-orm/dist/pg-core/columns/point.js
20378
20419
  var _a88, _b61, PgPointTupleBuilder, _a89, _b62, PgPointTuple, _a90, _b63, PgPointObjectBuilder, _a91, _b64, PgPointObject;
20379
20420
  var init_point = __esm({
20380
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/point.js"() {
20421
+ "../drizzle-orm/dist/pg-core/columns/point.js"() {
20381
20422
  "use strict";
20382
20423
  init_entity();
20383
20424
  init_common2();
@@ -20442,7 +20483,7 @@ var init_point = __esm({
20442
20483
  }
20443
20484
  });
20444
20485
 
20445
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
20486
+ // ../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js
20446
20487
  function hexToBytes(hex) {
20447
20488
  const bytes = [];
20448
20489
  for (let c = 0; c < hex.length; c += 2) {
@@ -20481,15 +20522,15 @@ function parseEWKB(hex) {
20481
20522
  throw new Error("Unsupported geometry type");
20482
20523
  }
20483
20524
  var init_utils3 = __esm({
20484
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js"() {
20525
+ "../drizzle-orm/dist/pg-core/columns/postgis_extension/utils.js"() {
20485
20526
  "use strict";
20486
20527
  }
20487
20528
  });
20488
20529
 
20489
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
20530
+ // ../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js
20490
20531
  var _a92, _b65, PgGeometryBuilder, _a93, _b66, PgGeometry, _a94, _b67, PgGeometryObjectBuilder, _a95, _b68, PgGeometryObject;
20491
20532
  var init_geometry = __esm({
20492
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js"() {
20533
+ "../drizzle-orm/dist/pg-core/columns/postgis_extension/geometry.js"() {
20493
20534
  "use strict";
20494
20535
  init_entity();
20495
20536
  init_common2();
@@ -20548,10 +20589,10 @@ var init_geometry = __esm({
20548
20589
  }
20549
20590
  });
20550
20591
 
20551
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/real.js
20592
+ // ../drizzle-orm/dist/pg-core/columns/real.js
20552
20593
  var _a96, _b69, PgRealBuilder, _a97, _b70, PgReal;
20553
20594
  var init_real = __esm({
20554
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/real.js"() {
20595
+ "../drizzle-orm/dist/pg-core/columns/real.js"() {
20555
20596
  "use strict";
20556
20597
  init_entity();
20557
20598
  init_common2();
@@ -20584,10 +20625,10 @@ var init_real = __esm({
20584
20625
  }
20585
20626
  });
20586
20627
 
20587
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/serial.js
20628
+ // ../drizzle-orm/dist/pg-core/columns/serial.js
20588
20629
  var _a98, _b71, PgSerialBuilder, _a99, _b72, PgSerial;
20589
20630
  var init_serial = __esm({
20590
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/serial.js"() {
20631
+ "../drizzle-orm/dist/pg-core/columns/serial.js"() {
20591
20632
  "use strict";
20592
20633
  init_entity();
20593
20634
  init_common2();
@@ -20612,10 +20653,10 @@ var init_serial = __esm({
20612
20653
  }
20613
20654
  });
20614
20655
 
20615
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/smallint.js
20656
+ // ../drizzle-orm/dist/pg-core/columns/smallint.js
20616
20657
  var _a100, _b73, PgSmallIntBuilder, _a101, _b74, PgSmallInt;
20617
20658
  var init_smallint = __esm({
20618
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/smallint.js"() {
20659
+ "../drizzle-orm/dist/pg-core/columns/smallint.js"() {
20619
20660
  "use strict";
20620
20661
  init_entity();
20621
20662
  init_common2();
@@ -20648,10 +20689,10 @@ var init_smallint = __esm({
20648
20689
  }
20649
20690
  });
20650
20691
 
20651
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/smallserial.js
20692
+ // ../drizzle-orm/dist/pg-core/columns/smallserial.js
20652
20693
  var _a102, _b75, PgSmallSerialBuilder, _a103, _b76, PgSmallSerial;
20653
20694
  var init_smallserial = __esm({
20654
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/smallserial.js"() {
20695
+ "../drizzle-orm/dist/pg-core/columns/smallserial.js"() {
20655
20696
  "use strict";
20656
20697
  init_entity();
20657
20698
  init_common2();
@@ -20679,10 +20720,10 @@ var init_smallserial = __esm({
20679
20720
  }
20680
20721
  });
20681
20722
 
20682
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/text.js
20723
+ // ../drizzle-orm/dist/pg-core/columns/text.js
20683
20724
  var _a104, _b77, PgTextBuilder, _a105, _b78, PgText;
20684
20725
  var init_text = __esm({
20685
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/text.js"() {
20726
+ "../drizzle-orm/dist/pg-core/columns/text.js"() {
20686
20727
  "use strict";
20687
20728
  init_entity();
20688
20729
  init_common2();
@@ -20710,10 +20751,10 @@ var init_text = __esm({
20710
20751
  }
20711
20752
  });
20712
20753
 
20713
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/time.js
20754
+ // ../drizzle-orm/dist/pg-core/columns/time.js
20714
20755
  var _a106, _b79, PgTimeBuilder, _a107, _b80, PgTime;
20715
20756
  var init_time = __esm({
20716
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/time.js"() {
20757
+ "../drizzle-orm/dist/pg-core/columns/time.js"() {
20717
20758
  "use strict";
20718
20759
  init_entity();
20719
20760
  init_common2();
@@ -20749,10 +20790,10 @@ var init_time = __esm({
20749
20790
  }
20750
20791
  });
20751
20792
 
20752
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/timestamp.js
20793
+ // ../drizzle-orm/dist/pg-core/columns/timestamp.js
20753
20794
  var _a108, _b81, PgTimestampBuilder, _a109, _b82, PgTimestamp, _a110, _b83, PgTimestampStringBuilder, _a111, _b84, PgTimestampString;
20754
20795
  var init_timestamp = __esm({
20755
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/timestamp.js"() {
20796
+ "../drizzle-orm/dist/pg-core/columns/timestamp.js"() {
20756
20797
  "use strict";
20757
20798
  init_entity();
20758
20799
  init_common2();
@@ -20821,10 +20862,10 @@ var init_timestamp = __esm({
20821
20862
  }
20822
20863
  });
20823
20864
 
20824
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/uuid.js
20865
+ // ../drizzle-orm/dist/pg-core/columns/uuid.js
20825
20866
  var _a112, _b85, PgUUIDBuilder, _a113, _b86, PgUUID;
20826
20867
  var init_uuid = __esm({
20827
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/uuid.js"() {
20868
+ "../drizzle-orm/dist/pg-core/columns/uuid.js"() {
20828
20869
  "use strict";
20829
20870
  init_entity();
20830
20871
  init_sql();
@@ -20854,10 +20895,10 @@ var init_uuid = __esm({
20854
20895
  }
20855
20896
  });
20856
20897
 
20857
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/varchar.js
20898
+ // ../drizzle-orm/dist/pg-core/columns/varchar.js
20858
20899
  var _a114, _b87, PgVarcharBuilder, _a115, _b88, PgVarchar;
20859
20900
  var init_varchar = __esm({
20860
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/varchar.js"() {
20901
+ "../drizzle-orm/dist/pg-core/columns/varchar.js"() {
20861
20902
  "use strict";
20862
20903
  init_entity();
20863
20904
  init_common2();
@@ -20887,10 +20928,10 @@ var init_varchar = __esm({
20887
20928
  }
20888
20929
  });
20889
20930
 
20890
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
20931
+ // ../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js
20891
20932
  var _a116, _b89, PgBinaryVectorBuilder, _a117, _b90, PgBinaryVector;
20892
20933
  var init_bit = __esm({
20893
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js"() {
20934
+ "../drizzle-orm/dist/pg-core/columns/vector_extension/bit.js"() {
20894
20935
  "use strict";
20895
20936
  init_entity();
20896
20937
  init_common2();
@@ -20921,10 +20962,10 @@ var init_bit = __esm({
20921
20962
  }
20922
20963
  });
20923
20964
 
20924
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
20965
+ // ../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js
20925
20966
  var _a118, _b91, PgHalfVectorBuilder, _a119, _b92, PgHalfVector;
20926
20967
  var init_halfvec = __esm({
20927
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js"() {
20968
+ "../drizzle-orm/dist/pg-core/columns/vector_extension/halfvec.js"() {
20928
20969
  "use strict";
20929
20970
  init_entity();
20930
20971
  init_common2();
@@ -20961,10 +21002,10 @@ var init_halfvec = __esm({
20961
21002
  }
20962
21003
  });
20963
21004
 
20964
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
21005
+ // ../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js
20965
21006
  var _a120, _b93, PgSparseVectorBuilder, _a121, _b94, PgSparseVector;
20966
21007
  var init_sparsevec = __esm({
20967
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js"() {
21008
+ "../drizzle-orm/dist/pg-core/columns/vector_extension/sparsevec.js"() {
20968
21009
  "use strict";
20969
21010
  init_entity();
20970
21011
  init_common2();
@@ -20995,10 +21036,10 @@ var init_sparsevec = __esm({
20995
21036
  }
20996
21037
  });
20997
21038
 
20998
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
21039
+ // ../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js
20999
21040
  var _a122, _b95, PgVectorBuilder, _a123, _b96, PgVector;
21000
21041
  var init_vector2 = __esm({
21001
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js"() {
21042
+ "../drizzle-orm/dist/pg-core/columns/vector_extension/vector.js"() {
21002
21043
  "use strict";
21003
21044
  init_entity();
21004
21045
  init_common2();
@@ -21032,9 +21073,9 @@ var init_vector2 = __esm({
21032
21073
  }
21033
21074
  });
21034
21075
 
21035
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/index.js
21076
+ // ../drizzle-orm/dist/pg-core/columns/index.js
21036
21077
  var init_columns = __esm({
21037
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/columns/index.js"() {
21078
+ "../drizzle-orm/dist/pg-core/columns/index.js"() {
21038
21079
  "use strict";
21039
21080
  init_bigint();
21040
21081
  init_bigserial();
@@ -21073,10 +21114,10 @@ var init_columns = __esm({
21073
21114
  }
21074
21115
  });
21075
21116
 
21076
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/delete.js
21117
+ // ../drizzle-orm/dist/pg-core/query-builders/delete.js
21077
21118
  var _a124, _b97, PgDeleteBase;
21078
21119
  var init_delete = __esm({
21079
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/delete.js"() {
21120
+ "../drizzle-orm/dist/pg-core/query-builders/delete.js"() {
21080
21121
  "use strict";
21081
21122
  init_entity();
21082
21123
  init_query_promise();
@@ -21129,7 +21170,7 @@ var init_delete = __esm({
21129
21170
  this.config.where = where;
21130
21171
  return this;
21131
21172
  }
21132
- returning(fields = this.config.table[Table.Symbol.Columns]) {
21173
+ returning(fields = this.config.table[Table2.Symbol.Columns]) {
21133
21174
  this.config.returning = orderSelectedFields(fields);
21134
21175
  return this;
21135
21176
  }
@@ -21158,10 +21199,10 @@ var init_delete = __esm({
21158
21199
  }
21159
21200
  });
21160
21201
 
21161
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/insert.js
21202
+ // ../drizzle-orm/dist/pg-core/query-builders/insert.js
21162
21203
  var _a125, PgInsertBuilder, _a126, _b98, PgInsertBase;
21163
21204
  var init_insert = __esm({
21164
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/insert.js"() {
21205
+ "../drizzle-orm/dist/pg-core/query-builders/insert.js"() {
21165
21206
  "use strict";
21166
21207
  init_entity();
21167
21208
  init_query_promise();
@@ -21184,7 +21225,7 @@ var init_insert = __esm({
21184
21225
  }
21185
21226
  const mappedValues = values.map((entry) => {
21186
21227
  const result = {};
21187
- const cols = this.table[Table.Symbol.Columns];
21228
+ const cols = this.table[Table2.Symbol.Columns];
21188
21229
  for (const colKey of Object.keys(entry)) {
21189
21230
  const colValue = entry[colKey];
21190
21231
  result[colKey] = is(colValue, SQL) ? colValue : new Param(colValue, cols[colKey]);
@@ -21208,7 +21249,7 @@ var init_insert = __esm({
21208
21249
  this.dialect = dialect7;
21209
21250
  this.config = { table: table4, values, withList };
21210
21251
  }
21211
- returning(fields = this.config.table[Table.Symbol.Columns]) {
21252
+ returning(fields = this.config.table[Table2.Symbol.Columns]) {
21212
21253
  this.config.returning = orderSelectedFields(fields);
21213
21254
  return this;
21214
21255
  }
@@ -21314,10 +21355,10 @@ var init_insert = __esm({
21314
21355
  }
21315
21356
  });
21316
21357
 
21317
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/view-base.js
21358
+ // ../drizzle-orm/dist/pg-core/view-base.js
21318
21359
  var _a127, _b99, PgViewBase;
21319
21360
  var init_view_base = __esm({
21320
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/view-base.js"() {
21361
+ "../drizzle-orm/dist/pg-core/view-base.js"() {
21321
21362
  "use strict";
21322
21363
  init_entity();
21323
21364
  init_sql();
@@ -21327,10 +21368,10 @@ var init_view_base = __esm({
21327
21368
  }
21328
21369
  });
21329
21370
 
21330
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/dialect.js
21371
+ // ../drizzle-orm/dist/pg-core/dialect.js
21331
21372
  var _a128, PgDialect;
21332
21373
  var init_dialect = __esm({
21333
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/dialect.js"() {
21374
+ "../drizzle-orm/dist/pg-core/dialect.js"() {
21334
21375
  "use strict";
21335
21376
  init_alias();
21336
21377
  init_column();
@@ -21406,7 +21447,7 @@ var init_dialect = __esm({
21406
21447
  return sql`${withSql}delete from ${table4}${whereSql}${returningSql}`;
21407
21448
  }
21408
21449
  buildUpdateSet(table4, set) {
21409
- const tableColumns = table4[Table.Symbol.Columns];
21450
+ const tableColumns = table4[Table2.Symbol.Columns];
21410
21451
  const columnNames = Object.keys(tableColumns).filter(
21411
21452
  (colName) => set[colName] !== void 0 || tableColumns[colName]?.onUpdateFn !== void 0
21412
21453
  );
@@ -21464,7 +21505,7 @@ var init_dialect = __esm({
21464
21505
  if (is(field, SQL.Aliased)) {
21465
21506
  chunk.push(sql` as ${sql.identifier(field.fieldAlias)}`);
21466
21507
  }
21467
- } else if (is(field, Column)) {
21508
+ } else if (is(field, Column2)) {
21468
21509
  if (isSingleTable) {
21469
21510
  chunk.push(sql.identifier(field.name));
21470
21511
  } else {
@@ -21496,8 +21537,8 @@ var init_dialect = __esm({
21496
21537
  }) {
21497
21538
  const fieldsList = fieldsFlat ?? orderSelectedFields(fields);
21498
21539
  for (const f of fieldsList) {
21499
- if (is(f.field, Column) && getTableName(f.field.table) !== (is(table4, Subquery) ? table4._.alias : is(table4, PgViewBase) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : getTableName(table4)) && !((table22) => joins?.some(
21500
- ({ alias }) => alias === (table22[Table.Symbol.IsAlias] ? getTableName(table22) : table22[Table.Symbol.BaseName])
21540
+ if (is(f.field, Column2) && getTableName(f.field.table) !== (is(table4, Subquery) ? table4._.alias : is(table4, PgViewBase) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : getTableName(table4)) && !((table22) => joins?.some(
21541
+ ({ alias }) => alias === (table22[Table2.Symbol.IsAlias] ? getTableName(table22) : table22[Table2.Symbol.BaseName])
21501
21542
  ))(f.field.table)) {
21502
21543
  const tableName = getTableName(f.field.table);
21503
21544
  throw new Error(
@@ -21513,12 +21554,12 @@ var init_dialect = __esm({
21513
21554
  }
21514
21555
  const selection = this.buildSelection(fieldsList, { isSingleTable });
21515
21556
  const tableSql = (() => {
21516
- if (is(table4, Table) && table4[Table.Symbol.OriginalName] !== table4[Table.Symbol.Name]) {
21517
- let fullName = sql`${sql.identifier(table4[Table.Symbol.OriginalName])}`;
21518
- if (table4[Table.Symbol.Schema]) {
21519
- fullName = sql`${sql.identifier(table4[Table.Symbol.Schema])}.${fullName}`;
21557
+ if (is(table4, Table2) && table4[Table2.Symbol.OriginalName] !== table4[Table2.Symbol.Name]) {
21558
+ let fullName = sql`${sql.identifier(table4[Table2.Symbol.OriginalName])}`;
21559
+ if (table4[Table2.Symbol.Schema]) {
21560
+ fullName = sql`${sql.identifier(table4[Table2.Symbol.Schema])}.${fullName}`;
21520
21561
  }
21521
- return sql`${fullName} ${sql.identifier(table4[Table.Symbol.Name])}`;
21562
+ return sql`${fullName} ${sql.identifier(table4[Table2.Symbol.Name])}`;
21522
21563
  }
21523
21564
  return table4;
21524
21565
  })();
@@ -21639,7 +21680,7 @@ var init_dialect = __esm({
21639
21680
  }
21640
21681
  buildInsertQuery({ table: table4, values, onConflict, returning, withList }) {
21641
21682
  const valuesSqlList = [];
21642
- const columns = table4[Table.Symbol.Columns];
21683
+ const columns = table4[Table2.Symbol.Columns];
21643
21684
  const colEntries = Object.entries(columns).filter(([_2, col]) => !col.shouldDisableInsert());
21644
21685
  const insertOrder = colEntries.map(([, column4]) => sql.identifier(column4.name));
21645
21686
  for (const [valueIndex, value] of values.entries()) {
@@ -22260,7 +22301,7 @@ var init_dialect = __esm({
22260
22301
  selection.push({
22261
22302
  dbKey: is(value, SQL.Aliased) ? value.fieldAlias : tableConfig.columns[tsKey].name,
22262
22303
  tsKey,
22263
- field: is(value, Column) ? aliasedTableColumn(value, tableAlias) : value,
22304
+ field: is(value, Column2) ? aliasedTableColumn(value, tableAlias) : value,
22264
22305
  relationTableTsKey: void 0,
22265
22306
  isJson: false,
22266
22307
  selection: []
@@ -22271,7 +22312,7 @@ var init_dialect = __esm({
22271
22312
  orderByOrig = [orderByOrig];
22272
22313
  }
22273
22314
  orderBy = orderByOrig.map((orderByValue) => {
22274
- if (is(orderByValue, Column)) {
22315
+ if (is(orderByValue, Column2)) {
22275
22316
  return aliasedTableColumn(orderByValue, tableAlias);
22276
22317
  }
22277
22318
  return mapColumnsInSQLToAlias(orderByValue, tableAlias);
@@ -22374,7 +22415,7 @@ var init_dialect = __esm({
22374
22415
  fields: {},
22375
22416
  fieldsFlat: nestedSelection.map(({ field: field2 }) => ({
22376
22417
  path: [],
22377
- field: is(field2, Column) ? aliasedTableColumn(field2, tableAlias) : field2
22418
+ field: is(field2, Column2) ? aliasedTableColumn(field2, tableAlias) : field2
22378
22419
  })),
22379
22420
  joins,
22380
22421
  where,
@@ -22389,7 +22430,7 @@ var init_dialect = __esm({
22389
22430
  fields: {},
22390
22431
  fieldsFlat: selection.map(({ field }) => ({
22391
22432
  path: [],
22392
- field: is(field, Column) ? aliasedTableColumn(field, tableAlias) : field
22433
+ field: is(field, Column2) ? aliasedTableColumn(field, tableAlias) : field
22393
22434
  })),
22394
22435
  joins,
22395
22436
  where,
@@ -22410,10 +22451,10 @@ var init_dialect = __esm({
22410
22451
  }
22411
22452
  });
22412
22453
 
22413
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/selection-proxy.js
22454
+ // ../drizzle-orm/dist/selection-proxy.js
22414
22455
  var _a129, _SelectionProxyHandler, SelectionProxyHandler;
22415
22456
  var init_selection_proxy = __esm({
22416
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/selection-proxy.js"() {
22457
+ "../drizzle-orm/dist/selection-proxy.js"() {
22417
22458
  "use strict";
22418
22459
  init_alias();
22419
22460
  init_column();
@@ -22467,7 +22508,7 @@ var init_selection_proxy = __esm({
22467
22508
  `You tried to reference "${prop}" field from a subquery, which is a raw SQL field, but it doesn't have an alias declared. Please add an alias to the field using ".as('alias')" method.`
22468
22509
  );
22469
22510
  }
22470
- if (is(value, Column)) {
22511
+ if (is(value, Column2)) {
22471
22512
  if (this.config.alias) {
22472
22513
  return new Proxy(
22473
22514
  value,
@@ -22492,10 +22533,10 @@ var init_selection_proxy = __esm({
22492
22533
  }
22493
22534
  });
22494
22535
 
22495
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/query-builders/query-builder.js
22536
+ // ../drizzle-orm/dist/query-builders/query-builder.js
22496
22537
  var _a130, TypedQueryBuilder;
22497
22538
  var init_query_builder = __esm({
22498
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/query-builders/query-builder.js"() {
22539
+ "../drizzle-orm/dist/query-builders/query-builder.js"() {
22499
22540
  "use strict";
22500
22541
  init_entity();
22501
22542
  _a130 = entityKind;
@@ -22509,7 +22550,7 @@ var init_query_builder = __esm({
22509
22550
  }
22510
22551
  });
22511
22552
 
22512
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/select.js
22553
+ // ../drizzle-orm/dist/pg-core/query-builders/select.js
22513
22554
  function createSetOperator(type, isAll) {
22514
22555
  return (leftSelect, rightSelect, ...restSelects) => {
22515
22556
  const setOperators = [rightSelect, ...restSelects].map((select) => ({
@@ -22529,7 +22570,7 @@ function createSetOperator(type, isAll) {
22529
22570
  }
22530
22571
  var _a131, PgSelectBuilder, _a132, _b100, PgSelectQueryBuilderBase, _a133, _b101, PgSelectBase, getPgSetOperators, union, unionAll, intersect, intersectAll, except, exceptAll;
22531
22572
  var init_select2 = __esm({
22532
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/select.js"() {
22573
+ "../drizzle-orm/dist/pg-core/query-builders/select.js"() {
22533
22574
  "use strict";
22534
22575
  init_entity();
22535
22576
  init_view_base();
@@ -22931,7 +22972,7 @@ var init_select2 = __esm({
22931
22972
  };
22932
22973
  }
22933
22974
  if (typeof tableName === "string" && !is(table4, SQL)) {
22934
- const selection = is(table4, Subquery) ? table4._.selectedFields : is(table4, View) ? table4[ViewBaseConfig].selectedFields : table4[Table.Symbol.Columns];
22975
+ const selection = is(table4, Subquery) ? table4._.selectedFields : is(table4, View) ? table4[ViewBaseConfig].selectedFields : table4[Table2.Symbol.Columns];
22935
22976
  this.config.fields[tableName] = selection;
22936
22977
  }
22937
22978
  }
@@ -23246,10 +23287,10 @@ var init_select2 = __esm({
23246
23287
  }
23247
23288
  });
23248
23289
 
23249
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
23290
+ // ../drizzle-orm/dist/pg-core/query-builders/query-builder.js
23250
23291
  var _a134, QueryBuilder;
23251
23292
  var init_query_builder2 = __esm({
23252
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js"() {
23293
+ "../drizzle-orm/dist/pg-core/query-builders/query-builder.js"() {
23253
23294
  "use strict";
23254
23295
  init_entity();
23255
23296
  init_dialect();
@@ -23338,10 +23379,10 @@ var init_query_builder2 = __esm({
23338
23379
  }
23339
23380
  });
23340
23381
 
23341
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
23382
+ // ../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js
23342
23383
  var _a135, _b102, PgRefreshMaterializedView;
23343
23384
  var init_refresh_materialized_view = __esm({
23344
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js"() {
23385
+ "../drizzle-orm/dist/pg-core/query-builders/refresh-materialized-view.js"() {
23345
23386
  "use strict";
23346
23387
  init_entity();
23347
23388
  init_query_promise();
@@ -23395,17 +23436,17 @@ var init_refresh_materialized_view = __esm({
23395
23436
  }
23396
23437
  });
23397
23438
 
23398
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/select.types.js
23439
+ // ../drizzle-orm/dist/pg-core/query-builders/select.types.js
23399
23440
  var init_select_types = __esm({
23400
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/select.types.js"() {
23441
+ "../drizzle-orm/dist/pg-core/query-builders/select.types.js"() {
23401
23442
  "use strict";
23402
23443
  }
23403
23444
  });
23404
23445
 
23405
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/update.js
23446
+ // ../drizzle-orm/dist/pg-core/query-builders/update.js
23406
23447
  var _a136, PgUpdateBuilder, _a137, _b103, PgUpdateBase;
23407
23448
  var init_update = __esm({
23408
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/update.js"() {
23449
+ "../drizzle-orm/dist/pg-core/query-builders/update.js"() {
23409
23450
  "use strict";
23410
23451
  init_entity();
23411
23452
  init_query_promise();
@@ -23478,7 +23519,7 @@ var init_update = __esm({
23478
23519
  this.config.where = where;
23479
23520
  return this;
23480
23521
  }
23481
- returning(fields = this.config.table[Table.Symbol.Columns]) {
23522
+ returning(fields = this.config.table[Table2.Symbol.Columns]) {
23482
23523
  this.config.returning = orderSelectedFields(fields);
23483
23524
  return this;
23484
23525
  }
@@ -23505,9 +23546,9 @@ var init_update = __esm({
23505
23546
  }
23506
23547
  });
23507
23548
 
23508
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/index.js
23549
+ // ../drizzle-orm/dist/pg-core/query-builders/index.js
23509
23550
  var init_query_builders = __esm({
23510
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/index.js"() {
23551
+ "../drizzle-orm/dist/pg-core/query-builders/index.js"() {
23511
23552
  "use strict";
23512
23553
  init_delete();
23513
23554
  init_insert();
@@ -23519,10 +23560,10 @@ var init_query_builders = __esm({
23519
23560
  }
23520
23561
  });
23521
23562
 
23522
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/query.js
23563
+ // ../drizzle-orm/dist/pg-core/query-builders/query.js
23523
23564
  var _a138, RelationalQueryBuilder, _a139, _b104, PgRelationalQuery;
23524
23565
  var init_query = __esm({
23525
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/query.js"() {
23566
+ "../drizzle-orm/dist/pg-core/query-builders/query.js"() {
23526
23567
  "use strict";
23527
23568
  init_entity();
23528
23569
  init_query_promise();
@@ -23637,10 +23678,10 @@ var init_query = __esm({
23637
23678
  }
23638
23679
  });
23639
23680
 
23640
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/raw.js
23681
+ // ../drizzle-orm/dist/pg-core/query-builders/raw.js
23641
23682
  var _a140, _b105, PgRaw;
23642
23683
  var init_raw = __esm({
23643
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/query-builders/raw.js"() {
23684
+ "../drizzle-orm/dist/pg-core/query-builders/raw.js"() {
23644
23685
  "use strict";
23645
23686
  init_entity();
23646
23687
  init_query_promise();
@@ -23674,10 +23715,10 @@ var init_raw = __esm({
23674
23715
  }
23675
23716
  });
23676
23717
 
23677
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/db.js
23718
+ // ../drizzle-orm/dist/pg-core/db.js
23678
23719
  var _a141, PgDatabase;
23679
23720
  var init_db = __esm({
23680
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/db.js"() {
23721
+ "../drizzle-orm/dist/pg-core/db.js"() {
23681
23722
  "use strict";
23682
23723
  init_entity();
23683
23724
  init_query_builders();
@@ -23955,10 +23996,10 @@ var init_db = __esm({
23955
23996
  }
23956
23997
  });
23957
23998
 
23958
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/indexes.js
23999
+ // ../drizzle-orm/dist/pg-core/indexes.js
23959
24000
  var _a142, IndexBuilderOn, _a143, IndexBuilder, _a144, Index2;
23960
24001
  var init_indexes = __esm({
23961
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/indexes.js"() {
24002
+ "../drizzle-orm/dist/pg-core/indexes.js"() {
23962
24003
  "use strict";
23963
24004
  init_sql();
23964
24005
  init_entity();
@@ -24073,7 +24114,7 @@ var init_indexes = __esm({
24073
24114
  }
24074
24115
  });
24075
24116
 
24076
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/sequence.js
24117
+ // ../drizzle-orm/dist/pg-core/sequence.js
24077
24118
  function pgSequenceWithSchema(name2, options, schema4) {
24078
24119
  return new PgSequence(name2, options, schema4);
24079
24120
  }
@@ -24082,7 +24123,7 @@ function isPgSequence(obj) {
24082
24123
  }
24083
24124
  var _a145, PgSequence;
24084
24125
  var init_sequence = __esm({
24085
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/sequence.js"() {
24126
+ "../drizzle-orm/dist/pg-core/sequence.js"() {
24086
24127
  "use strict";
24087
24128
  init_entity();
24088
24129
  _a145 = entityKind;
@@ -24097,16 +24138,16 @@ var init_sequence = __esm({
24097
24138
  }
24098
24139
  });
24099
24140
 
24100
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/view-common.js
24141
+ // ../drizzle-orm/dist/pg-core/view-common.js
24101
24142
  var PgViewConfig;
24102
24143
  var init_view_common2 = __esm({
24103
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/view-common.js"() {
24144
+ "../drizzle-orm/dist/pg-core/view-common.js"() {
24104
24145
  "use strict";
24105
24146
  PgViewConfig = Symbol.for("drizzle:PgViewConfig");
24106
24147
  }
24107
24148
  });
24108
24149
 
24109
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/view.js
24150
+ // ../drizzle-orm/dist/pg-core/view.js
24110
24151
  function pgViewWithSchema(name2, selection, schema4) {
24111
24152
  if (selection) {
24112
24153
  return new ManualViewBuilder(name2, selection, schema4);
@@ -24121,7 +24162,7 @@ function pgMaterializedViewWithSchema(name2, selection, schema4) {
24121
24162
  }
24122
24163
  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;
24123
24164
  var init_view = __esm({
24124
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/view.js"() {
24165
+ "../drizzle-orm/dist/pg-core/view.js"() {
24125
24166
  "use strict";
24126
24167
  init_entity();
24127
24168
  init_selection_proxy();
@@ -24348,10 +24389,10 @@ var init_view = __esm({
24348
24389
  }
24349
24390
  });
24350
24391
 
24351
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/schema.js
24352
- var _a154, PgSchema3;
24392
+ // ../drizzle-orm/dist/pg-core/schema.js
24393
+ var _a154, PgSchema5;
24353
24394
  var init_schema = __esm({
24354
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/schema.js"() {
24395
+ "../drizzle-orm/dist/pg-core/schema.js"() {
24355
24396
  "use strict";
24356
24397
  init_entity();
24357
24398
  init_sql();
@@ -24360,7 +24401,7 @@ var init_schema = __esm({
24360
24401
  init_table2();
24361
24402
  init_view();
24362
24403
  _a154 = entityKind;
24363
- PgSchema3 = class {
24404
+ PgSchema5 = class {
24364
24405
  constructor(schemaName) {
24365
24406
  __publicField(this, "table", (name2, columns, extraConfig) => {
24366
24407
  return pgTableWithSchema(name2, columns, extraConfig, this.schemaName);
@@ -24386,14 +24427,14 @@ var init_schema = __esm({
24386
24427
  return true;
24387
24428
  }
24388
24429
  };
24389
- __publicField(PgSchema3, _a154, "PgSchema");
24430
+ __publicField(PgSchema5, _a154, "PgSchema");
24390
24431
  }
24391
24432
  });
24392
24433
 
24393
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/session.js
24434
+ // ../drizzle-orm/dist/pg-core/session.js
24394
24435
  var _a155, PgPreparedQuery, _a156, PgSession, _a157, _b112, PgTransaction;
24395
24436
  var init_session = __esm({
24396
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/session.js"() {
24437
+ "../drizzle-orm/dist/pg-core/session.js"() {
24397
24438
  "use strict";
24398
24439
  init_entity();
24399
24440
  init_errors();
@@ -24474,26 +24515,26 @@ var init_session = __esm({
24474
24515
  }
24475
24516
  });
24476
24517
 
24477
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/subquery.js
24518
+ // ../drizzle-orm/dist/pg-core/subquery.js
24478
24519
  var init_subquery2 = __esm({
24479
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/subquery.js"() {
24520
+ "../drizzle-orm/dist/pg-core/subquery.js"() {
24480
24521
  "use strict";
24481
24522
  }
24482
24523
  });
24483
24524
 
24484
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/utils.js
24525
+ // ../drizzle-orm/dist/pg-core/utils.js
24485
24526
  function getTableConfig(table4) {
24486
- const columns = Object.values(table4[Table.Symbol.Columns]);
24527
+ const columns = Object.values(table4[Table2.Symbol.Columns]);
24487
24528
  const indexes = [];
24488
24529
  const checks = [];
24489
24530
  const primaryKeys = [];
24490
24531
  const foreignKeys = Object.values(table4[PgTable.Symbol.InlineForeignKeys]);
24491
24532
  const uniqueConstraints = [];
24492
- const name2 = table4[Table.Symbol.Name];
24493
- const schema4 = table4[Table.Symbol.Schema];
24533
+ const name2 = table4[Table2.Symbol.Name];
24534
+ const schema4 = table4[Table2.Symbol.Schema];
24494
24535
  const extraConfigBuilder = table4[PgTable.Symbol.ExtraConfigBuilder];
24495
24536
  if (extraConfigBuilder !== void 0) {
24496
- const extraConfig = extraConfigBuilder(table4[Table.Symbol.ExtraConfigColumns]);
24537
+ const extraConfig = extraConfigBuilder(table4[Table2.Symbol.ExtraConfigColumns]);
24497
24538
  for (const builder of Object.values(extraConfig)) {
24498
24539
  if (is(builder, IndexBuilder)) {
24499
24540
  indexes.push(builder.build(table4));
@@ -24520,7 +24561,7 @@ function getTableConfig(table4) {
24520
24561
  };
24521
24562
  }
24522
24563
  var init_utils4 = __esm({
24523
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/utils.js"() {
24564
+ "../drizzle-orm/dist/pg-core/utils.js"() {
24524
24565
  "use strict";
24525
24566
  init_entity();
24526
24567
  init_table2();
@@ -24533,17 +24574,17 @@ var init_utils4 = __esm({
24533
24574
  }
24534
24575
  });
24535
24576
 
24536
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/utils/index.js
24577
+ // ../drizzle-orm/dist/pg-core/utils/index.js
24537
24578
  var init_utils5 = __esm({
24538
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/utils/index.js"() {
24579
+ "../drizzle-orm/dist/pg-core/utils/index.js"() {
24539
24580
  "use strict";
24540
24581
  init_array();
24541
24582
  }
24542
24583
  });
24543
24584
 
24544
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/index.js
24585
+ // ../drizzle-orm/dist/pg-core/index.js
24545
24586
  var init_pg_core = __esm({
24546
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/pg-core/index.js"() {
24587
+ "../drizzle-orm/dist/pg-core/index.js"() {
24547
24588
  "use strict";
24548
24589
  init_alias2();
24549
24590
  init_checks();
@@ -24598,16 +24639,41 @@ function minRangeForIdentityBasedOn(columnType) {
24598
24639
  function stringFromDatabaseIdentityProperty(field) {
24599
24640
  return typeof field === "string" ? field : typeof field === "undefined" ? void 0 : typeof field === "bigint" ? field.toString() : String(field);
24600
24641
  }
24642
+ function buildArrayString(array, sqlType) {
24643
+ sqlType = sqlType.split("[")[0];
24644
+ const values = array.map((value) => {
24645
+ if (typeof value === "number" || typeof value === "bigint") {
24646
+ return value.toString();
24647
+ } else if (typeof value === "boolean") {
24648
+ return value ? "true" : "false";
24649
+ } else if (Array.isArray(value)) {
24650
+ return buildArrayString(value, sqlType);
24651
+ } else if (value instanceof Date) {
24652
+ if (sqlType === "date") {
24653
+ return `"${value.toISOString().split("T")[0]}"`;
24654
+ } else if (sqlType === "timestamp") {
24655
+ return `"${value.toISOString().replace("T", " ").slice(0, 23)}"`;
24656
+ } else {
24657
+ return `"${value.toISOString()}"`;
24658
+ }
24659
+ } else if (typeof value === "object") {
24660
+ return `"${JSON.stringify(value).replaceAll('"', '\\"')}"`;
24661
+ }
24662
+ return `"${value}"`;
24663
+ }).join(",");
24664
+ return `{${values}}`;
24665
+ }
24601
24666
  var dialect4, indexName, generatePgSnapshot, trimChar, fromDatabase, columnToDefault, defaultForColumn;
24602
24667
  var init_pgSerializer = __esm({
24603
24668
  "src/serializer/pgSerializer.ts"() {
24604
24669
  "use strict";
24605
24670
  init_source();
24606
- init_drizzle_orm();
24671
+ init_dist();
24607
24672
  init_pg_core();
24608
24673
  init_pg_core();
24609
24674
  init_vector3();
24610
24675
  init_outputs();
24676
+ init_utils();
24611
24677
  init_serializer();
24612
24678
  dialect4 = new PgDialect();
24613
24679
  indexName = (tableName, columns) => {
@@ -24714,6 +24780,11 @@ ${withStyle.errorWarning(`We've found duplicated unique constraint names in ${so
24714
24780
  } else {
24715
24781
  columnToSet.default = `'${column4.default.toISOString()}'`;
24716
24782
  }
24783
+ } else if (isPgArrayType(sqlTypeLowered) && Array.isArray(column4.default)) {
24784
+ columnToSet.default = `'${buildArrayString(
24785
+ column4.default,
24786
+ sqlTypeLowered
24787
+ )}'::${sqlTypeLowered}`;
24717
24788
  } else {
24718
24789
  columnToSet.default = column4.default;
24719
24790
  }
@@ -25512,17 +25583,17 @@ var init_selector_ui = __esm({
25512
25583
  }
25513
25584
  });
25514
25585
 
25515
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/alias.js
25586
+ // ../drizzle-orm/dist/sqlite-core/alias.js
25516
25587
  var init_alias3 = __esm({
25517
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/alias.js"() {
25588
+ "../drizzle-orm/dist/sqlite-core/alias.js"() {
25518
25589
  "use strict";
25519
25590
  }
25520
25591
  });
25521
25592
 
25522
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/checks.js
25593
+ // ../drizzle-orm/dist/sqlite-core/checks.js
25523
25594
  var _a158, CheckBuilder2, _a159, Check2;
25524
25595
  var init_checks2 = __esm({
25525
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/checks.js"() {
25596
+ "../drizzle-orm/dist/sqlite-core/checks.js"() {
25526
25597
  "use strict";
25527
25598
  init_entity();
25528
25599
  _a158 = entityKind;
@@ -25551,7 +25622,7 @@ var init_checks2 = __esm({
25551
25622
  }
25552
25623
  });
25553
25624
 
25554
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/table.js
25625
+ // ../drizzle-orm/dist/sqlite-core/table.js
25555
25626
  function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2) {
25556
25627
  const rawTable = new SQLiteTable(name2, schema4, baseName);
25557
25628
  const builtColumns = Object.fromEntries(
@@ -25563,8 +25634,8 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
25563
25634
  })
25564
25635
  );
25565
25636
  const table4 = Object.assign(rawTable, builtColumns);
25566
- table4[Table.Symbol.Columns] = builtColumns;
25567
- table4[Table.Symbol.ExtraConfigColumns] = builtColumns;
25637
+ table4[Table2.Symbol.Columns] = builtColumns;
25638
+ table4[Table2.Symbol.ExtraConfigColumns] = builtColumns;
25568
25639
  if (extraConfig) {
25569
25640
  table4[SQLiteTable.Symbol.ExtraConfigBuilder] = extraConfig;
25570
25641
  }
@@ -25572,12 +25643,12 @@ function sqliteTableBase(name2, columns, extraConfig, schema4, baseName = name2)
25572
25643
  }
25573
25644
  var InlineForeignKeys2, _a160, _b113, _c5, _d3, _e2, SQLiteTable, sqliteTable;
25574
25645
  var init_table3 = __esm({
25575
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/table.js"() {
25646
+ "../drizzle-orm/dist/sqlite-core/table.js"() {
25576
25647
  "use strict";
25577
25648
  init_entity();
25578
25649
  init_table();
25579
25650
  InlineForeignKeys2 = Symbol.for("drizzle:SQLiteInlineForeignKeys");
25580
- SQLiteTable = class extends (_e2 = Table, _d3 = entityKind, _c5 = Table.Symbol.Columns, _b113 = InlineForeignKeys2, _a160 = Table.Symbol.ExtraConfigBuilder, _e2) {
25651
+ SQLiteTable = class extends (_e2 = Table2, _d3 = entityKind, _c5 = Table2.Symbol.Columns, _b113 = InlineForeignKeys2, _a160 = Table2.Symbol.ExtraConfigBuilder, _e2) {
25581
25652
  constructor() {
25582
25653
  super(...arguments);
25583
25654
  /** @internal */
@@ -25590,7 +25661,7 @@ var init_table3 = __esm({
25590
25661
  };
25591
25662
  __publicField(SQLiteTable, _d3, "SQLiteTable");
25592
25663
  /** @internal */
25593
- __publicField(SQLiteTable, "Symbol", Object.assign({}, Table.Symbol, {
25664
+ __publicField(SQLiteTable, "Symbol", Object.assign({}, Table2.Symbol, {
25594
25665
  InlineForeignKeys: InlineForeignKeys2
25595
25666
  }));
25596
25667
  sqliteTable = (name2, columns, extraConfig) => {
@@ -25599,10 +25670,10 @@ var init_table3 = __esm({
25599
25670
  }
25600
25671
  });
25601
25672
 
25602
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/foreign-keys.js
25673
+ // ../drizzle-orm/dist/sqlite-core/foreign-keys.js
25603
25674
  var _a161, ForeignKeyBuilder2, _a162, ForeignKey2;
25604
25675
  var init_foreign_keys2 = __esm({
25605
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/foreign-keys.js"() {
25676
+ "../drizzle-orm/dist/sqlite-core/foreign-keys.js"() {
25606
25677
  "use strict";
25607
25678
  init_entity();
25608
25679
  init_table3();
@@ -25666,13 +25737,13 @@ var init_foreign_keys2 = __esm({
25666
25737
  }
25667
25738
  });
25668
25739
 
25669
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/unique-constraint.js
25740
+ // ../drizzle-orm/dist/sqlite-core/unique-constraint.js
25670
25741
  function uniqueKeyName2(table4, columns) {
25671
25742
  return `${table4[SQLiteTable.Symbol.Name]}_${columns.join("_")}_unique`;
25672
25743
  }
25673
25744
  var _a163, UniqueConstraintBuilder2, _a164, UniqueOnConstraintBuilder2, _a165, UniqueConstraint2;
25674
25745
  var init_unique_constraint2 = __esm({
25675
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/unique-constraint.js"() {
25746
+ "../drizzle-orm/dist/sqlite-core/unique-constraint.js"() {
25676
25747
  "use strict";
25677
25748
  init_entity();
25678
25749
  init_table3();
@@ -25719,10 +25790,10 @@ var init_unique_constraint2 = __esm({
25719
25790
  }
25720
25791
  });
25721
25792
 
25722
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/common.js
25793
+ // ../drizzle-orm/dist/sqlite-core/columns/common.js
25723
25794
  var _a166, _b114, SQLiteColumnBuilder, _a167, _b115, SQLiteColumn;
25724
25795
  var init_common3 = __esm({
25725
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/common.js"() {
25796
+ "../drizzle-orm/dist/sqlite-core/columns/common.js"() {
25726
25797
  "use strict";
25727
25798
  init_column_builder();
25728
25799
  init_column();
@@ -25771,7 +25842,7 @@ var init_common3 = __esm({
25771
25842
  }
25772
25843
  };
25773
25844
  __publicField(SQLiteColumnBuilder, _a166, "SQLiteColumnBuilder");
25774
- SQLiteColumn = class extends (_b115 = Column, _a167 = entityKind, _b115) {
25845
+ SQLiteColumn = class extends (_b115 = Column2, _a167 = entityKind, _b115) {
25775
25846
  constructor(table4, config) {
25776
25847
  if (!config.uniqueName) {
25777
25848
  config.uniqueName = uniqueKeyName2(table4, [config.name]);
@@ -25784,10 +25855,10 @@ var init_common3 = __esm({
25784
25855
  }
25785
25856
  });
25786
25857
 
25787
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/blob.js
25858
+ // ../drizzle-orm/dist/sqlite-core/columns/blob.js
25788
25859
  var _a168, _b116, SQLiteBigIntBuilder, _a169, _b117, SQLiteBigInt, _a170, _b118, SQLiteBlobJsonBuilder, _a171, _b119, SQLiteBlobJson, _a172, _b120, SQLiteBlobBufferBuilder, _a173, _b121, SQLiteBlobBuffer;
25789
25860
  var init_blob = __esm({
25790
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/blob.js"() {
25861
+ "../drizzle-orm/dist/sqlite-core/columns/blob.js"() {
25791
25862
  "use strict";
25792
25863
  init_entity();
25793
25864
  init_common3();
@@ -25857,10 +25928,10 @@ var init_blob = __esm({
25857
25928
  }
25858
25929
  });
25859
25930
 
25860
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/custom.js
25931
+ // ../drizzle-orm/dist/sqlite-core/columns/custom.js
25861
25932
  var _a174, _b122, SQLiteCustomColumnBuilder, _a175, _b123, SQLiteCustomColumn;
25862
25933
  var init_custom2 = __esm({
25863
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/custom.js"() {
25934
+ "../drizzle-orm/dist/sqlite-core/columns/custom.js"() {
25864
25935
  "use strict";
25865
25936
  init_entity();
25866
25937
  init_common3();
@@ -25903,10 +25974,10 @@ var init_custom2 = __esm({
25903
25974
  }
25904
25975
  });
25905
25976
 
25906
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/integer.js
25977
+ // ../drizzle-orm/dist/sqlite-core/columns/integer.js
25907
25978
  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;
25908
25979
  var init_integer2 = __esm({
25909
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/integer.js"() {
25980
+ "../drizzle-orm/dist/sqlite-core/columns/integer.js"() {
25910
25981
  "use strict";
25911
25982
  init_entity();
25912
25983
  init_sql();
@@ -26020,10 +26091,10 @@ var init_integer2 = __esm({
26020
26091
  }
26021
26092
  });
26022
26093
 
26023
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/numeric.js
26094
+ // ../drizzle-orm/dist/sqlite-core/columns/numeric.js
26024
26095
  var _a184, _b132, SQLiteNumericBuilder, _a185, _b133, SQLiteNumeric;
26025
26096
  var init_numeric2 = __esm({
26026
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/numeric.js"() {
26097
+ "../drizzle-orm/dist/sqlite-core/columns/numeric.js"() {
26027
26098
  "use strict";
26028
26099
  init_entity();
26029
26100
  init_common3();
@@ -26049,10 +26120,10 @@ var init_numeric2 = __esm({
26049
26120
  }
26050
26121
  });
26051
26122
 
26052
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/real.js
26123
+ // ../drizzle-orm/dist/sqlite-core/columns/real.js
26053
26124
  var _a186, _b134, SQLiteRealBuilder, _a187, _b135, SQLiteReal;
26054
26125
  var init_real2 = __esm({
26055
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/real.js"() {
26126
+ "../drizzle-orm/dist/sqlite-core/columns/real.js"() {
26056
26127
  "use strict";
26057
26128
  init_entity();
26058
26129
  init_common3();
@@ -26075,10 +26146,10 @@ var init_real2 = __esm({
26075
26146
  }
26076
26147
  });
26077
26148
 
26078
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/text.js
26149
+ // ../drizzle-orm/dist/sqlite-core/columns/text.js
26079
26150
  var _a188, _b136, SQLiteTextBuilder, _a189, _b137, SQLiteText, _a190, _b138, SQLiteTextJsonBuilder, _a191, _b139, SQLiteTextJson;
26080
26151
  var init_text2 = __esm({
26081
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/text.js"() {
26152
+ "../drizzle-orm/dist/sqlite-core/columns/text.js"() {
26082
26153
  "use strict";
26083
26154
  init_entity();
26084
26155
  init_common3();
@@ -26133,9 +26204,9 @@ var init_text2 = __esm({
26133
26204
  }
26134
26205
  });
26135
26206
 
26136
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/index.js
26207
+ // ../drizzle-orm/dist/sqlite-core/columns/index.js
26137
26208
  var init_columns2 = __esm({
26138
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/columns/index.js"() {
26209
+ "../drizzle-orm/dist/sqlite-core/columns/index.js"() {
26139
26210
  "use strict";
26140
26211
  init_blob();
26141
26212
  init_common3();
@@ -26147,10 +26218,10 @@ var init_columns2 = __esm({
26147
26218
  }
26148
26219
  });
26149
26220
 
26150
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/delete.js
26221
+ // ../drizzle-orm/dist/sqlite-core/query-builders/delete.js
26151
26222
  var _a192, _b140, SQLiteDeleteBase;
26152
26223
  var init_delete2 = __esm({
26153
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/delete.js"() {
26224
+ "../drizzle-orm/dist/sqlite-core/query-builders/delete.js"() {
26154
26225
  "use strict";
26155
26226
  init_entity();
26156
26227
  init_query_promise();
@@ -26246,10 +26317,10 @@ var init_delete2 = __esm({
26246
26317
  }
26247
26318
  });
26248
26319
 
26249
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/insert.js
26320
+ // ../drizzle-orm/dist/sqlite-core/query-builders/insert.js
26250
26321
  var _a193, SQLiteInsertBuilder, _a194, _b141, SQLiteInsertBase;
26251
26322
  var init_insert2 = __esm({
26252
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/insert.js"() {
26323
+ "../drizzle-orm/dist/sqlite-core/query-builders/insert.js"() {
26253
26324
  "use strict";
26254
26325
  init_entity();
26255
26326
  init_query_promise();
@@ -26272,7 +26343,7 @@ var init_insert2 = __esm({
26272
26343
  }
26273
26344
  const mappedValues = values.map((entry) => {
26274
26345
  const result = {};
26275
- const cols = this.table[Table.Symbol.Columns];
26346
+ const cols = this.table[Table2.Symbol.Columns];
26276
26347
  for (const colKey of Object.keys(entry)) {
26277
26348
  const colValue = entry[colKey];
26278
26349
  result[colKey] = is(colValue, SQL) ? colValue : new Param(colValue, cols[colKey]);
@@ -26414,10 +26485,10 @@ var init_insert2 = __esm({
26414
26485
  }
26415
26486
  });
26416
26487
 
26417
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/view-base.js
26488
+ // ../drizzle-orm/dist/sqlite-core/view-base.js
26418
26489
  var _a195, _b142, SQLiteViewBase;
26419
26490
  var init_view_base2 = __esm({
26420
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/view-base.js"() {
26491
+ "../drizzle-orm/dist/sqlite-core/view-base.js"() {
26421
26492
  "use strict";
26422
26493
  init_entity();
26423
26494
  init_sql();
@@ -26427,10 +26498,10 @@ var init_view_base2 = __esm({
26427
26498
  }
26428
26499
  });
26429
26500
 
26430
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/dialect.js
26501
+ // ../drizzle-orm/dist/sqlite-core/dialect.js
26431
26502
  var _a196, SQLiteDialect, _a197, _b143, SQLiteSyncDialect, _a198, _b144, SQLiteAsyncDialect;
26432
26503
  var init_dialect2 = __esm({
26433
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/dialect.js"() {
26504
+ "../drizzle-orm/dist/sqlite-core/dialect.js"() {
26434
26505
  "use strict";
26435
26506
  init_alias();
26436
26507
  init_column();
@@ -26477,7 +26548,7 @@ var init_dialect2 = __esm({
26477
26548
  return sql`${withSql}delete from ${table4}${whereSql}${returningSql}`;
26478
26549
  }
26479
26550
  buildUpdateSet(table4, set) {
26480
- const tableColumns = table4[Table.Symbol.Columns];
26551
+ const tableColumns = table4[Table2.Symbol.Columns];
26481
26552
  const columnNames = Object.keys(tableColumns).filter(
26482
26553
  (colName) => set[colName] !== void 0 || tableColumns[colName]?.onUpdateFn !== void 0
26483
26554
  );
@@ -26522,7 +26593,7 @@ var init_dialect2 = __esm({
26522
26593
  chunk.push(
26523
26594
  new SQL(
26524
26595
  query.queryChunks.map((c) => {
26525
- if (is(c, Column)) {
26596
+ if (is(c, Column2)) {
26526
26597
  return sql.identifier(c.name);
26527
26598
  }
26528
26599
  return c;
@@ -26535,8 +26606,8 @@ var init_dialect2 = __esm({
26535
26606
  if (is(field, SQL.Aliased)) {
26536
26607
  chunk.push(sql` as ${sql.identifier(field.fieldAlias)}`);
26537
26608
  }
26538
- } else if (is(field, Column)) {
26539
- const tableName = field.table[Table.Symbol.Name];
26609
+ } else if (is(field, Column2)) {
26610
+ const tableName = field.table[Table2.Symbol.Name];
26540
26611
  const columnName = field.name;
26541
26612
  if (isSingleTable) {
26542
26613
  chunk.push(sql.identifier(columnName));
@@ -26568,8 +26639,8 @@ var init_dialect2 = __esm({
26568
26639
  }) {
26569
26640
  const fieldsList = fieldsFlat ?? orderSelectedFields(fields);
26570
26641
  for (const f of fieldsList) {
26571
- if (is(f.field, Column) && getTableName(f.field.table) !== (is(table4, Subquery) ? table4._.alias : is(table4, SQLiteViewBase) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : getTableName(table4)) && !((table22) => joins?.some(
26572
- ({ alias }) => alias === (table22[Table.Symbol.IsAlias] ? getTableName(table22) : table22[Table.Symbol.BaseName])
26642
+ if (is(f.field, Column2) && getTableName(f.field.table) !== (is(table4, Subquery) ? table4._.alias : is(table4, SQLiteViewBase) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : getTableName(table4)) && !((table22) => joins?.some(
26643
+ ({ alias }) => alias === (table22[Table2.Symbol.IsAlias] ? getTableName(table22) : table22[Table2.Symbol.BaseName])
26573
26644
  ))(f.field.table)) {
26574
26645
  const tableName = getTableName(f.field.table);
26575
26646
  throw new Error(
@@ -26582,8 +26653,8 @@ var init_dialect2 = __esm({
26582
26653
  const distinctSql = distinct ? sql` distinct` : void 0;
26583
26654
  const selection = this.buildSelection(fieldsList, { isSingleTable });
26584
26655
  const tableSql = (() => {
26585
- if (is(table4, Table) && table4[Table.Symbol.OriginalName] !== table4[Table.Symbol.Name]) {
26586
- return sql`${sql.identifier(table4[Table.Symbol.OriginalName])} ${sql.identifier(table4[Table.Symbol.Name])}`;
26656
+ if (is(table4, Table2) && table4[Table2.Symbol.OriginalName] !== table4[Table2.Symbol.Name]) {
26657
+ return sql`${sql.identifier(table4[Table2.Symbol.OriginalName])} ${sql.identifier(table4[Table2.Symbol.Name])}`;
26587
26658
  }
26588
26659
  return table4;
26589
26660
  })();
@@ -26689,7 +26760,7 @@ var init_dialect2 = __esm({
26689
26760
  }
26690
26761
  buildInsertQuery({ table: table4, values, onConflict, returning, withList }) {
26691
26762
  const valuesSqlList = [];
26692
- const columns = table4[Table.Symbol.Columns];
26763
+ const columns = table4[Table2.Symbol.Columns];
26693
26764
  const colEntries = Object.entries(columns).filter(
26694
26765
  ([_2, col]) => !col.shouldDisableInsert()
26695
26766
  );
@@ -26810,7 +26881,7 @@ var init_dialect2 = __esm({
26810
26881
  selection.push({
26811
26882
  dbKey: is(value, SQL.Aliased) ? value.fieldAlias : tableConfig.columns[tsKey].name,
26812
26883
  tsKey,
26813
- field: is(value, Column) ? aliasedTableColumn(value, tableAlias) : value,
26884
+ field: is(value, Column2) ? aliasedTableColumn(value, tableAlias) : value,
26814
26885
  relationTableTsKey: void 0,
26815
26886
  isJson: false,
26816
26887
  selection: []
@@ -26821,7 +26892,7 @@ var init_dialect2 = __esm({
26821
26892
  orderByOrig = [orderByOrig];
26822
26893
  }
26823
26894
  orderBy = orderByOrig.map((orderByValue) => {
26824
- if (is(orderByValue, Column)) {
26895
+ if (is(orderByValue, Column2)) {
26825
26896
  return aliasedTableColumn(orderByValue, tableAlias);
26826
26897
  }
26827
26898
  return mapColumnsInSQLToAlias(orderByValue, tableAlias);
@@ -26921,7 +26992,7 @@ var init_dialect2 = __esm({
26921
26992
  fields: {},
26922
26993
  fieldsFlat: nestedSelection.map(({ field: field2 }) => ({
26923
26994
  path: [],
26924
- field: is(field2, Column) ? aliasedTableColumn(field2, tableAlias) : field2
26995
+ field: is(field2, Column2) ? aliasedTableColumn(field2, tableAlias) : field2
26925
26996
  })),
26926
26997
  joins,
26927
26998
  where,
@@ -26936,7 +27007,7 @@ var init_dialect2 = __esm({
26936
27007
  fields: {},
26937
27008
  fieldsFlat: selection.map(({ field }) => ({
26938
27009
  path: [],
26939
- field: is(field, Column) ? aliasedTableColumn(field, tableAlias) : field
27010
+ field: is(field, Column2) ? aliasedTableColumn(field, tableAlias) : field
26940
27011
  })),
26941
27012
  joins,
26942
27013
  where,
@@ -27022,7 +27093,7 @@ var init_dialect2 = __esm({
27022
27093
  }
27023
27094
  });
27024
27095
 
27025
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/select.js
27096
+ // ../drizzle-orm/dist/sqlite-core/query-builders/select.js
27026
27097
  function createSetOperator2(type, isAll) {
27027
27098
  return (leftSelect, rightSelect, ...restSelects) => {
27028
27099
  const setOperators = [rightSelect, ...restSelects].map((select) => ({
@@ -27042,7 +27113,7 @@ function createSetOperator2(type, isAll) {
27042
27113
  }
27043
27114
  var _a199, SQLiteSelectBuilder, _a200, _b145, SQLiteSelectQueryBuilderBase, _a201, _b146, SQLiteSelectBase, getSQLiteSetOperators, union2, unionAll2, intersect2, except2;
27044
27115
  var init_select3 = __esm({
27045
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/select.js"() {
27116
+ "../drizzle-orm/dist/sqlite-core/query-builders/select.js"() {
27046
27117
  "use strict";
27047
27118
  init_entity();
27048
27119
  init_query_builder();
@@ -27353,7 +27424,7 @@ var init_select3 = __esm({
27353
27424
  };
27354
27425
  }
27355
27426
  if (typeof tableName === "string" && !is(table4, SQL)) {
27356
- const selection = is(table4, Subquery) ? table4._.selectedFields : is(table4, View) ? table4[ViewBaseConfig].selectedFields : table4[Table.Symbol.Columns];
27427
+ const selection = is(table4, Subquery) ? table4._.selectedFields : is(table4, View) ? table4[ViewBaseConfig].selectedFields : table4[Table2.Symbol.Columns];
27357
27428
  this.config.fields[tableName] = selection;
27358
27429
  }
27359
27430
  }
@@ -27655,10 +27726,10 @@ var init_select3 = __esm({
27655
27726
  }
27656
27727
  });
27657
27728
 
27658
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.js
27729
+ // ../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js
27659
27730
  var _a202, QueryBuilder2;
27660
27731
  var init_query_builder3 = __esm({
27661
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/query-builder.js"() {
27732
+ "../drizzle-orm/dist/sqlite-core/query-builders/query-builder.js"() {
27662
27733
  "use strict";
27663
27734
  init_entity();
27664
27735
  init_selection_proxy();
@@ -27728,17 +27799,17 @@ var init_query_builder3 = __esm({
27728
27799
  }
27729
27800
  });
27730
27801
 
27731
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.js
27802
+ // ../drizzle-orm/dist/sqlite-core/query-builders/select.types.js
27732
27803
  var init_select_types2 = __esm({
27733
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/select.types.js"() {
27804
+ "../drizzle-orm/dist/sqlite-core/query-builders/select.types.js"() {
27734
27805
  "use strict";
27735
27806
  }
27736
27807
  });
27737
27808
 
27738
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/update.js
27809
+ // ../drizzle-orm/dist/sqlite-core/query-builders/update.js
27739
27810
  var _a203, SQLiteUpdateBuilder, _a204, _b147, SQLiteUpdateBase;
27740
27811
  var init_update2 = __esm({
27741
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/update.js"() {
27812
+ "../drizzle-orm/dist/sqlite-core/query-builders/update.js"() {
27742
27813
  "use strict";
27743
27814
  init_entity();
27744
27815
  init_query_promise();
@@ -27856,9 +27927,9 @@ var init_update2 = __esm({
27856
27927
  }
27857
27928
  });
27858
27929
 
27859
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/index.js
27930
+ // ../drizzle-orm/dist/sqlite-core/query-builders/index.js
27860
27931
  var init_query_builders2 = __esm({
27861
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/index.js"() {
27932
+ "../drizzle-orm/dist/sqlite-core/query-builders/index.js"() {
27862
27933
  "use strict";
27863
27934
  init_delete2();
27864
27935
  init_insert2();
@@ -27869,10 +27940,10 @@ var init_query_builders2 = __esm({
27869
27940
  }
27870
27941
  });
27871
27942
 
27872
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/query.js
27943
+ // ../drizzle-orm/dist/sqlite-core/query-builders/query.js
27873
27944
  var _a205, RelationalQueryBuilder2, _a206, _b148, SQLiteRelationalQuery, _a207, _b149, SQLiteSyncRelationalQuery;
27874
27945
  var init_query2 = __esm({
27875
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/query.js"() {
27946
+ "../drizzle-orm/dist/sqlite-core/query-builders/query.js"() {
27876
27947
  "use strict";
27877
27948
  init_entity();
27878
27949
  init_query_promise();
@@ -28023,10 +28094,10 @@ var init_query2 = __esm({
28023
28094
  }
28024
28095
  });
28025
28096
 
28026
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/raw.js
28097
+ // ../drizzle-orm/dist/sqlite-core/query-builders/raw.js
28027
28098
  var _a208, _b150, SQLiteRaw;
28028
28099
  var init_raw2 = __esm({
28029
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/query-builders/raw.js"() {
28100
+ "../drizzle-orm/dist/sqlite-core/query-builders/raw.js"() {
28030
28101
  "use strict";
28031
28102
  init_entity();
28032
28103
  init_query_promise();
@@ -28059,10 +28130,10 @@ var init_raw2 = __esm({
28059
28130
  }
28060
28131
  });
28061
28132
 
28062
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/db.js
28133
+ // ../drizzle-orm/dist/sqlite-core/db.js
28063
28134
  var _a209, BaseSQLiteDatabase;
28064
28135
  var init_db2 = __esm({
28065
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/db.js"() {
28136
+ "../drizzle-orm/dist/sqlite-core/db.js"() {
28066
28137
  "use strict";
28067
28138
  init_entity();
28068
28139
  init_selection_proxy();
@@ -28352,10 +28423,10 @@ var init_db2 = __esm({
28352
28423
  }
28353
28424
  });
28354
28425
 
28355
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/indexes.js
28426
+ // ../drizzle-orm/dist/sqlite-core/indexes.js
28356
28427
  var _a210, IndexBuilderOn2, _a211, IndexBuilder2, _a212, Index4;
28357
28428
  var init_indexes2 = __esm({
28358
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/indexes.js"() {
28429
+ "../drizzle-orm/dist/sqlite-core/indexes.js"() {
28359
28430
  "use strict";
28360
28431
  init_entity();
28361
28432
  _a210 = entityKind;
@@ -28405,10 +28476,10 @@ var init_indexes2 = __esm({
28405
28476
  }
28406
28477
  });
28407
28478
 
28408
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/primary-keys.js
28479
+ // ../drizzle-orm/dist/sqlite-core/primary-keys.js
28409
28480
  var _a213, PrimaryKeyBuilder2, _a214, PrimaryKey2;
28410
28481
  var init_primary_keys2 = __esm({
28411
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/primary-keys.js"() {
28482
+ "../drizzle-orm/dist/sqlite-core/primary-keys.js"() {
28412
28483
  "use strict";
28413
28484
  init_entity();
28414
28485
  init_table3();
@@ -28445,10 +28516,10 @@ var init_primary_keys2 = __esm({
28445
28516
  }
28446
28517
  });
28447
28518
 
28448
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/session.js
28519
+ // ../drizzle-orm/dist/sqlite-core/session.js
28449
28520
  var _a215, _b151, ExecuteResultSync, _a216, SQLitePreparedQuery, _a217, SQLiteSession, _a218, _b152, SQLiteTransaction;
28450
28521
  var init_session2 = __esm({
28451
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/session.js"() {
28522
+ "../drizzle-orm/dist/sqlite-core/session.js"() {
28452
28523
  "use strict";
28453
28524
  init_entity();
28454
28525
  init_errors();
@@ -28566,23 +28637,23 @@ var init_session2 = __esm({
28566
28637
  }
28567
28638
  });
28568
28639
 
28569
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/subquery.js
28640
+ // ../drizzle-orm/dist/sqlite-core/subquery.js
28570
28641
  var init_subquery3 = __esm({
28571
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/subquery.js"() {
28642
+ "../drizzle-orm/dist/sqlite-core/subquery.js"() {
28572
28643
  "use strict";
28573
28644
  }
28574
28645
  });
28575
28646
 
28576
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/view-common.js
28647
+ // ../drizzle-orm/dist/sqlite-core/view-common.js
28577
28648
  var SQLiteViewConfig;
28578
28649
  var init_view_common3 = __esm({
28579
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/view-common.js"() {
28650
+ "../drizzle-orm/dist/sqlite-core/view-common.js"() {
28580
28651
  "use strict";
28581
28652
  SQLiteViewConfig = Symbol.for("drizzle:SQLiteViewConfig");
28582
28653
  }
28583
28654
  });
28584
28655
 
28585
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/utils.js
28656
+ // ../drizzle-orm/dist/sqlite-core/utils.js
28586
28657
  function getTableConfig2(table4) {
28587
28658
  const columns = Object.values(table4[SQLiteTable.Symbol.Columns]);
28588
28659
  const indexes = [];
@@ -28590,7 +28661,7 @@ function getTableConfig2(table4) {
28590
28661
  const primaryKeys = [];
28591
28662
  const uniqueConstraints = [];
28592
28663
  const foreignKeys = Object.values(table4[SQLiteTable.Symbol.InlineForeignKeys]);
28593
- const name2 = table4[Table.Symbol.Name];
28664
+ const name2 = table4[Table2.Symbol.Name];
28594
28665
  const extraConfigBuilder = table4[SQLiteTable.Symbol.ExtraConfigBuilder];
28595
28666
  if (extraConfigBuilder !== void 0) {
28596
28667
  const extraConfig = extraConfigBuilder(table4[SQLiteTable.Symbol.Columns]);
@@ -28619,7 +28690,7 @@ function getTableConfig2(table4) {
28619
28690
  };
28620
28691
  }
28621
28692
  var init_utils6 = __esm({
28622
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/utils.js"() {
28693
+ "../drizzle-orm/dist/sqlite-core/utils.js"() {
28623
28694
  "use strict";
28624
28695
  init_entity();
28625
28696
  init_table();
@@ -28632,10 +28703,10 @@ var init_utils6 = __esm({
28632
28703
  }
28633
28704
  });
28634
28705
 
28635
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/view.js
28706
+ // ../drizzle-orm/dist/sqlite-core/view.js
28636
28707
  var _a219, ViewBuilderCore, _a220, _b153, ViewBuilder2, _a221, _b154, ManualViewBuilder2, _a222, _b155, _c6, SQLiteView;
28637
28708
  var init_view2 = __esm({
28638
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/view.js"() {
28709
+ "../drizzle-orm/dist/sqlite-core/view.js"() {
28639
28710
  "use strict";
28640
28711
  init_entity();
28641
28712
  init_selection_proxy();
@@ -28737,9 +28808,9 @@ var init_view2 = __esm({
28737
28808
  }
28738
28809
  });
28739
28810
 
28740
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/index.js
28811
+ // ../drizzle-orm/dist/sqlite-core/index.js
28741
28812
  var init_sqlite_core = __esm({
28742
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/sqlite-core/index.js"() {
28813
+ "../drizzle-orm/dist/sqlite-core/index.js"() {
28743
28814
  "use strict";
28744
28815
  init_alias3();
28745
28816
  init_checks2();
@@ -28826,7 +28897,7 @@ var init_sqliteSerializer = __esm({
28826
28897
  "src/serializer/sqliteSerializer.ts"() {
28827
28898
  "use strict";
28828
28899
  init_source();
28829
- init_drizzle_orm();
28900
+ init_dist();
28830
28901
  init_sqlite_core();
28831
28902
  init_outputs();
28832
28903
  init_serializer();
@@ -29239,17 +29310,17 @@ WHERE
29239
29310
  }
29240
29311
  });
29241
29312
 
29242
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/alias.js
29313
+ // ../drizzle-orm/dist/mysql-core/alias.js
29243
29314
  var init_alias4 = __esm({
29244
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/alias.js"() {
29315
+ "../drizzle-orm/dist/mysql-core/alias.js"() {
29245
29316
  "use strict";
29246
29317
  }
29247
29318
  });
29248
29319
 
29249
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/checks.js
29320
+ // ../drizzle-orm/dist/mysql-core/checks.js
29250
29321
  var _a223, CheckBuilder3, _a224, Check3;
29251
29322
  var init_checks3 = __esm({
29252
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/checks.js"() {
29323
+ "../drizzle-orm/dist/mysql-core/checks.js"() {
29253
29324
  "use strict";
29254
29325
  init_entity();
29255
29326
  _a223 = entityKind;
@@ -29279,7 +29350,7 @@ var init_checks3 = __esm({
29279
29350
  }
29280
29351
  });
29281
29352
 
29282
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/table.js
29353
+ // ../drizzle-orm/dist/mysql-core/table.js
29283
29354
  function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = name2) {
29284
29355
  const rawTable = new MySqlTable(name2, schema4, baseName);
29285
29356
  const builtColumns = Object.fromEntries(
@@ -29291,8 +29362,8 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
29291
29362
  })
29292
29363
  );
29293
29364
  const table4 = Object.assign(rawTable, builtColumns);
29294
- table4[Table.Symbol.Columns] = builtColumns;
29295
- table4[Table.Symbol.ExtraConfigColumns] = builtColumns;
29365
+ table4[Table2.Symbol.Columns] = builtColumns;
29366
+ table4[Table2.Symbol.ExtraConfigColumns] = builtColumns;
29296
29367
  if (extraConfig) {
29297
29368
  table4[MySqlTable.Symbol.ExtraConfigBuilder] = extraConfig;
29298
29369
  }
@@ -29300,12 +29371,12 @@ function mysqlTableWithSchema(name2, columns, extraConfig, schema4, baseName = n
29300
29371
  }
29301
29372
  var InlineForeignKeys3, _a225, _b156, _c7, _d4, _e3, MySqlTable, mysqlTable;
29302
29373
  var init_table4 = __esm({
29303
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/table.js"() {
29374
+ "../drizzle-orm/dist/mysql-core/table.js"() {
29304
29375
  "use strict";
29305
29376
  init_entity();
29306
29377
  init_table();
29307
29378
  InlineForeignKeys3 = Symbol.for("drizzle:MySqlInlineForeignKeys");
29308
- MySqlTable = class extends (_e3 = Table, _d4 = entityKind, _c7 = Table.Symbol.Columns, _b156 = InlineForeignKeys3, _a225 = Table.Symbol.ExtraConfigBuilder, _e3) {
29379
+ MySqlTable = class extends (_e3 = Table2, _d4 = entityKind, _c7 = Table2.Symbol.Columns, _b156 = InlineForeignKeys3, _a225 = Table2.Symbol.ExtraConfigBuilder, _e3) {
29309
29380
  constructor() {
29310
29381
  super(...arguments);
29311
29382
  /** @internal */
@@ -29318,7 +29389,7 @@ var init_table4 = __esm({
29318
29389
  };
29319
29390
  __publicField(MySqlTable, _d4, "MySqlTable");
29320
29391
  /** @internal */
29321
- __publicField(MySqlTable, "Symbol", Object.assign({}, Table.Symbol, {
29392
+ __publicField(MySqlTable, "Symbol", Object.assign({}, Table2.Symbol, {
29322
29393
  InlineForeignKeys: InlineForeignKeys3
29323
29394
  }));
29324
29395
  mysqlTable = (name2, columns, extraConfig) => {
@@ -29327,10 +29398,10 @@ var init_table4 = __esm({
29327
29398
  }
29328
29399
  });
29329
29400
 
29330
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/foreign-keys.js
29401
+ // ../drizzle-orm/dist/mysql-core/foreign-keys.js
29331
29402
  var _a226, ForeignKeyBuilder3, _a227, ForeignKey3;
29332
29403
  var init_foreign_keys3 = __esm({
29333
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/foreign-keys.js"() {
29404
+ "../drizzle-orm/dist/mysql-core/foreign-keys.js"() {
29334
29405
  "use strict";
29335
29406
  init_entity();
29336
29407
  init_table4();
@@ -29394,13 +29465,13 @@ var init_foreign_keys3 = __esm({
29394
29465
  }
29395
29466
  });
29396
29467
 
29397
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/unique-constraint.js
29468
+ // ../drizzle-orm/dist/mysql-core/unique-constraint.js
29398
29469
  function uniqueKeyName3(table4, columns) {
29399
29470
  return `${table4[MySqlTable.Symbol.Name]}_${columns.join("_")}_unique`;
29400
29471
  }
29401
29472
  var _a228, UniqueConstraintBuilder3, _a229, UniqueOnConstraintBuilder3, _a230, UniqueConstraint3;
29402
29473
  var init_unique_constraint3 = __esm({
29403
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/unique-constraint.js"() {
29474
+ "../drizzle-orm/dist/mysql-core/unique-constraint.js"() {
29404
29475
  "use strict";
29405
29476
  init_entity();
29406
29477
  init_table4();
@@ -29448,10 +29519,10 @@ var init_unique_constraint3 = __esm({
29448
29519
  }
29449
29520
  });
29450
29521
 
29451
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/common.js
29522
+ // ../drizzle-orm/dist/mysql-core/columns/common.js
29452
29523
  var _a231, _b157, MySqlColumnBuilder, _a232, _b158, MySqlColumn, _a233, _b159, MySqlColumnBuilderWithAutoIncrement, _a234, _b160, MySqlColumnWithAutoIncrement;
29453
29524
  var init_common4 = __esm({
29454
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/common.js"() {
29525
+ "../drizzle-orm/dist/mysql-core/columns/common.js"() {
29455
29526
  "use strict";
29456
29527
  init_column_builder();
29457
29528
  init_column();
@@ -29500,7 +29571,7 @@ var init_common4 = __esm({
29500
29571
  }
29501
29572
  };
29502
29573
  __publicField(MySqlColumnBuilder, _a231, "MySqlColumnBuilder");
29503
- MySqlColumn = class extends (_b158 = Column, _a232 = entityKind, _b158) {
29574
+ MySqlColumn = class extends (_b158 = Column2, _a232 = entityKind, _b158) {
29504
29575
  constructor(table4, config) {
29505
29576
  if (!config.uniqueName) {
29506
29577
  config.uniqueName = uniqueKeyName3(table4, [config.name]);
@@ -29532,10 +29603,10 @@ var init_common4 = __esm({
29532
29603
  }
29533
29604
  });
29534
29605
 
29535
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/bigint.js
29606
+ // ../drizzle-orm/dist/mysql-core/columns/bigint.js
29536
29607
  var _a235, _b161, MySqlBigInt53Builder, _a236, _b162, MySqlBigInt53, _a237, _b163, MySqlBigInt64Builder, _a238, _b164, MySqlBigInt64;
29537
29608
  var init_bigint2 = __esm({
29538
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/bigint.js"() {
29609
+ "../drizzle-orm/dist/mysql-core/columns/bigint.js"() {
29539
29610
  "use strict";
29540
29611
  init_entity();
29541
29612
  init_common4();
@@ -29592,10 +29663,10 @@ var init_bigint2 = __esm({
29592
29663
  }
29593
29664
  });
29594
29665
 
29595
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/binary.js
29666
+ // ../drizzle-orm/dist/mysql-core/columns/binary.js
29596
29667
  var _a239, _b165, MySqlBinaryBuilder, _a240, _b166, MySqlBinary;
29597
29668
  var init_binary = __esm({
29598
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/binary.js"() {
29669
+ "../drizzle-orm/dist/mysql-core/columns/binary.js"() {
29599
29670
  "use strict";
29600
29671
  init_entity();
29601
29672
  init_common4();
@@ -29623,10 +29694,10 @@ var init_binary = __esm({
29623
29694
  }
29624
29695
  });
29625
29696
 
29626
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/boolean.js
29697
+ // ../drizzle-orm/dist/mysql-core/columns/boolean.js
29627
29698
  var _a241, _b167, MySqlBooleanBuilder, _a242, _b168, MySqlBoolean;
29628
29699
  var init_boolean2 = __esm({
29629
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/boolean.js"() {
29700
+ "../drizzle-orm/dist/mysql-core/columns/boolean.js"() {
29630
29701
  "use strict";
29631
29702
  init_entity();
29632
29703
  init_common4();
@@ -29658,10 +29729,10 @@ var init_boolean2 = __esm({
29658
29729
  }
29659
29730
  });
29660
29731
 
29661
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/char.js
29732
+ // ../drizzle-orm/dist/mysql-core/columns/char.js
29662
29733
  var _a243, _b169, MySqlCharBuilder, _a244, _b170, MySqlChar;
29663
29734
  var init_char2 = __esm({
29664
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/char.js"() {
29735
+ "../drizzle-orm/dist/mysql-core/columns/char.js"() {
29665
29736
  "use strict";
29666
29737
  init_entity();
29667
29738
  init_common4();
@@ -29694,10 +29765,10 @@ var init_char2 = __esm({
29694
29765
  }
29695
29766
  });
29696
29767
 
29697
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/custom.js
29768
+ // ../drizzle-orm/dist/mysql-core/columns/custom.js
29698
29769
  var _a245, _b171, MySqlCustomColumnBuilder, _a246, _b172, MySqlCustomColumn;
29699
29770
  var init_custom3 = __esm({
29700
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/custom.js"() {
29771
+ "../drizzle-orm/dist/mysql-core/columns/custom.js"() {
29701
29772
  "use strict";
29702
29773
  init_entity();
29703
29774
  init_common4();
@@ -29740,10 +29811,10 @@ var init_custom3 = __esm({
29740
29811
  }
29741
29812
  });
29742
29813
 
29743
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/date.js
29814
+ // ../drizzle-orm/dist/mysql-core/columns/date.js
29744
29815
  var _a247, _b173, MySqlDateBuilder, _a248, _b174, MySqlDate, _a249, _b175, MySqlDateStringBuilder, _a250, _b176, MySqlDateString;
29745
29816
  var init_date2 = __esm({
29746
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/date.js"() {
29817
+ "../drizzle-orm/dist/mysql-core/columns/date.js"() {
29747
29818
  "use strict";
29748
29819
  init_entity();
29749
29820
  init_common4();
@@ -29794,10 +29865,10 @@ var init_date2 = __esm({
29794
29865
  }
29795
29866
  });
29796
29867
 
29797
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/datetime.js
29868
+ // ../drizzle-orm/dist/mysql-core/columns/datetime.js
29798
29869
  var _a251, _b177, MySqlDateTimeBuilder, _a252, _b178, MySqlDateTime, _a253, _b179, MySqlDateTimeStringBuilder, _a254, _b180, MySqlDateTimeString;
29799
29870
  var init_datetime = __esm({
29800
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/datetime.js"() {
29871
+ "../drizzle-orm/dist/mysql-core/columns/datetime.js"() {
29801
29872
  "use strict";
29802
29873
  init_entity();
29803
29874
  init_common4();
@@ -29862,10 +29933,10 @@ var init_datetime = __esm({
29862
29933
  }
29863
29934
  });
29864
29935
 
29865
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/decimal.js
29936
+ // ../drizzle-orm/dist/mysql-core/columns/decimal.js
29866
29937
  var _a255, _b181, MySqlDecimalBuilder, _a256, _b182, MySqlDecimal;
29867
29938
  var init_decimal = __esm({
29868
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/decimal.js"() {
29939
+ "../drizzle-orm/dist/mysql-core/columns/decimal.js"() {
29869
29940
  "use strict";
29870
29941
  init_entity();
29871
29942
  init_common4();
@@ -29904,10 +29975,10 @@ var init_decimal = __esm({
29904
29975
  }
29905
29976
  });
29906
29977
 
29907
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/double.js
29978
+ // ../drizzle-orm/dist/mysql-core/columns/double.js
29908
29979
  var _a257, _b183, MySqlDoubleBuilder, _a258, _b184, MySqlDouble;
29909
29980
  var init_double = __esm({
29910
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/double.js"() {
29981
+ "../drizzle-orm/dist/mysql-core/columns/double.js"() {
29911
29982
  "use strict";
29912
29983
  init_entity();
29913
29984
  init_common4();
@@ -29943,10 +30014,10 @@ var init_double = __esm({
29943
30014
  }
29944
30015
  });
29945
30016
 
29946
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/enum.js
30017
+ // ../drizzle-orm/dist/mysql-core/columns/enum.js
29947
30018
  var _a259, _b185, MySqlEnumColumnBuilder, _a260, _b186, MySqlEnumColumn;
29948
30019
  var init_enum2 = __esm({
29949
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/enum.js"() {
30020
+ "../drizzle-orm/dist/mysql-core/columns/enum.js"() {
29950
30021
  "use strict";
29951
30022
  init_entity();
29952
30023
  init_common4();
@@ -29977,10 +30048,10 @@ var init_enum2 = __esm({
29977
30048
  }
29978
30049
  });
29979
30050
 
29980
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/float.js
30051
+ // ../drizzle-orm/dist/mysql-core/columns/float.js
29981
30052
  var _a261, _b187, MySqlFloatBuilder, _a262, _b188, MySqlFloat;
29982
30053
  var init_float = __esm({
29983
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/float.js"() {
30054
+ "../drizzle-orm/dist/mysql-core/columns/float.js"() {
29984
30055
  "use strict";
29985
30056
  init_entity();
29986
30057
  init_common4();
@@ -30003,10 +30074,10 @@ var init_float = __esm({
30003
30074
  }
30004
30075
  });
30005
30076
 
30006
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/int.js
30077
+ // ../drizzle-orm/dist/mysql-core/columns/int.js
30007
30078
  var _a263, _b189, MySqlIntBuilder, _a264, _b190, MySqlInt;
30008
30079
  var init_int = __esm({
30009
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/int.js"() {
30080
+ "../drizzle-orm/dist/mysql-core/columns/int.js"() {
30010
30081
  "use strict";
30011
30082
  init_entity();
30012
30083
  init_common4();
@@ -30036,10 +30107,10 @@ var init_int = __esm({
30036
30107
  }
30037
30108
  });
30038
30109
 
30039
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/json.js
30110
+ // ../drizzle-orm/dist/mysql-core/columns/json.js
30040
30111
  var _a265, _b191, MySqlJsonBuilder, _a266, _b192, MySqlJson;
30041
30112
  var init_json2 = __esm({
30042
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/json.js"() {
30113
+ "../drizzle-orm/dist/mysql-core/columns/json.js"() {
30043
30114
  "use strict";
30044
30115
  init_entity();
30045
30116
  init_common4();
@@ -30065,10 +30136,10 @@ var init_json2 = __esm({
30065
30136
  }
30066
30137
  });
30067
30138
 
30068
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/mediumint.js
30139
+ // ../drizzle-orm/dist/mysql-core/columns/mediumint.js
30069
30140
  var _a267, _b193, MySqlMediumIntBuilder, _a268, _b194, MySqlMediumInt;
30070
30141
  var init_mediumint = __esm({
30071
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/mediumint.js"() {
30142
+ "../drizzle-orm/dist/mysql-core/columns/mediumint.js"() {
30072
30143
  "use strict";
30073
30144
  init_entity();
30074
30145
  init_common4();
@@ -30101,10 +30172,10 @@ var init_mediumint = __esm({
30101
30172
  }
30102
30173
  });
30103
30174
 
30104
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/real.js
30175
+ // ../drizzle-orm/dist/mysql-core/columns/real.js
30105
30176
  var _a269, _b195, MySqlRealBuilder, _a270, _b196, MySqlReal;
30106
30177
  var init_real3 = __esm({
30107
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/real.js"() {
30178
+ "../drizzle-orm/dist/mysql-core/columns/real.js"() {
30108
30179
  "use strict";
30109
30180
  init_entity();
30110
30181
  init_common4();
@@ -30140,10 +30211,10 @@ var init_real3 = __esm({
30140
30211
  }
30141
30212
  });
30142
30213
 
30143
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/serial.js
30214
+ // ../drizzle-orm/dist/mysql-core/columns/serial.js
30144
30215
  var _a271, _b197, MySqlSerialBuilder, _a272, _b198, MySqlSerial;
30145
30216
  var init_serial2 = __esm({
30146
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/serial.js"() {
30217
+ "../drizzle-orm/dist/mysql-core/columns/serial.js"() {
30147
30218
  "use strict";
30148
30219
  init_entity();
30149
30220
  init_common4();
@@ -30174,10 +30245,10 @@ var init_serial2 = __esm({
30174
30245
  }
30175
30246
  });
30176
30247
 
30177
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/smallint.js
30248
+ // ../drizzle-orm/dist/mysql-core/columns/smallint.js
30178
30249
  var _a273, _b199, MySqlSmallIntBuilder, _a274, _b200, MySqlSmallInt;
30179
30250
  var init_smallint2 = __esm({
30180
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/smallint.js"() {
30251
+ "../drizzle-orm/dist/mysql-core/columns/smallint.js"() {
30181
30252
  "use strict";
30182
30253
  init_entity();
30183
30254
  init_common4();
@@ -30210,10 +30281,10 @@ var init_smallint2 = __esm({
30210
30281
  }
30211
30282
  });
30212
30283
 
30213
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/text.js
30284
+ // ../drizzle-orm/dist/mysql-core/columns/text.js
30214
30285
  var _a275, _b201, MySqlTextBuilder, _a276, _b202, MySqlText;
30215
30286
  var init_text3 = __esm({
30216
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/text.js"() {
30287
+ "../drizzle-orm/dist/mysql-core/columns/text.js"() {
30217
30288
  "use strict";
30218
30289
  init_entity();
30219
30290
  init_common4();
@@ -30243,10 +30314,10 @@ var init_text3 = __esm({
30243
30314
  }
30244
30315
  });
30245
30316
 
30246
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/time.js
30317
+ // ../drizzle-orm/dist/mysql-core/columns/time.js
30247
30318
  var _a277, _b203, MySqlTimeBuilder, _a278, _b204, MySqlTime;
30248
30319
  var init_time2 = __esm({
30249
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/time.js"() {
30320
+ "../drizzle-orm/dist/mysql-core/columns/time.js"() {
30250
30321
  "use strict";
30251
30322
  init_entity();
30252
30323
  init_common4();
@@ -30275,10 +30346,10 @@ var init_time2 = __esm({
30275
30346
  }
30276
30347
  });
30277
30348
 
30278
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/date.common.js
30349
+ // ../drizzle-orm/dist/mysql-core/columns/date.common.js
30279
30350
  var _a279, _b205, MySqlDateColumnBaseBuilder, _a280, _b206, MySqlDateBaseColumn;
30280
30351
  var init_date_common2 = __esm({
30281
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/date.common.js"() {
30352
+ "../drizzle-orm/dist/mysql-core/columns/date.common.js"() {
30282
30353
  "use strict";
30283
30354
  init_entity();
30284
30355
  init_sql();
@@ -30305,10 +30376,10 @@ var init_date_common2 = __esm({
30305
30376
  }
30306
30377
  });
30307
30378
 
30308
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/timestamp.js
30379
+ // ../drizzle-orm/dist/mysql-core/columns/timestamp.js
30309
30380
  var _a281, _b207, MySqlTimestampBuilder, _a282, _b208, MySqlTimestamp, _a283, _b209, MySqlTimestampStringBuilder, _a284, _b210, MySqlTimestampString;
30310
30381
  var init_timestamp2 = __esm({
30311
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/timestamp.js"() {
30382
+ "../drizzle-orm/dist/mysql-core/columns/timestamp.js"() {
30312
30383
  "use strict";
30313
30384
  init_entity();
30314
30385
  init_date_common2();
@@ -30371,10 +30442,10 @@ var init_timestamp2 = __esm({
30371
30442
  }
30372
30443
  });
30373
30444
 
30374
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/tinyint.js
30445
+ // ../drizzle-orm/dist/mysql-core/columns/tinyint.js
30375
30446
  var _a285, _b211, MySqlTinyIntBuilder, _a286, _b212, MySqlTinyInt;
30376
30447
  var init_tinyint = __esm({
30377
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/tinyint.js"() {
30448
+ "../drizzle-orm/dist/mysql-core/columns/tinyint.js"() {
30378
30449
  "use strict";
30379
30450
  init_entity();
30380
30451
  init_common4();
@@ -30407,10 +30478,10 @@ var init_tinyint = __esm({
30407
30478
  }
30408
30479
  });
30409
30480
 
30410
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/varbinary.js
30481
+ // ../drizzle-orm/dist/mysql-core/columns/varbinary.js
30411
30482
  var _a287, _b213, MySqlVarBinaryBuilder, _a288, _b214, MySqlVarBinary;
30412
30483
  var init_varbinary = __esm({
30413
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/varbinary.js"() {
30484
+ "../drizzle-orm/dist/mysql-core/columns/varbinary.js"() {
30414
30485
  "use strict";
30415
30486
  init_entity();
30416
30487
  init_common4();
@@ -30442,10 +30513,10 @@ var init_varbinary = __esm({
30442
30513
  }
30443
30514
  });
30444
30515
 
30445
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/varchar.js
30516
+ // ../drizzle-orm/dist/mysql-core/columns/varchar.js
30446
30517
  var _a289, _b215, MySqlVarCharBuilder, _a290, _b216, MySqlVarChar;
30447
30518
  var init_varchar2 = __esm({
30448
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/varchar.js"() {
30519
+ "../drizzle-orm/dist/mysql-core/columns/varchar.js"() {
30449
30520
  "use strict";
30450
30521
  init_entity();
30451
30522
  init_common4();
@@ -30479,10 +30550,10 @@ var init_varchar2 = __esm({
30479
30550
  }
30480
30551
  });
30481
30552
 
30482
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/year.js
30553
+ // ../drizzle-orm/dist/mysql-core/columns/year.js
30483
30554
  var _a291, _b217, MySqlYearBuilder, _a292, _b218, MySqlYear;
30484
30555
  var init_year = __esm({
30485
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/year.js"() {
30556
+ "../drizzle-orm/dist/mysql-core/columns/year.js"() {
30486
30557
  "use strict";
30487
30558
  init_entity();
30488
30559
  init_common4();
@@ -30505,9 +30576,9 @@ var init_year = __esm({
30505
30576
  }
30506
30577
  });
30507
30578
 
30508
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/index.js
30579
+ // ../drizzle-orm/dist/mysql-core/columns/index.js
30509
30580
  var init_columns3 = __esm({
30510
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/columns/index.js"() {
30581
+ "../drizzle-orm/dist/mysql-core/columns/index.js"() {
30511
30582
  "use strict";
30512
30583
  init_bigint2();
30513
30584
  init_binary();
@@ -30537,10 +30608,10 @@ var init_columns3 = __esm({
30537
30608
  }
30538
30609
  });
30539
30610
 
30540
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/delete.js
30611
+ // ../drizzle-orm/dist/mysql-core/query-builders/delete.js
30541
30612
  var _a293, _b219, MySqlDeleteBase;
30542
30613
  var init_delete3 = __esm({
30543
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/delete.js"() {
30614
+ "../drizzle-orm/dist/mysql-core/query-builders/delete.js"() {
30544
30615
  "use strict";
30545
30616
  init_entity();
30546
30617
  init_query_promise();
@@ -30618,10 +30689,10 @@ var init_delete3 = __esm({
30618
30689
  }
30619
30690
  });
30620
30691
 
30621
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/insert.js
30692
+ // ../drizzle-orm/dist/mysql-core/query-builders/insert.js
30622
30693
  var _a294, MySqlInsertBuilder, _a295, _b220, MySqlInsertBase;
30623
30694
  var init_insert3 = __esm({
30624
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/insert.js"() {
30695
+ "../drizzle-orm/dist/mysql-core/query-builders/insert.js"() {
30625
30696
  "use strict";
30626
30697
  init_entity();
30627
30698
  init_query_promise();
@@ -30647,7 +30718,7 @@ var init_insert3 = __esm({
30647
30718
  }
30648
30719
  const mappedValues = values.map((entry) => {
30649
30720
  const result = {};
30650
- const cols = this.table[Table.Symbol.Columns];
30721
+ const cols = this.table[Table2.Symbol.Columns];
30651
30722
  for (const colKey of Object.keys(entry)) {
30652
30723
  const colValue = entry[colKey];
30653
30724
  result[colKey] = is(colValue, SQL) ? colValue : new Param(colValue, cols[colKey]);
@@ -30709,12 +30780,12 @@ var init_insert3 = __esm({
30709
30780
  }
30710
30781
  $returningId() {
30711
30782
  const returning = [];
30712
- for (const [key, value] of Object.entries(this.config.table[Table.Symbol.Columns])) {
30783
+ for (const [key, value] of Object.entries(this.config.table[Table2.Symbol.Columns])) {
30713
30784
  if (value.primary) {
30714
30785
  returning.push({ field: value, path: [key] });
30715
30786
  }
30716
30787
  }
30717
- this.config.returning = orderSelectedFields(this.config.table[Table.Symbol.Columns]);
30788
+ this.config.returning = orderSelectedFields(this.config.table[Table2.Symbol.Columns]);
30718
30789
  return this;
30719
30790
  }
30720
30791
  /** @internal */
@@ -30743,10 +30814,10 @@ var init_insert3 = __esm({
30743
30814
  }
30744
30815
  });
30745
30816
 
30746
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/view-base.js
30817
+ // ../drizzle-orm/dist/mysql-core/view-base.js
30747
30818
  var _a296, _b221, MySqlViewBase;
30748
30819
  var init_view_base3 = __esm({
30749
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/view-base.js"() {
30820
+ "../drizzle-orm/dist/mysql-core/view-base.js"() {
30750
30821
  "use strict";
30751
30822
  init_entity();
30752
30823
  init_sql();
@@ -30756,10 +30827,10 @@ var init_view_base3 = __esm({
30756
30827
  }
30757
30828
  });
30758
30829
 
30759
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/dialect.js
30830
+ // ../drizzle-orm/dist/mysql-core/dialect.js
30760
30831
  var _a297, MySqlDialect;
30761
30832
  var init_dialect3 = __esm({
30762
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/dialect.js"() {
30833
+ "../drizzle-orm/dist/mysql-core/dialect.js"() {
30763
30834
  "use strict";
30764
30835
  init_alias();
30765
30836
  init_column();
@@ -30833,7 +30904,7 @@ var init_dialect3 = __esm({
30833
30904
  return sql`${withSql}delete from ${table4}${whereSql}${returningSql}`;
30834
30905
  }
30835
30906
  buildUpdateSet(table4, set) {
30836
- const tableColumns = table4[Table.Symbol.Columns];
30907
+ const tableColumns = table4[Table2.Symbol.Columns];
30837
30908
  const columnNames = Object.keys(tableColumns).filter(
30838
30909
  (colName) => set[colName] !== void 0 || tableColumns[colName]?.onUpdateFn !== void 0
30839
30910
  );
@@ -30891,7 +30962,7 @@ var init_dialect3 = __esm({
30891
30962
  if (is(field, SQL.Aliased)) {
30892
30963
  chunk.push(sql` as ${sql.identifier(field.fieldAlias)}`);
30893
30964
  }
30894
- } else if (is(field, Column)) {
30965
+ } else if (is(field, Column2)) {
30895
30966
  if (isSingleTable) {
30896
30967
  chunk.push(sql.identifier(field.name));
30897
30968
  } else {
@@ -30923,8 +30994,8 @@ var init_dialect3 = __esm({
30923
30994
  }) {
30924
30995
  const fieldsList = fieldsFlat ?? orderSelectedFields(fields);
30925
30996
  for (const f of fieldsList) {
30926
- if (is(f.field, Column) && getTableName(f.field.table) !== (is(table4, Subquery) ? table4._.alias : is(table4, MySqlViewBase) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : getTableName(table4)) && !((table22) => joins?.some(
30927
- ({ alias }) => alias === (table22[Table.Symbol.IsAlias] ? getTableName(table22) : table22[Table.Symbol.BaseName])
30997
+ if (is(f.field, Column2) && getTableName(f.field.table) !== (is(table4, Subquery) ? table4._.alias : is(table4, MySqlViewBase) ? table4[ViewBaseConfig].name : is(table4, SQL) ? void 0 : getTableName(table4)) && !((table22) => joins?.some(
30998
+ ({ alias }) => alias === (table22[Table2.Symbol.IsAlias] ? getTableName(table22) : table22[Table2.Symbol.BaseName])
30928
30999
  ))(f.field.table)) {
30929
31000
  const tableName = getTableName(f.field.table);
30930
31001
  throw new Error(
@@ -30937,8 +31008,8 @@ var init_dialect3 = __esm({
30937
31008
  const distinctSql = distinct ? sql` distinct` : void 0;
30938
31009
  const selection = this.buildSelection(fieldsList, { isSingleTable });
30939
31010
  const tableSql = (() => {
30940
- if (is(table4, Table) && table4[Table.Symbol.OriginalName] !== table4[Table.Symbol.Name]) {
30941
- return sql`${sql.identifier(table4[Table.Symbol.OriginalName])} ${sql.identifier(table4[Table.Symbol.Name])}`;
31011
+ if (is(table4, Table2) && table4[Table2.Symbol.OriginalName] !== table4[Table2.Symbol.Name]) {
31012
+ return sql`${sql.identifier(table4[Table2.Symbol.OriginalName])} ${sql.identifier(table4[Table2.Symbol.Name])}`;
30942
31013
  }
30943
31014
  return table4;
30944
31015
  })();
@@ -31051,7 +31122,7 @@ var init_dialect3 = __esm({
31051
31122
  }
31052
31123
  buildInsertQuery({ table: table4, values, ignore, onConflict }) {
31053
31124
  const valuesSqlList = [];
31054
- const columns = table4[Table.Symbol.Columns];
31125
+ const columns = table4[Table2.Symbol.Columns];
31055
31126
  const colEntries = Object.entries(columns).filter(
31056
31127
  ([_2, col]) => !col.shouldDisableInsert()
31057
31128
  );
@@ -31179,7 +31250,7 @@ var init_dialect3 = __esm({
31179
31250
  selection.push({
31180
31251
  dbKey: is(value, SQL.Aliased) ? value.fieldAlias : tableConfig.columns[tsKey].name,
31181
31252
  tsKey,
31182
- field: is(value, Column) ? aliasedTableColumn(value, tableAlias) : value,
31253
+ field: is(value, Column2) ? aliasedTableColumn(value, tableAlias) : value,
31183
31254
  relationTableTsKey: void 0,
31184
31255
  isJson: false,
31185
31256
  selection: []
@@ -31190,7 +31261,7 @@ var init_dialect3 = __esm({
31190
31261
  orderByOrig = [orderByOrig];
31191
31262
  }
31192
31263
  orderBy = orderByOrig.map((orderByValue) => {
31193
- if (is(orderByValue, Column)) {
31264
+ if (is(orderByValue, Column2)) {
31194
31265
  return aliasedTableColumn(orderByValue, tableAlias);
31195
31266
  }
31196
31267
  return mapColumnsInSQLToAlias(orderByValue, tableAlias);
@@ -31298,7 +31369,7 @@ var init_dialect3 = __esm({
31298
31369
  fields: {},
31299
31370
  fieldsFlat: nestedSelection.map(({ field: field2 }) => ({
31300
31371
  path: [],
31301
- field: is(field2, Column) ? aliasedTableColumn(field2, tableAlias) : field2
31372
+ field: is(field2, Column2) ? aliasedTableColumn(field2, tableAlias) : field2
31302
31373
  })),
31303
31374
  joins,
31304
31375
  where,
@@ -31313,7 +31384,7 @@ var init_dialect3 = __esm({
31313
31384
  fields: {},
31314
31385
  fieldsFlat: selection.map(({ field }) => ({
31315
31386
  path: [],
31316
- field: is(field, Column) ? aliasedTableColumn(field, tableAlias) : field
31387
+ field: is(field, Column2) ? aliasedTableColumn(field, tableAlias) : field
31317
31388
  })),
31318
31389
  joins,
31319
31390
  where,
@@ -31403,7 +31474,7 @@ var init_dialect3 = __esm({
31403
31474
  selection.push({
31404
31475
  dbKey: is(value, SQL.Aliased) ? value.fieldAlias : tableConfig.columns[tsKey].name,
31405
31476
  tsKey,
31406
- field: is(value, Column) ? aliasedTableColumn(value, tableAlias) : value,
31477
+ field: is(value, Column2) ? aliasedTableColumn(value, tableAlias) : value,
31407
31478
  relationTableTsKey: void 0,
31408
31479
  isJson: false,
31409
31480
  selection: []
@@ -31414,7 +31485,7 @@ var init_dialect3 = __esm({
31414
31485
  orderByOrig = [orderByOrig];
31415
31486
  }
31416
31487
  orderBy = orderByOrig.map((orderByValue) => {
31417
- if (is(orderByValue, Column)) {
31488
+ if (is(orderByValue, Column2)) {
31418
31489
  return aliasedTableColumn(orderByValue, tableAlias);
31419
31490
  }
31420
31491
  return mapColumnsInSQLToAlias(orderByValue, tableAlias);
@@ -31521,7 +31592,7 @@ var init_dialect3 = __esm({
31521
31592
  fields: {},
31522
31593
  fieldsFlat: nestedSelection.map(({ field: field2 }) => ({
31523
31594
  path: [],
31524
- field: is(field2, Column) ? aliasedTableColumn(field2, tableAlias) : field2
31595
+ field: is(field2, Column2) ? aliasedTableColumn(field2, tableAlias) : field2
31525
31596
  })),
31526
31597
  where,
31527
31598
  limit,
@@ -31535,7 +31606,7 @@ var init_dialect3 = __esm({
31535
31606
  fields: {},
31536
31607
  fieldsFlat: selection.map(({ field }) => ({
31537
31608
  path: [],
31538
- field: is(field, Column) ? aliasedTableColumn(field, tableAlias) : field
31609
+ field: is(field, Column2) ? aliasedTableColumn(field, tableAlias) : field
31539
31610
  })),
31540
31611
  where,
31541
31612
  limit,
@@ -31555,7 +31626,7 @@ var init_dialect3 = __esm({
31555
31626
  }
31556
31627
  });
31557
31628
 
31558
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/select.js
31629
+ // ../drizzle-orm/dist/mysql-core/query-builders/select.js
31559
31630
  function createSetOperator3(type, isAll) {
31560
31631
  return (leftSelect, rightSelect, ...restSelects) => {
31561
31632
  const setOperators = [rightSelect, ...restSelects].map((select) => ({
@@ -31575,7 +31646,7 @@ function createSetOperator3(type, isAll) {
31575
31646
  }
31576
31647
  var _a298, MySqlSelectBuilder, _a299, _b222, MySqlSelectQueryBuilderBase, _a300, _b223, MySqlSelectBase, getMySqlSetOperators, union3, unionAll3, intersect3, intersectAll2, except3, exceptAll2;
31577
31648
  var init_select4 = __esm({
31578
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/select.js"() {
31649
+ "../drizzle-orm/dist/mysql-core/query-builders/select.js"() {
31579
31650
  "use strict";
31580
31651
  init_entity();
31581
31652
  init_query_builder();
@@ -31973,7 +32044,7 @@ var init_select4 = __esm({
31973
32044
  };
31974
32045
  }
31975
32046
  if (typeof tableName === "string" && !is(table4, SQL)) {
31976
- const selection = is(table4, Subquery) ? table4._.selectedFields : is(table4, View) ? table4[ViewBaseConfig].selectedFields : table4[Table.Symbol.Columns];
32047
+ const selection = is(table4, Subquery) ? table4._.selectedFields : is(table4, View) ? table4[ViewBaseConfig].selectedFields : table4[Table2.Symbol.Columns];
31977
32048
  this.config.fields[tableName] = selection;
31978
32049
  }
31979
32050
  }
@@ -32279,10 +32350,10 @@ var init_select4 = __esm({
32279
32350
  }
32280
32351
  });
32281
32352
 
32282
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/query-builder.js
32353
+ // ../drizzle-orm/dist/mysql-core/query-builders/query-builder.js
32283
32354
  var _a301, QueryBuilder3;
32284
32355
  var init_query_builder4 = __esm({
32285
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/query-builder.js"() {
32356
+ "../drizzle-orm/dist/mysql-core/query-builders/query-builder.js"() {
32286
32357
  "use strict";
32287
32358
  init_entity();
32288
32359
  init_dialect3();
@@ -32352,17 +32423,17 @@ var init_query_builder4 = __esm({
32352
32423
  }
32353
32424
  });
32354
32425
 
32355
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/select.types.js
32426
+ // ../drizzle-orm/dist/mysql-core/query-builders/select.types.js
32356
32427
  var init_select_types3 = __esm({
32357
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/select.types.js"() {
32428
+ "../drizzle-orm/dist/mysql-core/query-builders/select.types.js"() {
32358
32429
  "use strict";
32359
32430
  }
32360
32431
  });
32361
32432
 
32362
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/update.js
32433
+ // ../drizzle-orm/dist/mysql-core/query-builders/update.js
32363
32434
  var _a302, MySqlUpdateBuilder, _a303, _b224, MySqlUpdateBase;
32364
32435
  var init_update3 = __esm({
32365
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/update.js"() {
32436
+ "../drizzle-orm/dist/mysql-core/query-builders/update.js"() {
32366
32437
  "use strict";
32367
32438
  init_entity();
32368
32439
  init_query_promise();
@@ -32457,9 +32528,9 @@ var init_update3 = __esm({
32457
32528
  }
32458
32529
  });
32459
32530
 
32460
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/index.js
32531
+ // ../drizzle-orm/dist/mysql-core/query-builders/index.js
32461
32532
  var init_query_builders3 = __esm({
32462
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/index.js"() {
32533
+ "../drizzle-orm/dist/mysql-core/query-builders/index.js"() {
32463
32534
  "use strict";
32464
32535
  init_delete3();
32465
32536
  init_insert3();
@@ -32470,10 +32541,10 @@ var init_query_builders3 = __esm({
32470
32541
  }
32471
32542
  });
32472
32543
 
32473
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/query.js
32544
+ // ../drizzle-orm/dist/mysql-core/query-builders/query.js
32474
32545
  var _a304, RelationalQueryBuilder3, _a305, _b225, MySqlRelationalQuery;
32475
32546
  var init_query3 = __esm({
32476
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/query-builders/query.js"() {
32547
+ "../drizzle-orm/dist/mysql-core/query-builders/query.js"() {
32477
32548
  "use strict";
32478
32549
  init_entity();
32479
32550
  init_query_promise();
@@ -32588,10 +32659,10 @@ var init_query3 = __esm({
32588
32659
  }
32589
32660
  });
32590
32661
 
32591
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/db.js
32662
+ // ../drizzle-orm/dist/mysql-core/db.js
32592
32663
  var _a306, MySqlDatabase;
32593
32664
  var init_db3 = __esm({
32594
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/db.js"() {
32665
+ "../drizzle-orm/dist/mysql-core/db.js"() {
32595
32666
  "use strict";
32596
32667
  init_entity();
32597
32668
  init_selection_proxy();
@@ -32811,10 +32882,10 @@ var init_db3 = __esm({
32811
32882
  }
32812
32883
  });
32813
32884
 
32814
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/indexes.js
32885
+ // ../drizzle-orm/dist/mysql-core/indexes.js
32815
32886
  var _a307, IndexBuilderOn3, _a308, IndexBuilder3, _a309, Index5;
32816
32887
  var init_indexes3 = __esm({
32817
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/indexes.js"() {
32888
+ "../drizzle-orm/dist/mysql-core/indexes.js"() {
32818
32889
  "use strict";
32819
32890
  init_entity();
32820
32891
  _a307 = entityKind;
@@ -32868,10 +32939,10 @@ var init_indexes3 = __esm({
32868
32939
  }
32869
32940
  });
32870
32941
 
32871
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/primary-keys.js
32942
+ // ../drizzle-orm/dist/mysql-core/primary-keys.js
32872
32943
  var _a310, PrimaryKeyBuilder3, _a311, PrimaryKey3;
32873
32944
  var init_primary_keys3 = __esm({
32874
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/primary-keys.js"() {
32945
+ "../drizzle-orm/dist/mysql-core/primary-keys.js"() {
32875
32946
  "use strict";
32876
32947
  init_entity();
32877
32948
  init_table4();
@@ -32908,16 +32979,16 @@ var init_primary_keys3 = __esm({
32908
32979
  }
32909
32980
  });
32910
32981
 
32911
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/view-common.js
32982
+ // ../drizzle-orm/dist/mysql-core/view-common.js
32912
32983
  var MySqlViewConfig;
32913
32984
  var init_view_common4 = __esm({
32914
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/view-common.js"() {
32985
+ "../drizzle-orm/dist/mysql-core/view-common.js"() {
32915
32986
  "use strict";
32916
32987
  MySqlViewConfig = Symbol.for("drizzle:MySqlViewConfig");
32917
32988
  }
32918
32989
  });
32919
32990
 
32920
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/view.js
32991
+ // ../drizzle-orm/dist/mysql-core/view.js
32921
32992
  function mysqlViewWithSchema(name2, selection, schema4) {
32922
32993
  if (selection) {
32923
32994
  return new ManualViewBuilder3(name2, selection, schema4);
@@ -32926,7 +32997,7 @@ function mysqlViewWithSchema(name2, selection, schema4) {
32926
32997
  }
32927
32998
  var _a312, ViewBuilderCore2, _a313, _b226, ViewBuilder3, _a314, _b227, ManualViewBuilder3, _a315, _b228, _c8, MySqlView;
32928
32999
  var init_view3 = __esm({
32929
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/view.js"() {
33000
+ "../drizzle-orm/dist/mysql-core/view.js"() {
32930
33001
  "use strict";
32931
33002
  init_entity();
32932
33003
  init_selection_proxy();
@@ -33044,16 +33115,16 @@ var init_view3 = __esm({
33044
33115
  }
33045
33116
  });
33046
33117
 
33047
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/schema.js
33048
- var _a316, MySqlSchema3;
33118
+ // ../drizzle-orm/dist/mysql-core/schema.js
33119
+ var _a316, MySqlSchema5;
33049
33120
  var init_schema2 = __esm({
33050
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/schema.js"() {
33121
+ "../drizzle-orm/dist/mysql-core/schema.js"() {
33051
33122
  "use strict";
33052
33123
  init_entity();
33053
33124
  init_table4();
33054
33125
  init_view3();
33055
33126
  _a316 = entityKind;
33056
- MySqlSchema3 = class {
33127
+ MySqlSchema5 = class {
33057
33128
  constructor(schemaName) {
33058
33129
  __publicField(this, "table", (name2, columns, extraConfig) => {
33059
33130
  return mysqlTableWithSchema(name2, columns, extraConfig, this.schemaName);
@@ -33064,14 +33135,14 @@ var init_schema2 = __esm({
33064
33135
  this.schemaName = schemaName;
33065
33136
  }
33066
33137
  };
33067
- __publicField(MySqlSchema3, _a316, "MySqlSchema");
33138
+ __publicField(MySqlSchema5, _a316, "MySqlSchema");
33068
33139
  }
33069
33140
  });
33070
33141
 
33071
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/session.js
33142
+ // ../drizzle-orm/dist/mysql-core/session.js
33072
33143
  var _a317, MySqlPreparedQuery, _a318, MySqlSession, _a319, _b229, MySqlTransaction;
33073
33144
  var init_session3 = __esm({
33074
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/session.js"() {
33145
+ "../drizzle-orm/dist/mysql-core/session.js"() {
33075
33146
  "use strict";
33076
33147
  init_entity();
33077
33148
  init_errors();
@@ -33101,7 +33172,7 @@ var init_session3 = __esm({
33101
33172
  if (config.isolationLevel) {
33102
33173
  parts.push(`isolation level ${config.isolationLevel}`);
33103
33174
  }
33104
- return parts.length ? sql.join(["set transaction ", parts.join(" ")]) : void 0;
33175
+ return parts.length ? sql`set transaction ${sql.raw(parts.join(" "))}` : void 0;
33105
33176
  }
33106
33177
  getStartTransactionSQL(config) {
33107
33178
  const parts = [];
@@ -33111,7 +33182,7 @@ var init_session3 = __esm({
33111
33182
  if (config.accessMode) {
33112
33183
  parts.push(config.accessMode);
33113
33184
  }
33114
- return parts.length ? sql.join(["start transaction ", parts.join(" ")]) : void 0;
33185
+ return parts.length ? sql`start transaction ${sql.raw(parts.join(" "))}` : void 0;
33115
33186
  }
33116
33187
  };
33117
33188
  __publicField(MySqlSession, _a318, "MySqlSession");
@@ -33129,14 +33200,14 @@ var init_session3 = __esm({
33129
33200
  }
33130
33201
  });
33131
33202
 
33132
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/subquery.js
33203
+ // ../drizzle-orm/dist/mysql-core/subquery.js
33133
33204
  var init_subquery4 = __esm({
33134
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/subquery.js"() {
33205
+ "../drizzle-orm/dist/mysql-core/subquery.js"() {
33135
33206
  "use strict";
33136
33207
  }
33137
33208
  });
33138
33209
 
33139
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/utils.js
33210
+ // ../drizzle-orm/dist/mysql-core/utils.js
33140
33211
  function getTableConfig3(table4) {
33141
33212
  const columns = Object.values(table4[MySqlTable.Symbol.Columns]);
33142
33213
  const indexes = [];
@@ -33144,9 +33215,9 @@ function getTableConfig3(table4) {
33144
33215
  const primaryKeys = [];
33145
33216
  const uniqueConstraints = [];
33146
33217
  const foreignKeys = Object.values(table4[MySqlTable.Symbol.InlineForeignKeys]);
33147
- const name2 = table4[Table.Symbol.Name];
33148
- const schema4 = table4[Table.Symbol.Schema];
33149
- const baseName = table4[Table.Symbol.BaseName];
33218
+ const name2 = table4[Table2.Symbol.Name];
33219
+ const schema4 = table4[Table2.Symbol.Schema];
33220
+ const baseName = table4[Table2.Symbol.BaseName];
33150
33221
  const extraConfigBuilder = table4[MySqlTable.Symbol.ExtraConfigBuilder];
33151
33222
  if (extraConfigBuilder !== void 0) {
33152
33223
  const extraConfig = extraConfigBuilder(table4[MySqlTable.Symbol.Columns]);
@@ -33177,7 +33248,7 @@ function getTableConfig3(table4) {
33177
33248
  };
33178
33249
  }
33179
33250
  var init_utils7 = __esm({
33180
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/utils.js"() {
33251
+ "../drizzle-orm/dist/mysql-core/utils.js"() {
33181
33252
  "use strict";
33182
33253
  init_entity();
33183
33254
  init_table();
@@ -33190,9 +33261,9 @@ var init_utils7 = __esm({
33190
33261
  }
33191
33262
  });
33192
33263
 
33193
- // ../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/index.js
33264
+ // ../drizzle-orm/dist/mysql-core/index.js
33194
33265
  var init_mysql_core = __esm({
33195
- "../node_modules/.pnpm/drizzle-orm@0.32.1_@aws-sdk+client-rds-data@3.583.0_@cloudflare+workers-types@4.20240524.0_@e_b4cdnxy7l6gc3lxxx27eybv3eu/node_modules/drizzle-orm/mysql-core/index.js"() {
33266
+ "../drizzle-orm/dist/mysql-core/index.js"() {
33196
33267
  "use strict";
33197
33268
  init_alias4();
33198
33269
  init_checks3();
@@ -33237,8 +33308,8 @@ var init_mysqlSerializer = __esm({
33237
33308
  "src/serializer/mysqlSerializer.ts"() {
33238
33309
  "use strict";
33239
33310
  init_source();
33240
- init_drizzle_orm();
33241
- init_drizzle_orm();
33311
+ init_dist();
33312
+ init_dist();
33242
33313
  init_mysql_core();
33243
33314
  init_mysql_core();
33244
33315
  init_outputs();
@@ -33765,6 +33836,200 @@ We have encountered a collision between the index name on columns ${source_defau
33765
33836
  }
33766
33837
  });
33767
33838
 
33839
+ // src/cli/validations/cli.ts
33840
+ var cliConfigGenerate, pushParams, pullParams, configCheck, cliConfigCheck;
33841
+ var init_cli = __esm({
33842
+ "src/cli/validations/cli.ts"() {
33843
+ "use strict";
33844
+ init_lib();
33845
+ init_schemaValidator();
33846
+ init_common();
33847
+ cliConfigGenerate = objectType({
33848
+ dialect: dialect3.optional(),
33849
+ schema: unionType([stringType(), stringType().array()]).optional(),
33850
+ out: stringType().optional().default("./drizzle"),
33851
+ config: stringType().optional(),
33852
+ name: stringType().optional(),
33853
+ prefix: prefix.optional(),
33854
+ breakpoints: booleanType().optional().default(true),
33855
+ custom: booleanType().optional().default(false)
33856
+ }).strict();
33857
+ pushParams = objectType({
33858
+ dialect: dialect3,
33859
+ schema: unionType([stringType(), stringType().array()]),
33860
+ tablesFilter: unionType([stringType(), stringType().array()]).optional(),
33861
+ schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
33862
+ extensionsFilters: literalType("postgis").array().optional(),
33863
+ verbose: booleanType().optional(),
33864
+ strict: booleanType().optional()
33865
+ }).passthrough();
33866
+ pullParams = objectType({
33867
+ config: stringType().optional(),
33868
+ dialect: dialect3,
33869
+ out: stringType().optional().default("drizzle"),
33870
+ tablesFilter: unionType([stringType(), stringType().array()]).optional(),
33871
+ schemaFilter: unionType([stringType(), stringType().array()]).optional().default(["public"]),
33872
+ extensionsFilters: literalType("postgis").array().optional(),
33873
+ introspectCasing: casing,
33874
+ breakpoints: booleanType().optional().default(true),
33875
+ database: objectType({
33876
+ prefix: prefix.optional().default("index")
33877
+ }).optional()
33878
+ }).passthrough();
33879
+ configCheck = objectType({
33880
+ dialect: dialect3.optional(),
33881
+ out: stringType().optional()
33882
+ });
33883
+ cliConfigCheck = intersectionType(
33884
+ objectType({
33885
+ config: stringType().optional()
33886
+ }),
33887
+ configCheck
33888
+ );
33889
+ }
33890
+ });
33891
+
33892
+ // src/cli/validations/mysql.ts
33893
+ var mysqlCredentials;
33894
+ var init_mysql = __esm({
33895
+ "src/cli/validations/mysql.ts"() {
33896
+ "use strict";
33897
+ init_lib();
33898
+ init_views();
33899
+ init_common();
33900
+ init_outputs();
33901
+ mysqlCredentials = unionType([
33902
+ objectType({
33903
+ host: stringType().min(1),
33904
+ port: coerce.number().min(1).optional(),
33905
+ user: stringType().min(1).optional(),
33906
+ password: stringType().min(1).optional(),
33907
+ database: stringType().min(1),
33908
+ ssl: unionType([
33909
+ stringType(),
33910
+ objectType({
33911
+ pfx: stringType().optional(),
33912
+ key: stringType().optional(),
33913
+ passphrase: stringType().optional(),
33914
+ cert: stringType().optional(),
33915
+ ca: unionType([stringType(), stringType().array()]).optional(),
33916
+ crl: unionType([stringType(), stringType().array()]).optional(),
33917
+ ciphers: stringType().optional(),
33918
+ rejectUnauthorized: booleanType().optional()
33919
+ })
33920
+ ]).optional()
33921
+ }),
33922
+ objectType({
33923
+ url: stringType().min(1)
33924
+ })
33925
+ ]);
33926
+ }
33927
+ });
33928
+
33929
+ // src/cli/validations/postgres.ts
33930
+ var postgresCredentials;
33931
+ var init_postgres = __esm({
33932
+ "src/cli/validations/postgres.ts"() {
33933
+ "use strict";
33934
+ init_lib();
33935
+ init_views();
33936
+ init_common();
33937
+ postgresCredentials = unionType([
33938
+ objectType({
33939
+ driver: undefinedType(),
33940
+ host: stringType().min(1),
33941
+ port: coerce.number().min(1).optional(),
33942
+ user: stringType().min(1).optional(),
33943
+ password: stringType().min(1).optional(),
33944
+ database: stringType().min(1),
33945
+ ssl: unionType([
33946
+ literalType("require"),
33947
+ literalType("allow"),
33948
+ literalType("prefer"),
33949
+ literalType("verify-full"),
33950
+ booleanType(),
33951
+ objectType({}).passthrough()
33952
+ ]).optional()
33953
+ }).transform((o) => {
33954
+ delete o.driver;
33955
+ return o;
33956
+ }),
33957
+ objectType({
33958
+ driver: undefinedType(),
33959
+ url: stringType().min(1)
33960
+ }).transform((o) => {
33961
+ delete o.driver;
33962
+ return o;
33963
+ }),
33964
+ objectType({
33965
+ driver: literalType("aws-data-api"),
33966
+ database: stringType().min(1),
33967
+ secretArn: stringType().min(1),
33968
+ resourceArn: stringType().min(1)
33969
+ })
33970
+ ]);
33971
+ }
33972
+ });
33973
+
33974
+ // src/cli/validations/sqlite.ts
33975
+ var sqliteCredentials;
33976
+ var init_sqlite = __esm({
33977
+ "src/cli/validations/sqlite.ts"() {
33978
+ "use strict";
33979
+ init_global();
33980
+ init_lib();
33981
+ init_views();
33982
+ init_common();
33983
+ sqliteCredentials = unionType([
33984
+ objectType({
33985
+ driver: literalType("turso"),
33986
+ url: stringType().min(1),
33987
+ authToken: stringType().min(1).optional()
33988
+ }),
33989
+ objectType({
33990
+ driver: literalType("d1-http"),
33991
+ accountId: stringType().min(1),
33992
+ databaseId: stringType().min(1),
33993
+ token: stringType().min(1)
33994
+ }),
33995
+ objectType({
33996
+ driver: undefinedType(),
33997
+ url: stringType().min(1)
33998
+ }).transform((o) => {
33999
+ delete o.driver;
34000
+ return o;
34001
+ })
34002
+ ]);
34003
+ }
34004
+ });
34005
+
34006
+ // src/cli/validations/studio.ts
34007
+ var credentials, studioCliParams, studioConfig;
34008
+ var init_studio = __esm({
34009
+ "src/cli/validations/studio.ts"() {
34010
+ "use strict";
34011
+ init_lib();
34012
+ init_schemaValidator();
34013
+ init_mysql();
34014
+ init_postgres();
34015
+ init_sqlite();
34016
+ credentials = intersectionType(
34017
+ postgresCredentials,
34018
+ mysqlCredentials,
34019
+ sqliteCredentials
34020
+ );
34021
+ studioCliParams = objectType({
34022
+ port: coerce.number().optional().default(4983),
34023
+ host: stringType().optional().default("127.0.0.1"),
34024
+ config: stringType().optional()
34025
+ });
34026
+ studioConfig = objectType({
34027
+ dialect: dialect3,
34028
+ schema: unionType([stringType(), stringType().array()]).optional()
34029
+ });
34030
+ }
34031
+ });
34032
+
33768
34033
  // src/cli/commands/_es5.ts
33769
34034
  var es5_exports = {};
33770
34035
  __export(es5_exports, {
@@ -33786,8 +34051,16 @@ var init_utils8 = __esm({
33786
34051
  "use strict";
33787
34052
  import_hanji7 = __toESM(require_hanji());
33788
34053
  init_lib();
34054
+ init_global();
33789
34055
  init_schemaValidator();
34056
+ init_serializer();
34057
+ init_cli();
33790
34058
  init_common();
34059
+ init_mysql();
34060
+ init_outputs();
34061
+ init_postgres();
34062
+ init_sqlite();
34063
+ init_studio();
33791
34064
  init_views();
33792
34065
  assertES5 = async (unregister) => {
33793
34066
  try {
@@ -33838,8 +34111,9 @@ var prepareFromExports;
33838
34111
  var init_pgImports = __esm({
33839
34112
  "src/serializer/pgImports.ts"() {
33840
34113
  "use strict";
33841
- init_drizzle_orm();
34114
+ init_dist();
33842
34115
  init_pg_core();
34116
+ init_utils8();
33843
34117
  prepareFromExports = (exports2) => {
33844
34118
  const tables = [];
33845
34119
  const enums = [];
@@ -33854,7 +34128,7 @@ var init_pgImports = __esm({
33854
34128
  if (is(t, PgTable)) {
33855
34129
  tables.push(t);
33856
34130
  }
33857
- if (is(t, PgSchema3)) {
34131
+ if (is(t, PgSchema5)) {
33858
34132
  schemas.push(t);
33859
34133
  }
33860
34134
  if (isPgSequence(t)) {
@@ -33876,7 +34150,7 @@ var prepareFromExports2, prepareFromSqliteImports;
33876
34150
  var init_sqliteImports = __esm({
33877
34151
  "src/serializer/sqliteImports.ts"() {
33878
34152
  "use strict";
33879
- init_drizzle_orm();
34153
+ init_dist();
33880
34154
  init_sqlite_core();
33881
34155
  init_utils8();
33882
34156
  prepareFromExports2 = (exports2) => {
@@ -33914,7 +34188,7 @@ var prepareFromExports3, prepareFromMySqlImports;
33914
34188
  var init_mysqlImports = __esm({
33915
34189
  "src/serializer/mysqlImports.ts"() {
33916
34190
  "use strict";
33917
- init_drizzle_orm();
34191
+ init_dist();
33918
34192
  init_mysql_core();
33919
34193
  init_utils8();
33920
34194
  prepareFromExports3 = (exports2) => {
@@ -34545,6 +34819,7 @@ var pgSuggestions = async (db, statements) => {
34545
34819
 
34546
34820
  // src/cli/commands/pgUp.ts
34547
34821
  init_pgSchema();
34822
+ init_utils();
34548
34823
  var updateUpToV6 = (json) => {
34549
34824
  const schema4 = pgSchemaV5.parse(json);
34550
34825
  const tables = Object.fromEntries(
@@ -34580,6 +34855,114 @@ var updateUpToV6 = (json) => {
34580
34855
  var import_hanji6 = __toESM(require_hanji());
34581
34856
  init_mjs();
34582
34857
  init_global();
34858
+
34859
+ // ../node_modules/.pnpm/camelcase@7.0.1/node_modules/camelcase/index.js
34860
+ var UPPERCASE = /[\p{Lu}]/u;
34861
+ var LOWERCASE = /[\p{Ll}]/u;
34862
+ var LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu;
34863
+ var IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u;
34864
+ var SEPARATORS = /[_.\- ]+/;
34865
+ var LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source);
34866
+ var SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu");
34867
+ var NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "gu");
34868
+ var preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
34869
+ let isLastCharLower = false;
34870
+ let isLastCharUpper = false;
34871
+ let isLastLastCharUpper = false;
34872
+ let isLastLastCharPreserved = false;
34873
+ for (let index4 = 0; index4 < string.length; index4++) {
34874
+ const character = string[index4];
34875
+ isLastLastCharPreserved = index4 > 2 ? string[index4 - 3] === "-" : true;
34876
+ if (isLastCharLower && UPPERCASE.test(character)) {
34877
+ string = string.slice(0, index4) + "-" + string.slice(index4);
34878
+ isLastCharLower = false;
34879
+ isLastLastCharUpper = isLastCharUpper;
34880
+ isLastCharUpper = true;
34881
+ index4++;
34882
+ } else if (isLastCharUpper && isLastLastCharUpper && LOWERCASE.test(character) && (!isLastLastCharPreserved || preserveConsecutiveUppercase2)) {
34883
+ string = string.slice(0, index4 - 1) + "-" + string.slice(index4 - 1);
34884
+ isLastLastCharUpper = isLastCharUpper;
34885
+ isLastCharUpper = false;
34886
+ isLastCharLower = true;
34887
+ } else {
34888
+ isLastCharLower = toLowerCase(character) === character && toUpperCase(character) !== character;
34889
+ isLastLastCharUpper = isLastCharUpper;
34890
+ isLastCharUpper = toUpperCase(character) === character && toLowerCase(character) !== character;
34891
+ }
34892
+ }
34893
+ return string;
34894
+ };
34895
+ var preserveConsecutiveUppercase = (input, toLowerCase) => {
34896
+ LEADING_CAPITAL.lastIndex = 0;
34897
+ return input.replace(LEADING_CAPITAL, (m1) => toLowerCase(m1));
34898
+ };
34899
+ var postProcess = (input, toUpperCase) => {
34900
+ SEPARATORS_AND_IDENTIFIER.lastIndex = 0;
34901
+ NUMBERS_AND_IDENTIFIER.lastIndex = 0;
34902
+ return input.replace(SEPARATORS_AND_IDENTIFIER, (_2, identifier) => toUpperCase(identifier)).replace(NUMBERS_AND_IDENTIFIER, (m) => toUpperCase(m));
34903
+ };
34904
+ function camelCase(input, options) {
34905
+ if (!(typeof input === "string" || Array.isArray(input))) {
34906
+ throw new TypeError("Expected the input to be `string | string[]`");
34907
+ }
34908
+ options = {
34909
+ pascalCase: false,
34910
+ preserveConsecutiveUppercase: false,
34911
+ ...options
34912
+ };
34913
+ if (Array.isArray(input)) {
34914
+ input = input.map((x) => x.trim()).filter((x) => x.length).join("-");
34915
+ } else {
34916
+ input = input.trim();
34917
+ }
34918
+ if (input.length === 0) {
34919
+ return "";
34920
+ }
34921
+ const toLowerCase = options.locale === false ? (string) => string.toLowerCase() : (string) => string.toLocaleLowerCase(options.locale);
34922
+ const toUpperCase = options.locale === false ? (string) => string.toUpperCase() : (string) => string.toLocaleUpperCase(options.locale);
34923
+ if (input.length === 1) {
34924
+ if (SEPARATORS.test(input)) {
34925
+ return "";
34926
+ }
34927
+ return options.pascalCase ? toUpperCase(input) : toLowerCase(input);
34928
+ }
34929
+ const hasUpperCase = input !== toLowerCase(input);
34930
+ if (hasUpperCase) {
34931
+ input = preserveCamelCase(input, toLowerCase, toUpperCase, options.preserveConsecutiveUppercase);
34932
+ }
34933
+ input = input.replace(LEADING_SEPARATORS, "");
34934
+ input = options.preserveConsecutiveUppercase ? preserveConsecutiveUppercase(input, toLowerCase) : toLowerCase(input);
34935
+ if (options.pascalCase) {
34936
+ input = toUpperCase(input.charAt(0)) + input.slice(1);
34937
+ }
34938
+ return postProcess(input, toUpperCase);
34939
+ }
34940
+
34941
+ // src/@types/utils.ts
34942
+ String.prototype.trimChar = function(char) {
34943
+ let start = 0;
34944
+ let end = this.length;
34945
+ while (start < end && this[start] === char) ++start;
34946
+ while (end > start && this[end - 1] === char) --end;
34947
+ return start > 0 || end < this.length ? this.substring(start, end) : this.toString();
34948
+ };
34949
+ String.prototype.squashSpaces = function() {
34950
+ return this.replace(/ +/g, " ").trim();
34951
+ };
34952
+ String.prototype.camelCase = function() {
34953
+ return camelCase(String(this));
34954
+ };
34955
+ String.prototype.capitalise = function() {
34956
+ return this && this.length > 0 ? `${this[0].toUpperCase()}${this.slice(1)}` : String(this);
34957
+ };
34958
+ String.prototype.concatIf = function(it, condition) {
34959
+ return condition ? `${this}${it}` : String(this);
34960
+ };
34961
+ Array.prototype.random = function() {
34962
+ return this[~~(Math.random() * this.length)];
34963
+ };
34964
+
34965
+ // src/cli/commands/sqliteIntrospect.ts
34583
34966
  init_sqliteSerializer();
34584
34967
  init_views();
34585
34968
  var sqlitePushIntrospect = async (db, filters) => {
@@ -34937,7 +35320,7 @@ var generateMigration = async (prev, cur) => {
34937
35320
  };
34938
35321
  var pushSchema = async (imports, drizzleInstance, schemaFilters) => {
34939
35322
  const { applyPgSnapshotsDiff: applyPgSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
34940
- const { sql: sql2 } = await Promise.resolve().then(() => (init_drizzle_orm(), drizzle_orm_exports));
35323
+ const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
34941
35324
  const db = {
34942
35325
  query: async (query, params) => {
34943
35326
  const res = await drizzleInstance.execute(sql2.raw(query));
@@ -35007,7 +35390,7 @@ var generateSQLiteMigration = async (prev, cur) => {
35007
35390
  };
35008
35391
  var pushSQLiteSchema = async (imports, drizzleInstance) => {
35009
35392
  const { applySqliteSnapshotsDiff: applySqliteSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
35010
- const { sql: sql2 } = await Promise.resolve().then(() => (init_drizzle_orm(), drizzle_orm_exports));
35393
+ const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
35011
35394
  const db = {
35012
35395
  query: async (query, params) => {
35013
35396
  const res = drizzleInstance.all(sql2.raw(query));
@@ -35084,7 +35467,7 @@ var pushMySQLSchema = async (imports, drizzleInstance, databaseName) => {
35084
35467
  const { applyMysqlSnapshotsDiff: applyMysqlSnapshotsDiff2 } = await Promise.resolve().then(() => (init_snapshotsDiffer(), snapshotsDiffer_exports));
35085
35468
  const { logSuggestionsAndReturn: logSuggestionsAndReturn3 } = await Promise.resolve().then(() => (init_mysqlPushUtils(), mysqlPushUtils_exports));
35086
35469
  const { mysqlPushIntrospect: mysqlPushIntrospect2 } = await Promise.resolve().then(() => (init_mysqlIntrospect(), mysqlIntrospect_exports));
35087
- const { sql: sql2 } = await Promise.resolve().then(() => (init_drizzle_orm(), drizzle_orm_exports));
35470
+ const { sql: sql2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
35088
35471
  const db = {
35089
35472
  query: async (query, params) => {
35090
35473
  const res = await drizzleInstance.execute(sql2.raw(query));