drizzle-kit 0.25.0-20acc2f → 0.25.0-22c3e40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drizzle-kit",
3
- "version": "0.25.0-20acc2f",
3
+ "version": "0.25.0-22c3e40",
4
4
  "homepage": "https://orm.drizzle.team",
5
5
  "keywords": [
6
6
  "drizzle",
package/utils.js CHANGED
@@ -4903,10 +4903,6 @@ var uniqueConstraint = objectType({
4903
4903
  name: stringType(),
4904
4904
  columns: stringType().array()
4905
4905
  }).strict();
4906
- var checkConstraint = objectType({
4907
- name: stringType(),
4908
- value: stringType()
4909
- }).strict();
4910
4906
  var tableV4 = objectType({
4911
4907
  name: stringType(),
4912
4908
  schema: stringType().optional(),
@@ -4920,8 +4916,7 @@ var table = objectType({
4920
4916
  indexes: recordType(stringType(), index),
4921
4917
  foreignKeys: recordType(stringType(), fk),
4922
4918
  compositePrimaryKeys: recordType(stringType(), compositePK),
4923
- uniqueConstraints: recordType(stringType(), uniqueConstraint).default({}),
4924
- checkConstraint: recordType(stringType(), checkConstraint).default({})
4919
+ uniqueConstraints: recordType(stringType(), uniqueConstraint).default({})
4925
4920
  }).strict();
4926
4921
  var kitInternals = objectType({
4927
4922
  tables: recordType(
@@ -4998,8 +4993,7 @@ var tableSquashed = objectType({
4998
4993
  indexes: recordType(stringType(), stringType()),
4999
4994
  foreignKeys: recordType(stringType(), stringType()),
5000
4995
  compositePrimaryKeys: recordType(stringType(), stringType()),
5001
- uniqueConstraints: recordType(stringType(), stringType()).default({}),
5002
- checkConstraints: recordType(stringType(), stringType()).default({})
4996
+ uniqueConstraints: recordType(stringType(), stringType()).default({})
5003
4997
  }).strict();
5004
4998
  var schemaSquashed = objectType({
5005
4999
  version: literalType("5"),
@@ -5187,10 +5181,6 @@ var column2 = objectType({
5187
5181
  }).optional(),
5188
5182
  identity: sequenceSchema.merge(objectType({ type: enumType(["always", "byDefault"]) })).optional()
5189
5183
  }).strict();
5190
- var checkConstraint2 = objectType({
5191
- name: stringType(),
5192
- value: stringType()
5193
- }).strict();
5194
5184
  var columnSquashed = objectType({
5195
5185
  name: stringType(),
5196
5186
  type: stringType(),
@@ -5263,8 +5253,7 @@ var table2 = objectType({
5263
5253
  indexes: recordType(stringType(), index2),
5264
5254
  foreignKeys: recordType(stringType(), fk2),
5265
5255
  compositePrimaryKeys: recordType(stringType(), compositePK2),
5266
- uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({}),
5267
- checkConstraints: recordType(stringType(), checkConstraint2).default({})
5256
+ uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({})
5268
5257
  }).strict();
5269
5258
  var schemaHash2 = objectType({
5270
5259
  id: stringType(),
@@ -5372,8 +5361,7 @@ var tableSquashed2 = objectType({
5372
5361
  indexes: recordType(stringType(), stringType()),
5373
5362
  foreignKeys: recordType(stringType(), stringType()),
5374
5363
  compositePrimaryKeys: recordType(stringType(), stringType()),
5375
- uniqueConstraints: recordType(stringType(), stringType()),
5376
- checkConstraints: recordType(stringType(), stringType())
5364
+ uniqueConstraints: recordType(stringType(), stringType())
5377
5365
  }).strict();
5378
5366
  var tableSquashedV42 = objectType({
5379
5367
  name: stringType(),
@@ -5473,18 +5461,13 @@ var uniqueConstraint3 = objectType({
5473
5461
  name: stringType(),
5474
5462
  columns: stringType().array()
5475
5463
  }).strict();
5476
- var checkConstraint3 = objectType({
5477
- name: stringType(),
5478
- value: stringType()
5479
- }).strict();
5480
5464
  var table3 = objectType({
5481
5465
  name: stringType(),
5482
5466
  columns: recordType(stringType(), column3),
5483
5467
  indexes: recordType(stringType(), index3),
5484
5468
  foreignKeys: recordType(stringType(), fk3),
5485
5469
  compositePrimaryKeys: recordType(stringType(), compositePK3),
5486
- uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({}),
5487
- checkConstraints: recordType(stringType(), checkConstraint3).default({})
5470
+ uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({})
5488
5471
  }).strict();
5489
5472
  var dialect2 = enumType(["sqlite"]);
5490
5473
  var schemaHash3 = objectType({
@@ -5546,8 +5529,7 @@ var tableSquashed3 = objectType({
5546
5529
  indexes: recordType(stringType(), stringType()),
5547
5530
  foreignKeys: recordType(stringType(), stringType()),
5548
5531
  compositePrimaryKeys: recordType(stringType(), stringType()),
5549
- uniqueConstraints: recordType(stringType(), stringType()).default({}),
5550
- checkConstraints: recordType(stringType(), stringType()).default({})
5532
+ uniqueConstraints: recordType(stringType(), stringType()).default({})
5551
5533
  }).strict();
5552
5534
  var schemaSquashed2 = objectType({
5553
5535
  version: latestVersion,
package/utils.mjs CHANGED
@@ -4881,10 +4881,6 @@ var uniqueConstraint = objectType({
4881
4881
  name: stringType(),
4882
4882
  columns: stringType().array()
4883
4883
  }).strict();
4884
- var checkConstraint = objectType({
4885
- name: stringType(),
4886
- value: stringType()
4887
- }).strict();
4888
4884
  var tableV4 = objectType({
4889
4885
  name: stringType(),
4890
4886
  schema: stringType().optional(),
@@ -4898,8 +4894,7 @@ var table = objectType({
4898
4894
  indexes: recordType(stringType(), index),
4899
4895
  foreignKeys: recordType(stringType(), fk),
4900
4896
  compositePrimaryKeys: recordType(stringType(), compositePK),
4901
- uniqueConstraints: recordType(stringType(), uniqueConstraint).default({}),
4902
- checkConstraint: recordType(stringType(), checkConstraint).default({})
4897
+ uniqueConstraints: recordType(stringType(), uniqueConstraint).default({})
4903
4898
  }).strict();
4904
4899
  var kitInternals = objectType({
4905
4900
  tables: recordType(
@@ -4976,8 +4971,7 @@ var tableSquashed = objectType({
4976
4971
  indexes: recordType(stringType(), stringType()),
4977
4972
  foreignKeys: recordType(stringType(), stringType()),
4978
4973
  compositePrimaryKeys: recordType(stringType(), stringType()),
4979
- uniqueConstraints: recordType(stringType(), stringType()).default({}),
4980
- checkConstraints: recordType(stringType(), stringType()).default({})
4974
+ uniqueConstraints: recordType(stringType(), stringType()).default({})
4981
4975
  }).strict();
4982
4976
  var schemaSquashed = objectType({
4983
4977
  version: literalType("5"),
@@ -5165,10 +5159,6 @@ var column2 = objectType({
5165
5159
  }).optional(),
5166
5160
  identity: sequenceSchema.merge(objectType({ type: enumType(["always", "byDefault"]) })).optional()
5167
5161
  }).strict();
5168
- var checkConstraint2 = objectType({
5169
- name: stringType(),
5170
- value: stringType()
5171
- }).strict();
5172
5162
  var columnSquashed = objectType({
5173
5163
  name: stringType(),
5174
5164
  type: stringType(),
@@ -5241,8 +5231,7 @@ var table2 = objectType({
5241
5231
  indexes: recordType(stringType(), index2),
5242
5232
  foreignKeys: recordType(stringType(), fk2),
5243
5233
  compositePrimaryKeys: recordType(stringType(), compositePK2),
5244
- uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({}),
5245
- checkConstraints: recordType(stringType(), checkConstraint2).default({})
5234
+ uniqueConstraints: recordType(stringType(), uniqueConstraint2).default({})
5246
5235
  }).strict();
5247
5236
  var schemaHash2 = objectType({
5248
5237
  id: stringType(),
@@ -5350,8 +5339,7 @@ var tableSquashed2 = objectType({
5350
5339
  indexes: recordType(stringType(), stringType()),
5351
5340
  foreignKeys: recordType(stringType(), stringType()),
5352
5341
  compositePrimaryKeys: recordType(stringType(), stringType()),
5353
- uniqueConstraints: recordType(stringType(), stringType()),
5354
- checkConstraints: recordType(stringType(), stringType())
5342
+ uniqueConstraints: recordType(stringType(), stringType())
5355
5343
  }).strict();
5356
5344
  var tableSquashedV42 = objectType({
5357
5345
  name: stringType(),
@@ -5451,18 +5439,13 @@ var uniqueConstraint3 = objectType({
5451
5439
  name: stringType(),
5452
5440
  columns: stringType().array()
5453
5441
  }).strict();
5454
- var checkConstraint3 = objectType({
5455
- name: stringType(),
5456
- value: stringType()
5457
- }).strict();
5458
5442
  var table3 = objectType({
5459
5443
  name: stringType(),
5460
5444
  columns: recordType(stringType(), column3),
5461
5445
  indexes: recordType(stringType(), index3),
5462
5446
  foreignKeys: recordType(stringType(), fk3),
5463
5447
  compositePrimaryKeys: recordType(stringType(), compositePK3),
5464
- uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({}),
5465
- checkConstraints: recordType(stringType(), checkConstraint3).default({})
5448
+ uniqueConstraints: recordType(stringType(), uniqueConstraint3).default({})
5466
5449
  }).strict();
5467
5450
  var dialect2 = enumType(["sqlite"]);
5468
5451
  var schemaHash3 = objectType({
@@ -5524,8 +5507,7 @@ var tableSquashed3 = objectType({
5524
5507
  indexes: recordType(stringType(), stringType()),
5525
5508
  foreignKeys: recordType(stringType(), stringType()),
5526
5509
  compositePrimaryKeys: recordType(stringType(), stringType()),
5527
- uniqueConstraints: recordType(stringType(), stringType()).default({}),
5528
- checkConstraints: recordType(stringType(), stringType()).default({})
5510
+ uniqueConstraints: recordType(stringType(), stringType()).default({})
5529
5511
  }).strict();
5530
5512
  var schemaSquashed2 = objectType({
5531
5513
  version: latestVersion,