drizzle-kit 0.30.6 → 0.31.0-08e3953

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (8) hide show
  1. package/api.d.mts +92 -92
  2. package/api.d.ts +92 -92
  3. package/api.js +5252 -3838
  4. package/api.mjs +5252 -3838
  5. package/bin.cjs +3791 -4074
  6. package/package.json +8 -6
  7. package/utils.js +12 -24
  8. package/utils.mjs +13 -26
package/api.d.ts CHANGED
@@ -66,15 +66,15 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
66
66
  name: string;
67
67
  columns: string[];
68
68
  isUnique: boolean;
69
- using?: "btree" | "hash" | undefined;
70
69
  algorithm?: "default" | "inplace" | "copy" | undefined;
70
+ using?: "btree" | "hash" | undefined;
71
71
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
72
72
  }, {
73
73
  name: string;
74
74
  columns: string[];
75
75
  isUnique: boolean;
76
- using?: "btree" | "hash" | undefined;
77
76
  algorithm?: "default" | "inplace" | "copy" | undefined;
77
+ using?: "btree" | "hash" | undefined;
78
78
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
79
79
  }>>;
80
80
  foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -151,8 +151,8 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
151
151
  name: string;
152
152
  columns: string[];
153
153
  isUnique: boolean;
154
- using?: "btree" | "hash" | undefined;
155
154
  algorithm?: "default" | "inplace" | "copy" | undefined;
155
+ using?: "btree" | "hash" | undefined;
156
156
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
157
157
  }>;
158
158
  foreignKeys: Record<string, {
@@ -195,8 +195,8 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
195
195
  name: string;
196
196
  columns: string[];
197
197
  isUnique: boolean;
198
- using?: "btree" | "hash" | undefined;
199
198
  algorithm?: "default" | "inplace" | "copy" | undefined;
199
+ using?: "btree" | "hash" | undefined;
200
200
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
201
201
  }>;
202
202
  foreignKeys: Record<string, {
@@ -287,11 +287,11 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
287
287
  as: string;
288
288
  } | undefined;
289
289
  }>;
290
+ isExisting: boolean;
290
291
  algorithm: "undefined" | "merge" | "temptable";
291
292
  sqlSecurity: "definer" | "invoker";
292
- isExisting: boolean;
293
- withCheckOption?: "local" | "cascaded" | undefined;
294
293
  definition?: string | undefined;
294
+ withCheckOption?: "local" | "cascaded" | undefined;
295
295
  }, {
296
296
  name: string;
297
297
  columns: Record<string, {
@@ -307,11 +307,11 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
307
307
  as: string;
308
308
  } | undefined;
309
309
  }>;
310
+ isExisting: boolean;
310
311
  algorithm: "undefined" | "merge" | "temptable";
311
312
  sqlSecurity: "definer" | "invoker";
312
- isExisting: boolean;
313
- withCheckOption?: "local" | "cascaded" | undefined;
314
313
  definition?: string | undefined;
314
+ withCheckOption?: "local" | "cascaded" | undefined;
315
315
  }>>>;
316
316
  _meta: zod.ZodObject<{
317
317
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -404,8 +404,8 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
404
404
  name: string;
405
405
  columns: string[];
406
406
  isUnique: boolean;
407
- using?: "btree" | "hash" | undefined;
408
407
  algorithm?: "default" | "inplace" | "copy" | undefined;
408
+ using?: "btree" | "hash" | undefined;
409
409
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
410
410
  }>;
411
411
  foreignKeys: Record<string, {
@@ -434,10 +434,6 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
434
434
  prevId: string;
435
435
  version: "5";
436
436
  dialect: "mysql";
437
- _meta: {
438
- columns: Record<string, string>;
439
- tables: Record<string, string>;
440
- };
441
437
  views: Record<string, {
442
438
  name: string;
443
439
  columns: Record<string, {
@@ -453,12 +449,16 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
453
449
  as: string;
454
450
  } | undefined;
455
451
  }>;
452
+ isExisting: boolean;
456
453
  algorithm: "undefined" | "merge" | "temptable";
457
454
  sqlSecurity: "definer" | "invoker";
458
- isExisting: boolean;
459
- withCheckOption?: "local" | "cascaded" | undefined;
460
455
  definition?: string | undefined;
456
+ withCheckOption?: "local" | "cascaded" | undefined;
461
457
  }>;
458
+ _meta: {
459
+ columns: Record<string, string>;
460
+ tables: Record<string, string>;
461
+ };
462
462
  internal?: {
463
463
  indexes?: Record<string, {
464
464
  columns: Record<string, {
@@ -491,8 +491,8 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
491
491
  name: string;
492
492
  columns: string[];
493
493
  isUnique: boolean;
494
- using?: "btree" | "hash" | undefined;
495
494
  algorithm?: "default" | "inplace" | "copy" | undefined;
495
+ using?: "btree" | "hash" | undefined;
496
496
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
497
497
  }>;
498
498
  foreignKeys: Record<string, {
@@ -525,18 +525,6 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
525
525
  columns: Record<string, string>;
526
526
  tables: Record<string, string>;
527
527
  };
528
- internal?: {
529
- indexes?: Record<string, {
530
- columns: Record<string, {
531
- isExpression?: boolean | undefined;
532
- } | undefined>;
533
- } | undefined> | undefined;
534
- tables?: Record<string, {
535
- columns: Record<string, {
536
- isDefaultAnExpression?: boolean | undefined;
537
- } | undefined>;
538
- } | undefined> | undefined;
539
- } | undefined;
540
528
  views?: Record<string, {
541
529
  name: string;
542
530
  columns: Record<string, {
@@ -552,12 +540,24 @@ declare const schema$2: zod.ZodObject<zod.objectUtil.extendShape<{
552
540
  as: string;
553
541
  } | undefined;
554
542
  }>;
543
+ isExisting: boolean;
555
544
  algorithm: "undefined" | "merge" | "temptable";
556
545
  sqlSecurity: "definer" | "invoker";
557
- isExisting: boolean;
558
- withCheckOption?: "local" | "cascaded" | undefined;
559
546
  definition?: string | undefined;
547
+ withCheckOption?: "local" | "cascaded" | undefined;
560
548
  }> | undefined;
549
+ internal?: {
550
+ indexes?: Record<string, {
551
+ columns: Record<string, {
552
+ isExpression?: boolean | undefined;
553
+ } | undefined>;
554
+ } | undefined> | undefined;
555
+ tables?: Record<string, {
556
+ columns: Record<string, {
557
+ isDefaultAnExpression?: boolean | undefined;
558
+ } | undefined>;
559
+ } | undefined> | undefined;
560
+ } | undefined;
561
561
  }>;
562
562
  type MySqlSchema = TypeOf<typeof schema$2>;
563
563
 
@@ -708,8 +708,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
708
708
  isUnique: boolean;
709
709
  method: string;
710
710
  concurrently: boolean;
711
- with?: Record<string, any> | undefined;
712
711
  where?: string | undefined;
712
+ with?: Record<string, any> | undefined;
713
713
  }, {
714
714
  name: string;
715
715
  columns: {
@@ -720,9 +720,9 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
720
720
  opclass?: string | undefined;
721
721
  }[];
722
722
  isUnique: boolean;
723
+ where?: string | undefined;
723
724
  with?: Record<string, any> | undefined;
724
725
  method?: string | undefined;
725
- where?: string | undefined;
726
726
  concurrently?: boolean | undefined;
727
727
  }>>;
728
728
  foreignKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -787,8 +787,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
787
787
  schema: zod.ZodOptional<zod.ZodString>;
788
788
  }, "strict", zod.ZodTypeAny, {
789
789
  name: string;
790
- using?: string | undefined;
791
790
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
791
+ using?: string | undefined;
792
792
  schema?: string | undefined;
793
793
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
794
794
  to?: string[] | undefined;
@@ -796,8 +796,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
796
796
  on?: string | undefined;
797
797
  }, {
798
798
  name: string;
799
- using?: string | undefined;
800
799
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
800
+ using?: string | undefined;
801
801
  schema?: string | undefined;
802
802
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
803
803
  to?: string[] | undefined;
@@ -855,8 +855,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
855
855
  isUnique: boolean;
856
856
  method: string;
857
857
  concurrently: boolean;
858
- with?: Record<string, any> | undefined;
859
858
  where?: string | undefined;
859
+ with?: Record<string, any> | undefined;
860
860
  }>;
861
861
  foreignKeys: Record<string, {
862
862
  name: string;
@@ -868,7 +868,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
868
868
  onDelete?: string | undefined;
869
869
  schemaTo?: string | undefined;
870
870
  }>;
871
- schema: string;
872
871
  compositePrimaryKeys: Record<string, {
873
872
  name: string;
874
873
  columns: string[];
@@ -882,10 +881,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
882
881
  name: string;
883
882
  value: string;
884
883
  }>;
884
+ schema: string;
885
885
  policies: Record<string, {
886
886
  name: string;
887
- using?: string | undefined;
888
887
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
888
+ using?: string | undefined;
889
889
  schema?: string | undefined;
890
890
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
891
891
  to?: string[] | undefined;
@@ -931,9 +931,9 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
931
931
  opclass?: string | undefined;
932
932
  }[];
933
933
  isUnique: boolean;
934
+ where?: string | undefined;
934
935
  with?: Record<string, any> | undefined;
935
936
  method?: string | undefined;
936
- where?: string | undefined;
937
937
  concurrently?: boolean | undefined;
938
938
  }>;
939
939
  foreignKeys: Record<string, {
@@ -946,11 +946,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
946
946
  onDelete?: string | undefined;
947
947
  schemaTo?: string | undefined;
948
948
  }>;
949
- schema: string;
950
949
  compositePrimaryKeys: Record<string, {
951
950
  name: string;
952
951
  columns: string[];
953
952
  }>;
953
+ schema: string;
954
954
  uniqueConstraints?: Record<string, {
955
955
  name: string;
956
956
  columns: string[];
@@ -962,8 +962,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
962
962
  }> | undefined;
963
963
  policies?: Record<string, {
964
964
  name: string;
965
- using?: string | undefined;
966
965
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
966
+ using?: string | undefined;
967
967
  schema?: string | undefined;
968
968
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
969
969
  to?: string[] | undefined;
@@ -1194,11 +1194,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1194
1194
  cycle?: boolean | undefined;
1195
1195
  } | undefined;
1196
1196
  }>;
1197
- schema: string;
1198
1197
  isExisting: boolean;
1198
+ schema: string;
1199
1199
  materialized: boolean;
1200
- using?: string | undefined;
1201
1200
  definition?: string | undefined;
1201
+ using?: string | undefined;
1202
1202
  with?: {
1203
1203
  checkOption?: "local" | "cascaded" | undefined;
1204
1204
  securityBarrier?: boolean | undefined;
@@ -1252,11 +1252,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1252
1252
  cycle?: boolean | undefined;
1253
1253
  } | undefined;
1254
1254
  }>;
1255
- schema: string;
1256
1255
  isExisting: boolean;
1256
+ schema: string;
1257
1257
  materialized: boolean;
1258
- using?: string | undefined;
1259
1258
  definition?: string | undefined;
1259
+ using?: string | undefined;
1260
1260
  with?: {
1261
1261
  checkOption?: "local" | "cascaded" | undefined;
1262
1262
  securityBarrier?: boolean | undefined;
@@ -1338,8 +1338,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1338
1338
  schema: zod.ZodOptional<zod.ZodString>;
1339
1339
  }, "strict", zod.ZodTypeAny, {
1340
1340
  name: string;
1341
- using?: string | undefined;
1342
1341
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1342
+ using?: string | undefined;
1343
1343
  schema?: string | undefined;
1344
1344
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1345
1345
  to?: string[] | undefined;
@@ -1347,8 +1347,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1347
1347
  on?: string | undefined;
1348
1348
  }, {
1349
1349
  name: string;
1350
- using?: string | undefined;
1351
1350
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1351
+ using?: string | undefined;
1352
1352
  schema?: string | undefined;
1353
1353
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1354
1354
  to?: string[] | undefined;
@@ -1464,8 +1464,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1464
1464
  isUnique: boolean;
1465
1465
  method: string;
1466
1466
  concurrently: boolean;
1467
- with?: Record<string, any> | undefined;
1468
1467
  where?: string | undefined;
1468
+ with?: Record<string, any> | undefined;
1469
1469
  }>;
1470
1470
  foreignKeys: Record<string, {
1471
1471
  name: string;
@@ -1477,7 +1477,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1477
1477
  onDelete?: string | undefined;
1478
1478
  schemaTo?: string | undefined;
1479
1479
  }>;
1480
- schema: string;
1481
1480
  compositePrimaryKeys: Record<string, {
1482
1481
  name: string;
1483
1482
  columns: string[];
@@ -1491,10 +1490,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1491
1490
  name: string;
1492
1491
  value: string;
1493
1492
  }>;
1493
+ schema: string;
1494
1494
  policies: Record<string, {
1495
1495
  name: string;
1496
- using?: string | undefined;
1497
1496
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1497
+ using?: string | undefined;
1498
1498
  schema?: string | undefined;
1499
1499
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1500
1500
  to?: string[] | undefined;
@@ -1507,12 +1507,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1507
1507
  prevId: string;
1508
1508
  version: "7";
1509
1509
  dialect: "postgresql";
1510
- schemas: Record<string, string>;
1511
- _meta: {
1512
- columns: Record<string, string>;
1513
- tables: Record<string, string>;
1514
- schemas: Record<string, string>;
1515
- };
1516
1510
  views: Record<string, {
1517
1511
  name: string;
1518
1512
  columns: Record<string, {
@@ -1541,11 +1535,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1541
1535
  cycle?: boolean | undefined;
1542
1536
  } | undefined;
1543
1537
  }>;
1544
- schema: string;
1545
1538
  isExisting: boolean;
1539
+ schema: string;
1546
1540
  materialized: boolean;
1547
- using?: string | undefined;
1548
1541
  definition?: string | undefined;
1542
+ using?: string | undefined;
1549
1543
  with?: {
1550
1544
  checkOption?: "local" | "cascaded" | undefined;
1551
1545
  securityBarrier?: boolean | undefined;
@@ -1572,6 +1566,12 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1572
1566
  withNoData?: boolean | undefined;
1573
1567
  tablespace?: string | undefined;
1574
1568
  }>;
1569
+ _meta: {
1570
+ columns: Record<string, string>;
1571
+ tables: Record<string, string>;
1572
+ schemas: Record<string, string>;
1573
+ };
1574
+ schemas: Record<string, string>;
1575
1575
  enums: Record<string, {
1576
1576
  name: string;
1577
1577
  values: string[];
@@ -1579,8 +1579,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1579
1579
  }>;
1580
1580
  policies: Record<string, {
1581
1581
  name: string;
1582
- using?: string | undefined;
1583
1582
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1583
+ using?: string | undefined;
1584
1584
  schema?: string | undefined;
1585
1585
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1586
1586
  to?: string[] | undefined;
@@ -1652,9 +1652,9 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1652
1652
  opclass?: string | undefined;
1653
1653
  }[];
1654
1654
  isUnique: boolean;
1655
+ where?: string | undefined;
1655
1656
  with?: Record<string, any> | undefined;
1656
1657
  method?: string | undefined;
1657
- where?: string | undefined;
1658
1658
  concurrently?: boolean | undefined;
1659
1659
  }>;
1660
1660
  foreignKeys: Record<string, {
@@ -1667,11 +1667,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1667
1667
  onDelete?: string | undefined;
1668
1668
  schemaTo?: string | undefined;
1669
1669
  }>;
1670
- schema: string;
1671
1670
  compositePrimaryKeys: Record<string, {
1672
1671
  name: string;
1673
1672
  columns: string[];
1674
1673
  }>;
1674
+ schema: string;
1675
1675
  uniqueConstraints?: Record<string, {
1676
1676
  name: string;
1677
1677
  columns: string[];
@@ -1683,8 +1683,8 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1683
1683
  }> | undefined;
1684
1684
  policies?: Record<string, {
1685
1685
  name: string;
1686
- using?: string | undefined;
1687
1686
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1687
+ using?: string | undefined;
1688
1688
  schema?: string | undefined;
1689
1689
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1690
1690
  to?: string[] | undefined;
@@ -1697,27 +1697,17 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1697
1697
  prevId: string;
1698
1698
  version: "7";
1699
1699
  dialect: "postgresql";
1700
- schemas: Record<string, string>;
1701
1700
  _meta: {
1702
1701
  columns: Record<string, string>;
1703
1702
  tables: Record<string, string>;
1704
1703
  schemas: Record<string, string>;
1705
1704
  };
1705
+ schemas: Record<string, string>;
1706
1706
  enums: Record<string, {
1707
1707
  name: string;
1708
1708
  values: string[];
1709
1709
  schema: string;
1710
1710
  }>;
1711
- internal?: {
1712
- tables: Record<string, {
1713
- columns: Record<string, {
1714
- isDefaultAnExpression?: boolean | undefined;
1715
- isArray?: boolean | undefined;
1716
- dimensions?: number | undefined;
1717
- rawType?: string | undefined;
1718
- } | undefined>;
1719
- } | undefined>;
1720
- } | undefined;
1721
1711
  views?: Record<string, {
1722
1712
  name: string;
1723
1713
  columns: Record<string, {
@@ -1746,11 +1736,11 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1746
1736
  cycle?: boolean | undefined;
1747
1737
  } | undefined;
1748
1738
  }>;
1749
- schema: string;
1750
1739
  isExisting: boolean;
1740
+ schema: string;
1751
1741
  materialized: boolean;
1752
- using?: string | undefined;
1753
1742
  definition?: string | undefined;
1743
+ using?: string | undefined;
1754
1744
  with?: {
1755
1745
  checkOption?: "local" | "cascaded" | undefined;
1756
1746
  securityBarrier?: boolean | undefined;
@@ -1777,10 +1767,20 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1777
1767
  withNoData?: boolean | undefined;
1778
1768
  tablespace?: string | undefined;
1779
1769
  }> | undefined;
1770
+ internal?: {
1771
+ tables: Record<string, {
1772
+ columns: Record<string, {
1773
+ isDefaultAnExpression?: boolean | undefined;
1774
+ isArray?: boolean | undefined;
1775
+ dimensions?: number | undefined;
1776
+ rawType?: string | undefined;
1777
+ } | undefined>;
1778
+ } | undefined>;
1779
+ } | undefined;
1780
1780
  policies?: Record<string, {
1781
1781
  name: string;
1782
- using?: string | undefined;
1783
1782
  as?: "PERMISSIVE" | "RESTRICTIVE" | undefined;
1783
+ using?: string | undefined;
1784
1784
  schema?: string | undefined;
1785
1785
  for?: "ALL" | "SELECT" | "INSERT" | "UPDATE" | "DELETE" | undefined;
1786
1786
  to?: string[] | undefined;
@@ -1865,15 +1865,15 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
1865
1865
  name: string;
1866
1866
  columns: string[];
1867
1867
  isUnique: boolean;
1868
- using?: "btree" | "hash" | undefined;
1869
1868
  algorithm?: "default" | "inplace" | "copy" | undefined;
1869
+ using?: "btree" | "hash" | undefined;
1870
1870
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1871
1871
  }, {
1872
1872
  name: string;
1873
1873
  columns: string[];
1874
1874
  isUnique: boolean;
1875
- using?: "btree" | "hash" | undefined;
1876
1875
  algorithm?: "default" | "inplace" | "copy" | undefined;
1876
+ using?: "btree" | "hash" | undefined;
1877
1877
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1878
1878
  }>>;
1879
1879
  compositePrimaryKeys: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
@@ -1915,8 +1915,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
1915
1915
  name: string;
1916
1916
  columns: string[];
1917
1917
  isUnique: boolean;
1918
- using?: "btree" | "hash" | undefined;
1919
1918
  algorithm?: "default" | "inplace" | "copy" | undefined;
1919
+ using?: "btree" | "hash" | undefined;
1920
1920
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1921
1921
  }>;
1922
1922
  compositePrimaryKeys: Record<string, {
@@ -1946,8 +1946,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
1946
1946
  name: string;
1947
1947
  columns: string[];
1948
1948
  isUnique: boolean;
1949
- using?: "btree" | "hash" | undefined;
1950
1949
  algorithm?: "default" | "inplace" | "copy" | undefined;
1950
+ using?: "btree" | "hash" | undefined;
1951
1951
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
1952
1952
  }>;
1953
1953
  compositePrimaryKeys: Record<string, {
@@ -2050,8 +2050,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
2050
2050
  name: string;
2051
2051
  columns: string[];
2052
2052
  isUnique: boolean;
2053
- using?: "btree" | "hash" | undefined;
2054
2053
  algorithm?: "default" | "inplace" | "copy" | undefined;
2054
+ using?: "btree" | "hash" | undefined;
2055
2055
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
2056
2056
  }>;
2057
2057
  compositePrimaryKeys: Record<string, {
@@ -2103,8 +2103,8 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
2103
2103
  name: string;
2104
2104
  columns: string[];
2105
2105
  isUnique: boolean;
2106
- using?: "btree" | "hash" | undefined;
2107
2106
  algorithm?: "default" | "inplace" | "copy" | undefined;
2107
+ using?: "btree" | "hash" | undefined;
2108
2108
  lock?: "none" | "default" | "shared" | "exclusive" | undefined;
2109
2109
  }>;
2110
2110
  compositePrimaryKeys: Record<string, {
@@ -2507,10 +2507,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
2507
2507
  prevId: string;
2508
2508
  version: "6";
2509
2509
  dialect: "sqlite";
2510
- _meta: {
2511
- columns: Record<string, string>;
2512
- tables: Record<string, string>;
2513
- };
2514
2510
  views: Record<string, {
2515
2511
  name: string;
2516
2512
  columns: Record<string, {
@@ -2528,6 +2524,10 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
2528
2524
  isExisting: boolean;
2529
2525
  definition?: string | undefined;
2530
2526
  }>;
2527
+ _meta: {
2528
+ columns: Record<string, string>;
2529
+ tables: Record<string, string>;
2530
+ };
2531
2531
  enums: {};
2532
2532
  internal?: {
2533
2533
  indexes?: Record<string, {
@@ -2588,13 +2588,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
2588
2588
  tables: Record<string, string>;
2589
2589
  };
2590
2590
  enums: {};
2591
- internal?: {
2592
- indexes?: Record<string, {
2593
- columns: Record<string, {
2594
- isExpression?: boolean | undefined;
2595
- } | undefined>;
2596
- } | undefined> | undefined;
2597
- } | undefined;
2598
2591
  views?: Record<string, {
2599
2592
  name: string;
2600
2593
  columns: Record<string, {
@@ -2612,6 +2605,13 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
2612
2605
  isExisting: boolean;
2613
2606
  definition?: string | undefined;
2614
2607
  }> | undefined;
2608
+ internal?: {
2609
+ indexes?: Record<string, {
2610
+ columns: Record<string, {
2611
+ isExpression?: boolean | undefined;
2612
+ } | undefined>;
2613
+ } | undefined> | undefined;
2614
+ } | undefined;
2615
2615
  }>;
2616
2616
  type SQLiteSchema = TypeOf<typeof schema>;
2617
2617