drizzle-kit 0.31.7-82993ae → 0.31.7-b9d7199
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.js +13 -56
- package/api.mjs +13 -56
- package/bin.cjs +5 -4
- package/package.json +1 -1
package/api.js
CHANGED
|
@@ -828,7 +828,7 @@ var version;
|
|
|
828
828
|
var init_version = __esm({
|
|
829
829
|
"../drizzle-orm/dist/version.js"() {
|
|
830
830
|
"use strict";
|
|
831
|
-
version = "0.
|
|
831
|
+
version = "0.44.7";
|
|
832
832
|
}
|
|
833
833
|
});
|
|
834
834
|
|
|
@@ -1628,8 +1628,6 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
|
1628
1628
|
decoder2 = field;
|
|
1629
1629
|
} else if (is(field, SQL)) {
|
|
1630
1630
|
decoder2 = field.decoder;
|
|
1631
|
-
} else if (is(field, Subquery)) {
|
|
1632
|
-
decoder2 = field._.sql.decoder;
|
|
1633
1631
|
} else {
|
|
1634
1632
|
decoder2 = field.sql.decoder;
|
|
1635
1633
|
}
|
|
@@ -1672,7 +1670,7 @@ function orderSelectedFields(fields, pathPrefix) {
|
|
|
1672
1670
|
return result;
|
|
1673
1671
|
}
|
|
1674
1672
|
const newPath = pathPrefix ? [...pathPrefix, name3] : [name3];
|
|
1675
|
-
if (is(field, Column) || is(field, SQL) || is(field, SQL.Aliased)
|
|
1673
|
+
if (is(field, Column) || is(field, SQL) || is(field, SQL.Aliased)) {
|
|
1676
1674
|
result.push({ path: newPath, field });
|
|
1677
1675
|
} else if (is(field, Table)) {
|
|
1678
1676
|
result.push(...orderSelectedFields(field[Table.Symbol.Columns], newPath));
|
|
@@ -6043,8 +6041,8 @@ var init_indexes = __esm({
|
|
|
6043
6041
|
this.config.using = using;
|
|
6044
6042
|
return this;
|
|
6045
6043
|
}
|
|
6046
|
-
|
|
6047
|
-
this.config.
|
|
6044
|
+
algorythm(algorythm) {
|
|
6045
|
+
this.config.algorythm = algorythm;
|
|
6048
6046
|
return this;
|
|
6049
6047
|
}
|
|
6050
6048
|
lock(lock) {
|
|
@@ -6650,16 +6648,6 @@ var init_dialect = __esm({
|
|
|
6650
6648
|
} else {
|
|
6651
6649
|
chunk.push(field);
|
|
6652
6650
|
}
|
|
6653
|
-
} else if (is(field, Subquery)) {
|
|
6654
|
-
const entries = Object.entries(field._.selectedFields);
|
|
6655
|
-
if (entries.length === 1) {
|
|
6656
|
-
const entry = entries[0][1];
|
|
6657
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
6658
|
-
if (fieldDecoder) {
|
|
6659
|
-
field._.sql.decoder = fieldDecoder;
|
|
6660
|
-
}
|
|
6661
|
-
}
|
|
6662
|
-
chunk.push(field);
|
|
6663
6651
|
}
|
|
6664
6652
|
if (i8 < columnsLen - 1) {
|
|
6665
6653
|
chunk.push(sql`, `);
|
|
@@ -9730,16 +9718,6 @@ var init_dialect2 = __esm({
|
|
|
9730
9718
|
} else {
|
|
9731
9719
|
chunk.push(field);
|
|
9732
9720
|
}
|
|
9733
|
-
} else if (is(field, Subquery)) {
|
|
9734
|
-
const entries = Object.entries(field._.selectedFields);
|
|
9735
|
-
if (entries.length === 1) {
|
|
9736
|
-
const entry = entries[0][1];
|
|
9737
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
9738
|
-
if (fieldDecoder) {
|
|
9739
|
-
field._.sql.decoder = fieldDecoder;
|
|
9740
|
-
}
|
|
9741
|
-
}
|
|
9742
|
-
chunk.push(field);
|
|
9743
9721
|
}
|
|
9744
9722
|
if (i8 < columnsLen - 1) {
|
|
9745
9723
|
chunk.push(sql`, `);
|
|
@@ -15284,8 +15262,8 @@ var init_indexes3 = __esm({
|
|
|
15284
15262
|
this.config.using = using;
|
|
15285
15263
|
return this;
|
|
15286
15264
|
}
|
|
15287
|
-
|
|
15288
|
-
this.config.
|
|
15265
|
+
algorythm(algorythm) {
|
|
15266
|
+
this.config.algorythm = algorythm;
|
|
15289
15267
|
return this;
|
|
15290
15268
|
}
|
|
15291
15269
|
lock(lock) {
|
|
@@ -15904,16 +15882,6 @@ var init_dialect3 = __esm({
|
|
|
15904
15882
|
} else {
|
|
15905
15883
|
chunk.push(field);
|
|
15906
15884
|
}
|
|
15907
|
-
} else if (is(field, Subquery)) {
|
|
15908
|
-
const entries = Object.entries(field._.selectedFields);
|
|
15909
|
-
if (entries.length === 1) {
|
|
15910
|
-
const entry = entries[0][1];
|
|
15911
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
15912
|
-
if (fieldDecoder) {
|
|
15913
|
-
field._.sql.decoder = fieldDecoder;
|
|
15914
|
-
}
|
|
15915
|
-
}
|
|
15916
|
-
chunk.push(field);
|
|
15917
15885
|
}
|
|
15918
15886
|
if (i8 < columnsLen - 1) {
|
|
15919
15887
|
chunk.push(sql`, `);
|
|
@@ -18947,9 +18915,6 @@ var init_dialect4 = __esm({
|
|
|
18947
18915
|
new SQL(
|
|
18948
18916
|
query.queryChunks.map((c6) => {
|
|
18949
18917
|
if (is(c6, Column)) {
|
|
18950
|
-
if (c6.columnType === "SQLiteNumericBigInt") {
|
|
18951
|
-
return chunk.push(sql`cast(${sql.identifier(this.casing.getColumnCasing(c6))} as text)`);
|
|
18952
|
-
}
|
|
18953
18918
|
return sql.identifier(this.casing.getColumnCasing(c6));
|
|
18954
18919
|
}
|
|
18955
18920
|
return c6;
|
|
@@ -18979,14 +18944,6 @@ var init_dialect4 = __esm({
|
|
|
18979
18944
|
chunk.push(sql`${sql.identifier(tableName)}.${sql.identifier(this.casing.getColumnCasing(field))}`);
|
|
18980
18945
|
}
|
|
18981
18946
|
}
|
|
18982
|
-
} else if (is(field, Subquery)) {
|
|
18983
|
-
const entries = Object.entries(field._.selectedFields);
|
|
18984
|
-
if (entries.length === 1) {
|
|
18985
|
-
const entry = entries[0][1];
|
|
18986
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
18987
|
-
if (fieldDecoder) field._.sql.decoder = fieldDecoder;
|
|
18988
|
-
}
|
|
18989
|
-
chunk.push(field);
|
|
18990
18947
|
}
|
|
18991
18948
|
if (i8 < columnsLen - 1) {
|
|
18992
18949
|
chunk.push(sql`, `);
|
|
@@ -44655,7 +44612,8 @@ WHERE
|
|
|
44655
44612
|
WHERE
|
|
44656
44613
|
tc.table_name = '${tableName}'
|
|
44657
44614
|
AND tc.constraint_schema = '${tableSchema}'
|
|
44658
|
-
AND tc.constraint_type = 'CHECK'
|
|
44615
|
+
AND tc.constraint_type = 'CHECK'
|
|
44616
|
+
AND con.contype = 'c';`);
|
|
44659
44617
|
columnsCount += tableResponse.length;
|
|
44660
44618
|
if (progressCallback) {
|
|
44661
44619
|
progressCallback("columns", columnsCount, "fetching");
|
|
@@ -46352,7 +46310,7 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
|
46352
46310
|
columns: indexColumns,
|
|
46353
46311
|
isUnique: value.config.unique ?? false,
|
|
46354
46312
|
using: value.config.using,
|
|
46355
|
-
algorithm: value.config.
|
|
46313
|
+
algorithm: value.config.algorythm,
|
|
46356
46314
|
lock: value.config.lock
|
|
46357
46315
|
};
|
|
46358
46316
|
});
|
|
@@ -47483,7 +47441,7 @@ The unique index ${source_default.underline.blue(
|
|
|
47483
47441
|
columns: indexColumns,
|
|
47484
47442
|
isUnique: value.config.unique ?? false,
|
|
47485
47443
|
using: value.config.using,
|
|
47486
|
-
algorithm: value.config.
|
|
47444
|
+
algorithm: value.config.algorythm,
|
|
47487
47445
|
lock: value.config.lock
|
|
47488
47446
|
};
|
|
47489
47447
|
});
|
|
@@ -97851,7 +97809,7 @@ var init_core = __esm({
|
|
|
97851
97809
|
});
|
|
97852
97810
|
|
|
97853
97811
|
// ../drizzle-orm/dist/node-postgres/session.js
|
|
97854
|
-
var Pool2, types4,
|
|
97812
|
+
var Pool2, types4, _a461, _b335, NodePgPreparedQuery, _a462, _b336, _NodePgSession, NodePgSession, _a463, _b337, _NodePgTransaction, NodePgTransaction;
|
|
97855
97813
|
var init_session7 = __esm({
|
|
97856
97814
|
"../drizzle-orm/dist/node-postgres/session.js"() {
|
|
97857
97815
|
"use strict";
|
|
@@ -97865,7 +97823,6 @@ var init_session7 = __esm({
|
|
|
97865
97823
|
init_tracing();
|
|
97866
97824
|
init_utils();
|
|
97867
97825
|
({ Pool: Pool2, types: types4 } = esm_default);
|
|
97868
|
-
NativePool = esm_default.native ? esm_default.native.Pool : void 0;
|
|
97869
97826
|
NodePgPreparedQuery = class extends (_b335 = PgPreparedQuery, _a461 = entityKind, _b335) {
|
|
97870
97827
|
constructor(client, queryString, params, logger2, cache5, queryMetadata, cacheConfig, fields, name3, _isResponseInArrayMode, customResultMapper) {
|
|
97871
97828
|
super({ sql: queryString, params }, cache5, queryMetadata, cacheConfig);
|
|
@@ -98035,7 +97992,7 @@ var init_session7 = __esm({
|
|
|
98035
97992
|
);
|
|
98036
97993
|
}
|
|
98037
97994
|
async transaction(transaction, config) {
|
|
98038
|
-
const session = this.client instanceof Pool2
|
|
97995
|
+
const session = this.client instanceof Pool2 ? new _NodePgSession(await this.client.connect(), this.dialect, this.schema, this.options) : this;
|
|
98039
97996
|
const tx = new NodePgTransaction(this.dialect, session, this.schema);
|
|
98040
97997
|
await tx.execute(sql`begin${config ? sql` ${tx.getTransactionConfigSQL(config)}` : void 0}`);
|
|
98041
97998
|
try {
|
|
@@ -98046,7 +98003,7 @@ var init_session7 = __esm({
|
|
|
98046
98003
|
await tx.execute(sql`rollback`);
|
|
98047
98004
|
throw error2;
|
|
98048
98005
|
} finally {
|
|
98049
|
-
if (this.client instanceof Pool2
|
|
98006
|
+
if (this.client instanceof Pool2) {
|
|
98050
98007
|
session.client.release();
|
|
98051
98008
|
}
|
|
98052
98009
|
}
|
package/api.mjs
CHANGED
|
@@ -834,7 +834,7 @@ var version;
|
|
|
834
834
|
var init_version = __esm({
|
|
835
835
|
"../drizzle-orm/dist/version.js"() {
|
|
836
836
|
"use strict";
|
|
837
|
-
version = "0.
|
|
837
|
+
version = "0.44.7";
|
|
838
838
|
}
|
|
839
839
|
});
|
|
840
840
|
|
|
@@ -1634,8 +1634,6 @@ function mapResultRow(columns, row, joinsNotNullableMap) {
|
|
|
1634
1634
|
decoder2 = field;
|
|
1635
1635
|
} else if (is(field, SQL)) {
|
|
1636
1636
|
decoder2 = field.decoder;
|
|
1637
|
-
} else if (is(field, Subquery)) {
|
|
1638
|
-
decoder2 = field._.sql.decoder;
|
|
1639
1637
|
} else {
|
|
1640
1638
|
decoder2 = field.sql.decoder;
|
|
1641
1639
|
}
|
|
@@ -1678,7 +1676,7 @@ function orderSelectedFields(fields, pathPrefix) {
|
|
|
1678
1676
|
return result;
|
|
1679
1677
|
}
|
|
1680
1678
|
const newPath = pathPrefix ? [...pathPrefix, name3] : [name3];
|
|
1681
|
-
if (is(field, Column) || is(field, SQL) || is(field, SQL.Aliased)
|
|
1679
|
+
if (is(field, Column) || is(field, SQL) || is(field, SQL.Aliased)) {
|
|
1682
1680
|
result.push({ path: newPath, field });
|
|
1683
1681
|
} else if (is(field, Table)) {
|
|
1684
1682
|
result.push(...orderSelectedFields(field[Table.Symbol.Columns], newPath));
|
|
@@ -6049,8 +6047,8 @@ var init_indexes = __esm({
|
|
|
6049
6047
|
this.config.using = using;
|
|
6050
6048
|
return this;
|
|
6051
6049
|
}
|
|
6052
|
-
|
|
6053
|
-
this.config.
|
|
6050
|
+
algorythm(algorythm) {
|
|
6051
|
+
this.config.algorythm = algorythm;
|
|
6054
6052
|
return this;
|
|
6055
6053
|
}
|
|
6056
6054
|
lock(lock) {
|
|
@@ -6656,16 +6654,6 @@ var init_dialect = __esm({
|
|
|
6656
6654
|
} else {
|
|
6657
6655
|
chunk.push(field);
|
|
6658
6656
|
}
|
|
6659
|
-
} else if (is(field, Subquery)) {
|
|
6660
|
-
const entries = Object.entries(field._.selectedFields);
|
|
6661
|
-
if (entries.length === 1) {
|
|
6662
|
-
const entry = entries[0][1];
|
|
6663
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
6664
|
-
if (fieldDecoder) {
|
|
6665
|
-
field._.sql.decoder = fieldDecoder;
|
|
6666
|
-
}
|
|
6667
|
-
}
|
|
6668
|
-
chunk.push(field);
|
|
6669
6657
|
}
|
|
6670
6658
|
if (i8 < columnsLen - 1) {
|
|
6671
6659
|
chunk.push(sql`, `);
|
|
@@ -9736,16 +9724,6 @@ var init_dialect2 = __esm({
|
|
|
9736
9724
|
} else {
|
|
9737
9725
|
chunk.push(field);
|
|
9738
9726
|
}
|
|
9739
|
-
} else if (is(field, Subquery)) {
|
|
9740
|
-
const entries = Object.entries(field._.selectedFields);
|
|
9741
|
-
if (entries.length === 1) {
|
|
9742
|
-
const entry = entries[0][1];
|
|
9743
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
9744
|
-
if (fieldDecoder) {
|
|
9745
|
-
field._.sql.decoder = fieldDecoder;
|
|
9746
|
-
}
|
|
9747
|
-
}
|
|
9748
|
-
chunk.push(field);
|
|
9749
9727
|
}
|
|
9750
9728
|
if (i8 < columnsLen - 1) {
|
|
9751
9729
|
chunk.push(sql`, `);
|
|
@@ -15290,8 +15268,8 @@ var init_indexes3 = __esm({
|
|
|
15290
15268
|
this.config.using = using;
|
|
15291
15269
|
return this;
|
|
15292
15270
|
}
|
|
15293
|
-
|
|
15294
|
-
this.config.
|
|
15271
|
+
algorythm(algorythm) {
|
|
15272
|
+
this.config.algorythm = algorythm;
|
|
15295
15273
|
return this;
|
|
15296
15274
|
}
|
|
15297
15275
|
lock(lock) {
|
|
@@ -15910,16 +15888,6 @@ var init_dialect3 = __esm({
|
|
|
15910
15888
|
} else {
|
|
15911
15889
|
chunk.push(field);
|
|
15912
15890
|
}
|
|
15913
|
-
} else if (is(field, Subquery)) {
|
|
15914
|
-
const entries = Object.entries(field._.selectedFields);
|
|
15915
|
-
if (entries.length === 1) {
|
|
15916
|
-
const entry = entries[0][1];
|
|
15917
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
15918
|
-
if (fieldDecoder) {
|
|
15919
|
-
field._.sql.decoder = fieldDecoder;
|
|
15920
|
-
}
|
|
15921
|
-
}
|
|
15922
|
-
chunk.push(field);
|
|
15923
15891
|
}
|
|
15924
15892
|
if (i8 < columnsLen - 1) {
|
|
15925
15893
|
chunk.push(sql`, `);
|
|
@@ -18953,9 +18921,6 @@ var init_dialect4 = __esm({
|
|
|
18953
18921
|
new SQL(
|
|
18954
18922
|
query.queryChunks.map((c6) => {
|
|
18955
18923
|
if (is(c6, Column)) {
|
|
18956
|
-
if (c6.columnType === "SQLiteNumericBigInt") {
|
|
18957
|
-
return chunk.push(sql`cast(${sql.identifier(this.casing.getColumnCasing(c6))} as text)`);
|
|
18958
|
-
}
|
|
18959
18924
|
return sql.identifier(this.casing.getColumnCasing(c6));
|
|
18960
18925
|
}
|
|
18961
18926
|
return c6;
|
|
@@ -18985,14 +18950,6 @@ var init_dialect4 = __esm({
|
|
|
18985
18950
|
chunk.push(sql`${sql.identifier(tableName)}.${sql.identifier(this.casing.getColumnCasing(field))}`);
|
|
18986
18951
|
}
|
|
18987
18952
|
}
|
|
18988
|
-
} else if (is(field, Subquery)) {
|
|
18989
|
-
const entries = Object.entries(field._.selectedFields);
|
|
18990
|
-
if (entries.length === 1) {
|
|
18991
|
-
const entry = entries[0][1];
|
|
18992
|
-
const fieldDecoder = is(entry, SQL) ? entry.decoder : is(entry, Column) ? { mapFromDriverValue: (v11) => entry.mapFromDriverValue(v11) } : entry.sql.decoder;
|
|
18993
|
-
if (fieldDecoder) field._.sql.decoder = fieldDecoder;
|
|
18994
|
-
}
|
|
18995
|
-
chunk.push(field);
|
|
18996
18953
|
}
|
|
18997
18954
|
if (i8 < columnsLen - 1) {
|
|
18998
18955
|
chunk.push(sql`, `);
|
|
@@ -44661,7 +44618,8 @@ WHERE
|
|
|
44661
44618
|
WHERE
|
|
44662
44619
|
tc.table_name = '${tableName}'
|
|
44663
44620
|
AND tc.constraint_schema = '${tableSchema}'
|
|
44664
|
-
AND tc.constraint_type = 'CHECK'
|
|
44621
|
+
AND tc.constraint_type = 'CHECK'
|
|
44622
|
+
AND con.contype = 'c';`);
|
|
44665
44623
|
columnsCount += tableResponse.length;
|
|
44666
44624
|
if (progressCallback) {
|
|
44667
44625
|
progressCallback("columns", columnsCount, "fetching");
|
|
@@ -46358,7 +46316,7 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
|
46358
46316
|
columns: indexColumns,
|
|
46359
46317
|
isUnique: value.config.unique ?? false,
|
|
46360
46318
|
using: value.config.using,
|
|
46361
|
-
algorithm: value.config.
|
|
46319
|
+
algorithm: value.config.algorythm,
|
|
46362
46320
|
lock: value.config.lock
|
|
46363
46321
|
};
|
|
46364
46322
|
});
|
|
@@ -47489,7 +47447,7 @@ The unique index ${source_default.underline.blue(
|
|
|
47489
47447
|
columns: indexColumns,
|
|
47490
47448
|
isUnique: value.config.unique ?? false,
|
|
47491
47449
|
using: value.config.using,
|
|
47492
|
-
algorithm: value.config.
|
|
47450
|
+
algorithm: value.config.algorythm,
|
|
47493
47451
|
lock: value.config.lock
|
|
47494
47452
|
};
|
|
47495
47453
|
});
|
|
@@ -97852,7 +97810,7 @@ var init_core = __esm({
|
|
|
97852
97810
|
});
|
|
97853
97811
|
|
|
97854
97812
|
// ../drizzle-orm/dist/node-postgres/session.js
|
|
97855
|
-
var Pool2, types4,
|
|
97813
|
+
var Pool2, types4, _a461, _b335, NodePgPreparedQuery, _a462, _b336, _NodePgSession, NodePgSession, _a463, _b337, _NodePgTransaction, NodePgTransaction;
|
|
97856
97814
|
var init_session7 = __esm({
|
|
97857
97815
|
"../drizzle-orm/dist/node-postgres/session.js"() {
|
|
97858
97816
|
"use strict";
|
|
@@ -97866,7 +97824,6 @@ var init_session7 = __esm({
|
|
|
97866
97824
|
init_tracing();
|
|
97867
97825
|
init_utils();
|
|
97868
97826
|
({ Pool: Pool2, types: types4 } = esm_default);
|
|
97869
|
-
NativePool = esm_default.native ? esm_default.native.Pool : void 0;
|
|
97870
97827
|
NodePgPreparedQuery = class extends (_b335 = PgPreparedQuery, _a461 = entityKind, _b335) {
|
|
97871
97828
|
constructor(client, queryString, params, logger2, cache5, queryMetadata, cacheConfig, fields, name3, _isResponseInArrayMode, customResultMapper) {
|
|
97872
97829
|
super({ sql: queryString, params }, cache5, queryMetadata, cacheConfig);
|
|
@@ -98036,7 +97993,7 @@ var init_session7 = __esm({
|
|
|
98036
97993
|
);
|
|
98037
97994
|
}
|
|
98038
97995
|
async transaction(transaction, config) {
|
|
98039
|
-
const session = this.client instanceof Pool2
|
|
97996
|
+
const session = this.client instanceof Pool2 ? new _NodePgSession(await this.client.connect(), this.dialect, this.schema, this.options) : this;
|
|
98040
97997
|
const tx = new NodePgTransaction(this.dialect, session, this.schema);
|
|
98041
97998
|
await tx.execute(sql`begin${config ? sql` ${tx.getTransactionConfigSQL(config)}` : void 0}`);
|
|
98042
97999
|
try {
|
|
@@ -98047,7 +98004,7 @@ var init_session7 = __esm({
|
|
|
98047
98004
|
await tx.execute(sql`rollback`);
|
|
98048
98005
|
throw error2;
|
|
98049
98006
|
} finally {
|
|
98050
|
-
if (this.client instanceof Pool2
|
|
98007
|
+
if (this.client instanceof Pool2) {
|
|
98051
98008
|
session.client.release();
|
|
98052
98009
|
}
|
|
98053
98010
|
}
|
package/bin.cjs
CHANGED
|
@@ -17955,7 +17955,7 @@ We have encountered a collision between the index name on columns ${source_defau
|
|
|
17955
17955
|
columns: indexColumns,
|
|
17956
17956
|
isUnique: value.config.unique ?? false,
|
|
17957
17957
|
using: value.config.using,
|
|
17958
|
-
algorithm: value.config.
|
|
17958
|
+
algorithm: value.config.algorythm,
|
|
17959
17959
|
lock: value.config.lock
|
|
17960
17960
|
};
|
|
17961
17961
|
});
|
|
@@ -19477,7 +19477,8 @@ WHERE
|
|
|
19477
19477
|
WHERE
|
|
19478
19478
|
tc.table_name = '${tableName}'
|
|
19479
19479
|
AND tc.constraint_schema = '${tableSchema}'
|
|
19480
|
-
AND tc.constraint_type = 'CHECK'
|
|
19480
|
+
AND tc.constraint_type = 'CHECK'
|
|
19481
|
+
AND con.contype = 'c';`);
|
|
19481
19482
|
columnsCount += tableResponse.length;
|
|
19482
19483
|
if (progressCallback) {
|
|
19483
19484
|
progressCallback("columns", columnsCount, "fetching");
|
|
@@ -21150,7 +21151,7 @@ The unique index ${source_default.underline.blue(
|
|
|
21150
21151
|
columns: indexColumns,
|
|
21151
21152
|
isUnique: value.config.unique ?? false,
|
|
21152
21153
|
using: value.config.using,
|
|
21153
|
-
algorithm: value.config.
|
|
21154
|
+
algorithm: value.config.algorythm,
|
|
21154
21155
|
lock: value.config.lock
|
|
21155
21156
|
};
|
|
21156
21157
|
});
|
|
@@ -94332,7 +94333,7 @@ init_utils5();
|
|
|
94332
94333
|
var version2 = async () => {
|
|
94333
94334
|
const { npmVersion } = await ormCoreVersions();
|
|
94334
94335
|
const ormVersion = npmVersion ? `drizzle-orm: v${npmVersion}` : "";
|
|
94335
|
-
const envVersion = "0.31.7-
|
|
94336
|
+
const envVersion = "0.31.7-b9d7199";
|
|
94336
94337
|
const kitVersion = envVersion ? `v${envVersion}` : "--";
|
|
94337
94338
|
const versions = `drizzle-kit: ${kitVersion}
|
|
94338
94339
|
${ormVersion}`;
|