drizzle-kit 0.25.0-5a1c5d3 → 0.25.0-605ef48
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.
- package/api.d.mts +0 -82
- package/api.d.ts +0 -82
- package/api.js +170 -687
- package/api.mjs +170 -687
- package/bin.cjs +103 -757
- package/package.json +1 -1
- package/utils.js +6 -24
- package/utils.mjs +6 -24
package/package.json
CHANGED
package/utils.js
CHANGED
@@ -4901,10 +4901,6 @@ var uniqueConstraint = objectType({
|
|
4901
4901
|
name: stringType(),
|
4902
4902
|
columns: stringType().array()
|
4903
4903
|
}).strict();
|
4904
|
-
var checkConstraint = objectType({
|
4905
|
-
name: stringType(),
|
4906
|
-
value: stringType()
|
4907
|
-
}).strict();
|
4908
4904
|
var tableV4 = objectType({
|
4909
4905
|
name: stringType(),
|
4910
4906
|
schema: stringType().optional(),
|
@@ -4918,8 +4914,7 @@ var table = objectType({
|
|
4918
4914
|
indexes: recordType(stringType(), index),
|
4919
4915
|
foreignKeys: recordType(stringType(), fk),
|
4920
4916
|
compositePrimaryKeys: recordType(stringType(), compositePK),
|
4921
|
-
uniqueConstraints: recordType(stringType(), uniqueConstraint).default({})
|
4922
|
-
checkConstraint: recordType(stringType(), checkConstraint).default({})
|
4917
|
+
uniqueConstraints: recordType(stringType(), uniqueConstraint).default({})
|
4923
4918
|
}).strict();
|
4924
4919
|
var kitInternals = objectType({
|
4925
4920
|
tables: recordType(
|
@@ -4996,8 +4991,7 @@ var tableSquashed = objectType({
|
|
4996
4991
|
indexes: recordType(stringType(), stringType()),
|
4997
4992
|
foreignKeys: recordType(stringType(), stringType()),
|
4998
4993
|
compositePrimaryKeys: recordType(stringType(), stringType()),
|
4999
|
-
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
5000
|
-
checkConstraints: recordType(stringType(), stringType()).default({})
|
4994
|
+
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
5001
4995
|
}).strict();
|
5002
4996
|
var schemaSquashed = objectType({
|
5003
4997
|
version: literalType("5"),
|
@@ -5185,10 +5179,6 @@ var column2 = objectType({
|
|
5185
5179
|
}).optional(),
|
5186
5180
|
identity: sequenceSchema.merge(objectType({ type: enumType(["always", "byDefault"]) })).optional()
|
5187
5181
|
}).strict();
|
5188
|
-
var checkConstraint2 = objectType({
|
5189
|
-
name: stringType(),
|
5190
|
-
value: stringType()
|
5191
|
-
}).strict();
|
5192
5182
|
var columnSquashed = objectType({
|
5193
5183
|
name: stringType(),
|
5194
5184
|
type: stringType(),
|
@@ -5261,8 +5251,7 @@ var table2 = objectType({
|
|
5261
5251
|
indexes: recordType(stringType(), index2),
|
5262
5252
|
foreignKeys: recordType(stringType(), fk2),
|
5263
5253
|
compositePrimaryKeys: recordType(stringType(), compositePK2),
|
5264
|
-
uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({})
|
5265
|
-
checkConstraints: recordType(stringType(), checkConstraint2).default({})
|
5254
|
+
uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({})
|
5266
5255
|
}).strict();
|
5267
5256
|
var schemaHash2 = objectType({
|
5268
5257
|
id: stringType(),
|
@@ -5370,8 +5359,7 @@ var tableSquashed2 = objectType({
|
|
5370
5359
|
indexes: recordType(stringType(), stringType()),
|
5371
5360
|
foreignKeys: recordType(stringType(), stringType()),
|
5372
5361
|
compositePrimaryKeys: recordType(stringType(), stringType()),
|
5373
|
-
uniqueConstraints: recordType(stringType(), stringType())
|
5374
|
-
checkConstraints: recordType(stringType(), stringType())
|
5362
|
+
uniqueConstraints: recordType(stringType(), stringType())
|
5375
5363
|
}).strict();
|
5376
5364
|
var tableSquashedV42 = objectType({
|
5377
5365
|
name: stringType(),
|
@@ -5471,18 +5459,13 @@ var uniqueConstraint3 = objectType({
|
|
5471
5459
|
name: stringType(),
|
5472
5460
|
columns: stringType().array()
|
5473
5461
|
}).strict();
|
5474
|
-
var checkConstraint3 = objectType({
|
5475
|
-
name: stringType(),
|
5476
|
-
value: stringType()
|
5477
|
-
}).strict();
|
5478
5462
|
var table3 = objectType({
|
5479
5463
|
name: stringType(),
|
5480
5464
|
columns: recordType(stringType(), column3),
|
5481
5465
|
indexes: recordType(stringType(), index3),
|
5482
5466
|
foreignKeys: recordType(stringType(), fk3),
|
5483
5467
|
compositePrimaryKeys: recordType(stringType(), compositePK3),
|
5484
|
-
uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({})
|
5485
|
-
checkConstraints: recordType(stringType(), checkConstraint3).default({})
|
5468
|
+
uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({})
|
5486
5469
|
}).strict();
|
5487
5470
|
var dialect2 = enumType(["sqlite"]);
|
5488
5471
|
var schemaHash3 = objectType({
|
@@ -5544,8 +5527,7 @@ var tableSquashed3 = objectType({
|
|
5544
5527
|
indexes: recordType(stringType(), stringType()),
|
5545
5528
|
foreignKeys: recordType(stringType(), stringType()),
|
5546
5529
|
compositePrimaryKeys: recordType(stringType(), stringType()),
|
5547
|
-
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
5548
|
-
checkConstraints: recordType(stringType(), stringType()).default({})
|
5530
|
+
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
5549
5531
|
}).strict();
|
5550
5532
|
var schemaSquashed2 = objectType({
|
5551
5533
|
version: latestVersion,
|
package/utils.mjs
CHANGED
@@ -4880,10 +4880,6 @@ var uniqueConstraint = objectType({
|
|
4880
4880
|
name: stringType(),
|
4881
4881
|
columns: stringType().array()
|
4882
4882
|
}).strict();
|
4883
|
-
var checkConstraint = objectType({
|
4884
|
-
name: stringType(),
|
4885
|
-
value: stringType()
|
4886
|
-
}).strict();
|
4887
4883
|
var tableV4 = objectType({
|
4888
4884
|
name: stringType(),
|
4889
4885
|
schema: stringType().optional(),
|
@@ -4897,8 +4893,7 @@ var table = objectType({
|
|
4897
4893
|
indexes: recordType(stringType(), index),
|
4898
4894
|
foreignKeys: recordType(stringType(), fk),
|
4899
4895
|
compositePrimaryKeys: recordType(stringType(), compositePK),
|
4900
|
-
uniqueConstraints: recordType(stringType(), uniqueConstraint).default({})
|
4901
|
-
checkConstraint: recordType(stringType(), checkConstraint).default({})
|
4896
|
+
uniqueConstraints: recordType(stringType(), uniqueConstraint).default({})
|
4902
4897
|
}).strict();
|
4903
4898
|
var kitInternals = objectType({
|
4904
4899
|
tables: recordType(
|
@@ -4975,8 +4970,7 @@ var tableSquashed = objectType({
|
|
4975
4970
|
indexes: recordType(stringType(), stringType()),
|
4976
4971
|
foreignKeys: recordType(stringType(), stringType()),
|
4977
4972
|
compositePrimaryKeys: recordType(stringType(), stringType()),
|
4978
|
-
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
4979
|
-
checkConstraints: recordType(stringType(), stringType()).default({})
|
4973
|
+
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
4980
4974
|
}).strict();
|
4981
4975
|
var schemaSquashed = objectType({
|
4982
4976
|
version: literalType("5"),
|
@@ -5164,10 +5158,6 @@ var column2 = objectType({
|
|
5164
5158
|
}).optional(),
|
5165
5159
|
identity: sequenceSchema.merge(objectType({ type: enumType(["always", "byDefault"]) })).optional()
|
5166
5160
|
}).strict();
|
5167
|
-
var checkConstraint2 = objectType({
|
5168
|
-
name: stringType(),
|
5169
|
-
value: stringType()
|
5170
|
-
}).strict();
|
5171
5161
|
var columnSquashed = objectType({
|
5172
5162
|
name: stringType(),
|
5173
5163
|
type: stringType(),
|
@@ -5240,8 +5230,7 @@ var table2 = objectType({
|
|
5240
5230
|
indexes: recordType(stringType(), index2),
|
5241
5231
|
foreignKeys: recordType(stringType(), fk2),
|
5242
5232
|
compositePrimaryKeys: recordType(stringType(), compositePK2),
|
5243
|
-
uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({})
|
5244
|
-
checkConstraints: recordType(stringType(), checkConstraint2).default({})
|
5233
|
+
uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({})
|
5245
5234
|
}).strict();
|
5246
5235
|
var schemaHash2 = objectType({
|
5247
5236
|
id: stringType(),
|
@@ -5349,8 +5338,7 @@ var tableSquashed2 = objectType({
|
|
5349
5338
|
indexes: recordType(stringType(), stringType()),
|
5350
5339
|
foreignKeys: recordType(stringType(), stringType()),
|
5351
5340
|
compositePrimaryKeys: recordType(stringType(), stringType()),
|
5352
|
-
uniqueConstraints: recordType(stringType(), stringType())
|
5353
|
-
checkConstraints: recordType(stringType(), stringType())
|
5341
|
+
uniqueConstraints: recordType(stringType(), stringType())
|
5354
5342
|
}).strict();
|
5355
5343
|
var tableSquashedV42 = objectType({
|
5356
5344
|
name: stringType(),
|
@@ -5450,18 +5438,13 @@ var uniqueConstraint3 = objectType({
|
|
5450
5438
|
name: stringType(),
|
5451
5439
|
columns: stringType().array()
|
5452
5440
|
}).strict();
|
5453
|
-
var checkConstraint3 = objectType({
|
5454
|
-
name: stringType(),
|
5455
|
-
value: stringType()
|
5456
|
-
}).strict();
|
5457
5441
|
var table3 = objectType({
|
5458
5442
|
name: stringType(),
|
5459
5443
|
columns: recordType(stringType(), column3),
|
5460
5444
|
indexes: recordType(stringType(), index3),
|
5461
5445
|
foreignKeys: recordType(stringType(), fk3),
|
5462
5446
|
compositePrimaryKeys: recordType(stringType(), compositePK3),
|
5463
|
-
uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({})
|
5464
|
-
checkConstraints: recordType(stringType(), checkConstraint3).default({})
|
5447
|
+
uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({})
|
5465
5448
|
}).strict();
|
5466
5449
|
var dialect2 = enumType(["sqlite"]);
|
5467
5450
|
var schemaHash3 = objectType({
|
@@ -5523,8 +5506,7 @@ var tableSquashed3 = objectType({
|
|
5523
5506
|
indexes: recordType(stringType(), stringType()),
|
5524
5507
|
foreignKeys: recordType(stringType(), stringType()),
|
5525
5508
|
compositePrimaryKeys: recordType(stringType(), stringType()),
|
5526
|
-
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
5527
|
-
checkConstraints: recordType(stringType(), stringType()).default({})
|
5509
|
+
uniqueConstraints: recordType(stringType(), stringType()).default({})
|
5528
5510
|
}).strict();
|
5529
5511
|
var schemaSquashed2 = objectType({
|
5530
5512
|
version: latestVersion,
|