drizzle-kit 0.25.0-5a1c5d3 → 0.25.0-605ef48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. package/api.d.mts +0 -82
  2. package/api.d.ts +0 -82
  3. package/api.js +170 -687
  4. package/api.mjs +170 -687
  5. package/bin.cjs +103 -757
  6. package/package.json +1 -1
  7. package/utils.js +6 -24
  8. package/utils.mjs +6 -24
package/api.d.mts CHANGED
@@ -119,16 +119,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
119
119
  name: string;
120
120
  columns: string[];
121
121
  }>>>;
122
- checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
123
- name: zod.ZodString;
124
- value: zod.ZodString;
125
- }, "strict", zod.ZodTypeAny, {
126
- name: string;
127
- value: string;
128
- }, {
129
- name: string;
130
- value: string;
131
- }>>>;
132
122
  }, "strict", zod.ZodTypeAny, {
133
123
  name: string;
134
124
  columns: Record<string, {
@@ -169,10 +159,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
169
159
  name: string;
170
160
  columns: string[];
171
161
  }>;
172
- checkConstraint: Record<string, {
173
- name: string;
174
- value: string;
175
- }>;
176
162
  }, {
177
163
  name: string;
178
164
  columns: Record<string, {
@@ -213,10 +199,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
213
199
  name: string;
214
200
  columns: string[];
215
201
  }> | undefined;
216
- checkConstraint?: Record<string, {
217
- name: string;
218
- value: string;
219
- }> | undefined;
220
202
  }>>;
221
203
  _meta: zod.ZodObject<{
222
204
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -330,10 +312,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
330
312
  name: string;
331
313
  columns: string[];
332
314
  }>;
333
- checkConstraint: Record<string, {
334
- name: string;
335
- value: string;
336
- }>;
337
315
  }>;
338
316
  id: string;
339
317
  prevId: string;
@@ -396,10 +374,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
396
374
  name: string;
397
375
  columns: string[];
398
376
  }> | undefined;
399
- checkConstraint?: Record<string, {
400
- name: string;
401
- value: string;
402
- }> | undefined;
403
377
  }>;
404
378
  id: string;
405
379
  prevId: string;
@@ -639,16 +613,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
639
613
  columns: string[];
640
614
  nullsNotDistinct: boolean;
641
615
  }>>>;
642
- checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
643
- name: zod.ZodString;
644
- value: zod.ZodString;
645
- }, "strict", zod.ZodTypeAny, {
646
- name: string;
647
- value: string;
648
- }, {
649
- name: string;
650
- value: string;
651
- }>>>;
652
616
  }, "strict", zod.ZodTypeAny, {
653
617
  name: string;
654
618
  columns: Record<string, {
@@ -712,10 +676,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
712
676
  columns: string[];
713
677
  nullsNotDistinct: boolean;
714
678
  }>;
715
- checkConstraints: Record<string, {
716
- name: string;
717
- value: string;
718
- }>;
719
679
  }, {
720
680
  name: string;
721
681
  columns: Record<string, {
@@ -779,10 +739,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
779
739
  columns: string[];
780
740
  nullsNotDistinct: boolean;
781
741
  }> | undefined;
782
- checkConstraints?: Record<string, {
783
- name: string;
784
- value: string;
785
- }> | undefined;
786
742
  }>>;
787
743
  enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
788
744
  name: zod.ZodString;
@@ -958,10 +914,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
958
914
  columns: string[];
959
915
  nullsNotDistinct: boolean;
960
916
  }>;
961
- checkConstraints: Record<string, {
962
- name: string;
963
- value: string;
964
- }>;
965
917
  }>;
966
918
  id: string;
967
919
  prevId: string;
@@ -1062,10 +1014,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1062
1014
  columns: string[];
1063
1015
  nullsNotDistinct: boolean;
1064
1016
  }> | undefined;
1065
- checkConstraints?: Record<string, {
1066
- name: string;
1067
- value: string;
1068
- }> | undefined;
1069
1017
  }>;
1070
1018
  id: string;
1071
1019
  prevId: string;
@@ -1211,16 +1159,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1211
1159
  name: string;
1212
1160
  columns: string[];
1213
1161
  }>>>;
1214
- checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1215
- name: zod.ZodString;
1216
- value: zod.ZodString;
1217
- }, "strict", zod.ZodTypeAny, {
1218
- name: string;
1219
- value: string;
1220
- }, {
1221
- name: string;
1222
- value: string;
1223
- }>>>;
1224
1162
  }, "strict", zod.ZodTypeAny, {
1225
1163
  name: string;
1226
1164
  columns: Record<string, {
@@ -1258,10 +1196,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1258
1196
  name: string;
1259
1197
  columns: string[];
1260
1198
  }>;
1261
- checkConstraints: Record<string, {
1262
- name: string;
1263
- value: string;
1264
- }>;
1265
1199
  }, {
1266
1200
  name: string;
1267
1201
  columns: Record<string, {
@@ -1299,10 +1233,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1299
1233
  name: string;
1300
1234
  columns: string[];
1301
1235
  }> | undefined;
1302
- checkConstraints?: Record<string, {
1303
- name: string;
1304
- value: string;
1305
- }> | undefined;
1306
1236
  }>>;
1307
1237
  enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
1308
1238
  _meta: zod.ZodObject<{
@@ -1387,10 +1317,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1387
1317
  name: string;
1388
1318
  columns: string[];
1389
1319
  }>;
1390
- checkConstraints: Record<string, {
1391
- name: string;
1392
- value: string;
1393
- }>;
1394
1320
  }>;
1395
1321
  id: string;
1396
1322
  prevId: string;
@@ -1446,10 +1372,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1446
1372
  name: string;
1447
1373
  columns: string[];
1448
1374
  }> | undefined;
1449
- checkConstraints?: Record<string, {
1450
- name: string;
1451
- value: string;
1452
- }> | undefined;
1453
1375
  }>;
1454
1376
  id: string;
1455
1377
  prevId: string;
@@ -1563,10 +1485,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1563
1485
  columns: string[];
1564
1486
  nullsNotDistinct: boolean;
1565
1487
  }>;
1566
- checkConstraints: Record<string, {
1567
- value: string;
1568
- name: string;
1569
- }>;
1570
1488
  }>;
1571
1489
  enums: Record<string, {
1572
1490
  values: string[];
package/api.d.ts CHANGED
@@ -119,16 +119,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
119
119
  name: string;
120
120
  columns: string[];
121
121
  }>>>;
122
- checkConstraint: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
123
- name: zod.ZodString;
124
- value: zod.ZodString;
125
- }, "strict", zod.ZodTypeAny, {
126
- name: string;
127
- value: string;
128
- }, {
129
- name: string;
130
- value: string;
131
- }>>>;
132
122
  }, "strict", zod.ZodTypeAny, {
133
123
  name: string;
134
124
  columns: Record<string, {
@@ -169,10 +159,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
169
159
  name: string;
170
160
  columns: string[];
171
161
  }>;
172
- checkConstraint: Record<string, {
173
- name: string;
174
- value: string;
175
- }>;
176
162
  }, {
177
163
  name: string;
178
164
  columns: Record<string, {
@@ -213,10 +199,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
213
199
  name: string;
214
200
  columns: string[];
215
201
  }> | undefined;
216
- checkConstraint?: Record<string, {
217
- name: string;
218
- value: string;
219
- }> | undefined;
220
202
  }>>;
221
203
  _meta: zod.ZodObject<{
222
204
  tables: zod.ZodRecord<zod.ZodString, zod.ZodString>;
@@ -330,10 +312,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
330
312
  name: string;
331
313
  columns: string[];
332
314
  }>;
333
- checkConstraint: Record<string, {
334
- name: string;
335
- value: string;
336
- }>;
337
315
  }>;
338
316
  id: string;
339
317
  prevId: string;
@@ -396,10 +374,6 @@ declare const schema$1: zod.ZodObject<zod.objectUtil.extendShape<{
396
374
  name: string;
397
375
  columns: string[];
398
376
  }> | undefined;
399
- checkConstraint?: Record<string, {
400
- name: string;
401
- value: string;
402
- }> | undefined;
403
377
  }>;
404
378
  id: string;
405
379
  prevId: string;
@@ -639,16 +613,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
639
613
  columns: string[];
640
614
  nullsNotDistinct: boolean;
641
615
  }>>>;
642
- checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
643
- name: zod.ZodString;
644
- value: zod.ZodString;
645
- }, "strict", zod.ZodTypeAny, {
646
- name: string;
647
- value: string;
648
- }, {
649
- name: string;
650
- value: string;
651
- }>>>;
652
616
  }, "strict", zod.ZodTypeAny, {
653
617
  name: string;
654
618
  columns: Record<string, {
@@ -712,10 +676,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
712
676
  columns: string[];
713
677
  nullsNotDistinct: boolean;
714
678
  }>;
715
- checkConstraints: Record<string, {
716
- name: string;
717
- value: string;
718
- }>;
719
679
  }, {
720
680
  name: string;
721
681
  columns: Record<string, {
@@ -779,10 +739,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
779
739
  columns: string[];
780
740
  nullsNotDistinct: boolean;
781
741
  }> | undefined;
782
- checkConstraints?: Record<string, {
783
- name: string;
784
- value: string;
785
- }> | undefined;
786
742
  }>>;
787
743
  enums: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
788
744
  name: zod.ZodString;
@@ -958,10 +914,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
958
914
  columns: string[];
959
915
  nullsNotDistinct: boolean;
960
916
  }>;
961
- checkConstraints: Record<string, {
962
- name: string;
963
- value: string;
964
- }>;
965
917
  }>;
966
918
  id: string;
967
919
  prevId: string;
@@ -1062,10 +1014,6 @@ declare const pgSchema: zod.ZodObject<zod.objectUtil.extendShape<{
1062
1014
  columns: string[];
1063
1015
  nullsNotDistinct: boolean;
1064
1016
  }> | undefined;
1065
- checkConstraints?: Record<string, {
1066
- name: string;
1067
- value: string;
1068
- }> | undefined;
1069
1017
  }>;
1070
1018
  id: string;
1071
1019
  prevId: string;
@@ -1211,16 +1159,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1211
1159
  name: string;
1212
1160
  columns: string[];
1213
1161
  }>>>;
1214
- checkConstraints: zod.ZodDefault<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
1215
- name: zod.ZodString;
1216
- value: zod.ZodString;
1217
- }, "strict", zod.ZodTypeAny, {
1218
- name: string;
1219
- value: string;
1220
- }, {
1221
- name: string;
1222
- value: string;
1223
- }>>>;
1224
1162
  }, "strict", zod.ZodTypeAny, {
1225
1163
  name: string;
1226
1164
  columns: Record<string, {
@@ -1258,10 +1196,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1258
1196
  name: string;
1259
1197
  columns: string[];
1260
1198
  }>;
1261
- checkConstraints: Record<string, {
1262
- name: string;
1263
- value: string;
1264
- }>;
1265
1199
  }, {
1266
1200
  name: string;
1267
1201
  columns: Record<string, {
@@ -1299,10 +1233,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1299
1233
  name: string;
1300
1234
  columns: string[];
1301
1235
  }> | undefined;
1302
- checkConstraints?: Record<string, {
1303
- name: string;
1304
- value: string;
1305
- }> | undefined;
1306
1236
  }>>;
1307
1237
  enums: zod.ZodObject<{}, "strip", zod.ZodTypeAny, {}, {}>;
1308
1238
  _meta: zod.ZodObject<{
@@ -1387,10 +1317,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1387
1317
  name: string;
1388
1318
  columns: string[];
1389
1319
  }>;
1390
- checkConstraints: Record<string, {
1391
- name: string;
1392
- value: string;
1393
- }>;
1394
1320
  }>;
1395
1321
  id: string;
1396
1322
  prevId: string;
@@ -1446,10 +1372,6 @@ declare const schema: zod.ZodObject<zod.objectUtil.extendShape<{
1446
1372
  name: string;
1447
1373
  columns: string[];
1448
1374
  }> | undefined;
1449
- checkConstraints?: Record<string, {
1450
- name: string;
1451
- value: string;
1452
- }> | undefined;
1453
1375
  }>;
1454
1376
  id: string;
1455
1377
  prevId: string;
@@ -1563,10 +1485,6 @@ declare const upPgSnapshot: (snapshot: Record<string, unknown>) => {
1563
1485
  columns: string[];
1564
1486
  nullsNotDistinct: boolean;
1565
1487
  }>;
1566
- checkConstraints: Record<string, {
1567
- value: string;
1568
- name: string;
1569
- }>;
1570
1488
  }>;
1571
1489
  enums: Record<string, {
1572
1490
  values: string[];