@prisma/migrate 6.3.0-integration-simpler-typeinfo-query.1 → 6.3.0-integration-studio-ux-refinements.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Migrate.js +5 -5
- package/dist/SchemaEngine.js +5 -5
- package/dist/bin.js +41 -42
- package/dist/{chunk-LLGEQ76N.js → chunk-33HVTIBE.js} +15 -15
- package/dist/{chunk-BAVMZZAR.js → chunk-4BFDHH3U.js} +12 -12
- package/dist/{chunk-XLLUFIQK.js → chunk-7MUF3HLX.js} +9 -8
- package/dist/{chunk-SV5GANSI.js → chunk-7TICHBC5.js} +10 -10
- package/dist/{chunk-GJN3CSXW.js → chunk-AOCCG7RR.js} +6 -6
- package/dist/{chunk-ZLGLVUFD.js → chunk-E2XKFV2C.js} +8 -8
- package/dist/{chunk-LVFPGUOH.js → chunk-E3UZYEGF.js} +92 -87
- package/dist/{chunk-BAFPAACN.js → chunk-ILJRJJ3S.js} +4 -4
- package/dist/{chunk-E3KHFUFQ.js → chunk-J77IRNPE.js} +9 -124
- package/dist/{chunk-RYWEOVLN.js → chunk-KHICE54Q.js} +6 -6
- package/dist/{chunk-5VYRCIVT.js → chunk-MQQLTARC.js} +100 -182
- package/dist/{chunk-MWEO3VUS.js → chunk-NCDRH4BH.js} +7 -7
- package/dist/{chunk-VWV2NY26.js → chunk-NKQGJ3AE.js} +7 -3
- package/dist/{chunk-XVL5RF2T.js → chunk-OANG4W7W.js} +15 -15
- package/dist/{chunk-55NRLWME.js → chunk-PSSOKBLN.js} +1029 -339
- package/dist/{chunk-EXUBPCXZ.js → chunk-TFIFMCN4.js} +18 -18
- package/dist/{chunk-76XWADEV.js → chunk-TJZ4FW7K.js} +10 -10
- package/dist/{chunk-ZBOJAYON.js → chunk-UI76O6B2.js} +6 -6
- package/dist/{chunk-KEBB7UIB.js → chunk-UQQQ6HXZ.js} +5 -3
- package/dist/{chunk-W3ROQKBN.js → chunk-V7DE6JTG.js} +4 -4
- package/dist/{chunk-UJWMQPUH.js → chunk-XQEPG5ZX.js} +10 -10
- package/dist/{chunk-YOW3VBYS.js → chunk-XQJTDY7A.js} +6 -6
- package/dist/{chunk-WIZM7TFT.js → chunk-YKUZUAXA.js} +443 -55
- package/dist/commands/DbDrop.js +3 -3
- package/dist/commands/DbExecute.js +6 -6
- package/dist/commands/DbPull.js +8 -8
- package/dist/commands/DbPush.js +7 -7
- package/dist/commands/DbSeed.js +4 -5
- package/dist/commands/MigrateDeploy.js +7 -7
- package/dist/commands/MigrateDev.js +8 -9
- package/dist/commands/MigrateDiff.js +7 -8
- package/dist/commands/MigrateReset.js +8 -9
- package/dist/commands/MigrateResolve.js +7 -7
- package/dist/commands/MigrateStatus.js +7 -7
- package/dist/index.js +52 -53
- package/dist/internals/src/cli/getTypescriptVersion.d.ts +1 -0
- package/dist/internals/src/index.d.ts +1 -0
- package/dist/internals/src/tracing/types.d.ts +26 -16
- package/dist/internals/src/utils/isCurrentBinInstalledGlobally.d.ts +1 -1
- package/dist/migrate/src/utils/ensureDatabaseExists.d.ts +1 -1
- package/dist/migrate/src/utils/printDatasources.d.ts +2 -1
- package/dist/{multipart-parser-KKECAI5D.js → multipart-parser-73VM3J4A.js} +10 -7
- package/dist/{multipart-parser-47FFAP42-P3F6TPHJ.js → multipart-parser-ITART6UP-FFJAMHWE.js} +25 -22
- package/dist/typescript-AILDXN3I.js +205230 -0
- package/dist/typescript-WN4QH2CP.js +205192 -0
- package/dist/utils/ensureDatabaseExists.js +7 -7
- package/dist/utils/getDatabaseVersionSafe.js +5 -5
- package/dist/utils/introspectSql.js +4 -4
- package/dist/utils/removeSchemaFiles.js +3 -3
- package/dist/utils/saveSchemaFiles.js +3 -3
- package/dist/utils/seed.js +6 -7
- package/dist/utils/setupMSSQL.js +62 -59
- package/dist/utils/setupMongo.js +17608 -14119
- package/dist/utils/setupMysql.js +45 -0
- package/dist/views/handleViewsIO.js +3 -3
- package/package.json +14 -15
- package/dist/chunk-EFPE3Q7J.js +0 -424
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkYarnVersion.d.ts +0 -9
@@ -16,13 +16,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var multipart_parser_73VM3J4A_exports = {};
|
20
|
+
__export(multipart_parser_73VM3J4A_exports, {
|
21
21
|
toFormData: () => toFormData
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
23
|
+
module.exports = __toCommonJS(multipart_parser_73VM3J4A_exports);
|
24
24
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
25
|
-
var
|
25
|
+
var import_node_fs = require("node:fs");
|
26
26
|
var require_node_domexception = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
27
27
|
"../../node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js"(exports, module2) {
|
28
28
|
"use strict";
|
@@ -3852,12 +3852,12 @@ var require_streams = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3852
3852
|
var POOL_SIZE2 = 65536;
|
3853
3853
|
if (!globalThis.ReadableStream) {
|
3854
3854
|
try {
|
3855
|
-
const process = (0, import_chunk_WWAWV7DQ.__require)("process");
|
3855
|
+
const process = (0, import_chunk_WWAWV7DQ.__require)("node:process");
|
3856
3856
|
const { emitWarning } = process;
|
3857
3857
|
try {
|
3858
3858
|
process.emitWarning = () => {
|
3859
3859
|
};
|
3860
|
-
Object.assign(globalThis, (0, import_chunk_WWAWV7DQ.__require)("stream/web"));
|
3860
|
+
Object.assign(globalThis, (0, import_chunk_WWAWV7DQ.__require)("node:stream/web"));
|
3861
3861
|
process.emitWarning = emitWarning;
|
3862
3862
|
} catch (error) {
|
3863
3863
|
process.emitWarning = emitWarning;
|
@@ -4143,7 +4143,7 @@ var init_from = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
4143
4143
|
import_node_domexception = (0, import_chunk_WWAWV7DQ.__toESM)(require_node_domexception(), 1);
|
4144
4144
|
init_file();
|
4145
4145
|
init_fetch_blob();
|
4146
|
-
({ stat } =
|
4146
|
+
({ stat } = import_node_fs.promises);
|
4147
4147
|
}
|
4148
4148
|
});
|
4149
4149
|
var t, i, h, m, f, x, _d, _a3, FormData;
|
@@ -4445,6 +4445,7 @@ var init_multipart_parser = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
4445
4445
|
state = S.HEADER_FIELD;
|
4446
4446
|
mark("onHeaderField");
|
4447
4447
|
index = 0;
|
4448
|
+
// falls through
|
4448
4449
|
case S.HEADER_FIELD:
|
4449
4450
|
if (c === CR) {
|
4450
4451
|
clear("onHeaderField");
|
@@ -4474,6 +4475,7 @@ var init_multipart_parser = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
4474
4475
|
}
|
4475
4476
|
mark("onHeaderValue");
|
4476
4477
|
state = S.HEADER_VALUE;
|
4478
|
+
// falls through
|
4477
4479
|
case S.HEADER_VALUE:
|
4478
4480
|
if (c === CR) {
|
4479
4481
|
dataCallback("onHeaderValue", true);
|
@@ -4497,6 +4499,7 @@ var init_multipart_parser = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
4497
4499
|
case S.PART_DATA_START:
|
4498
4500
|
state = S.PART_DATA;
|
4499
4501
|
mark("onPartData");
|
4502
|
+
// falls through
|
4500
4503
|
case S.PART_DATA:
|
4501
4504
|
previousIndex = index;
|
4502
4505
|
if (index === 0) {
|
package/dist/{multipart-parser-47FFAP42-P3F6TPHJ.js → multipart-parser-ITART6UP-FFJAMHWE.js}
RENAMED
@@ -16,11 +16,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
21
|
-
default: () =>
|
19
|
+
var multipart_parser_ITART6UP_FFJAMHWE_exports = {};
|
20
|
+
__export(multipart_parser_ITART6UP_FFJAMHWE_exports, {
|
21
|
+
default: () => multipart_parser_ITART6UP_FFJAMHWE_default
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
23
|
+
module.exports = __toCommonJS(multipart_parser_ITART6UP_FFJAMHWE_exports);
|
24
24
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
25
25
|
var require_chunk_AH6QHEOA = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
26
26
|
"../fetch-engine/dist/chunk-AH6QHEOA.js"(exports, module2) {
|
@@ -92,8 +92,8 @@ var require_chunk_AH6QHEOA = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
92
92
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
93
93
|
}
|
94
94
|
});
|
95
|
-
var
|
96
|
-
"../fetch-engine/dist/chunk-
|
95
|
+
var require_chunk_TIRVZJHP = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
96
|
+
"../fetch-engine/dist/chunk-TIRVZJHP.js"(exports, module2) {
|
97
97
|
"use strict";
|
98
98
|
var __defProp2 = Object.defineProperty;
|
99
99
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
@@ -112,16 +112,16 @@ var require_chunk_VTJS2JJN = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
112
112
|
return to;
|
113
113
|
};
|
114
114
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
115
|
-
var
|
116
|
-
__export2(
|
115
|
+
var chunk_TIRVZJHP_exports = {};
|
116
|
+
__export2(chunk_TIRVZJHP_exports, {
|
117
117
|
FormData: () => FormData,
|
118
118
|
fetch_blob_default: () => fetch_blob_default,
|
119
119
|
file_default: () => file_default,
|
120
120
|
formDataToBlob: () => formDataToBlob
|
121
121
|
});
|
122
|
-
module2.exports = __toCommonJS2(
|
122
|
+
module2.exports = __toCommonJS2(chunk_TIRVZJHP_exports);
|
123
123
|
var import_chunk_AH6QHEOA = require_chunk_AH6QHEOA();
|
124
|
-
var
|
124
|
+
var import_node_fs = (0, import_chunk_WWAWV7DQ.__require)("node:fs");
|
125
125
|
var require_ponyfill_es2018 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
126
126
|
"../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports2, module22) {
|
127
127
|
"use strict";
|
@@ -3937,12 +3937,12 @@ var require_chunk_VTJS2JJN = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
3937
3937
|
var POOL_SIZE2 = 65536;
|
3938
3938
|
if (!globalThis.ReadableStream) {
|
3939
3939
|
try {
|
3940
|
-
const process = (0, import_chunk_AH6QHEOA.__require)("process");
|
3940
|
+
const process = (0, import_chunk_AH6QHEOA.__require)("node:process");
|
3941
3941
|
const { emitWarning } = process;
|
3942
3942
|
try {
|
3943
3943
|
process.emitWarning = () => {
|
3944
3944
|
};
|
3945
|
-
Object.assign(globalThis, (0, import_chunk_AH6QHEOA.__require)("stream/web"));
|
3945
|
+
Object.assign(globalThis, (0, import_chunk_AH6QHEOA.__require)("node:stream/web"));
|
3946
3946
|
process.emitWarning = emitWarning;
|
3947
3947
|
} catch (error) {
|
3948
3948
|
process.emitWarning = emitWarning;
|
@@ -4321,11 +4321,11 @@ Content-Type: ${v.type || "application/octet-stream"}\r
|
|
4321
4321
|
return new B(c, { type: "multipart/form-data; boundary=" + b });
|
4322
4322
|
}
|
4323
4323
|
var import_node_domexception = (0, import_chunk_AH6QHEOA.__toESM)(require_node_domexception(), 1);
|
4324
|
-
var { stat } =
|
4324
|
+
var { stat } = import_node_fs.promises;
|
4325
4325
|
}
|
4326
4326
|
});
|
4327
|
-
var
|
4328
|
-
"../fetch-engine/dist/multipart-parser-
|
4327
|
+
var require_multipart_parser_ITART6UP = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
4328
|
+
"../fetch-engine/dist/multipart-parser-ITART6UP.js"(exports, module2) {
|
4329
4329
|
var __defProp2 = Object.defineProperty;
|
4330
4330
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
4331
4331
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
@@ -4343,12 +4343,12 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4343
4343
|
return to;
|
4344
4344
|
};
|
4345
4345
|
var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
|
4346
|
-
var
|
4347
|
-
__export2(
|
4346
|
+
var multipart_parser_ITART6UP_exports = {};
|
4347
|
+
__export2(multipart_parser_ITART6UP_exports, {
|
4348
4348
|
toFormData: () => toFormData
|
4349
4349
|
});
|
4350
|
-
module2.exports = __toCommonJS2(
|
4351
|
-
var
|
4350
|
+
module2.exports = __toCommonJS2(multipart_parser_ITART6UP_exports);
|
4351
|
+
var import_chunk_TIRVZJHP = require_chunk_TIRVZJHP();
|
4352
4352
|
var import_chunk_AH6QHEOA = require_chunk_AH6QHEOA();
|
4353
4353
|
var s = 0;
|
4354
4354
|
var S = {
|
@@ -4476,6 +4476,7 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4476
4476
|
state = S.HEADER_FIELD;
|
4477
4477
|
mark("onHeaderField");
|
4478
4478
|
index = 0;
|
4479
|
+
// falls through
|
4479
4480
|
case S.HEADER_FIELD:
|
4480
4481
|
if (c === CR) {
|
4481
4482
|
clear("onHeaderField");
|
@@ -4505,6 +4506,7 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4505
4506
|
}
|
4506
4507
|
mark("onHeaderValue");
|
4507
4508
|
state = S.HEADER_VALUE;
|
4509
|
+
// falls through
|
4508
4510
|
case S.HEADER_VALUE:
|
4509
4511
|
if (c === CR) {
|
4510
4512
|
dataCallback("onHeaderValue", true);
|
@@ -4528,6 +4530,7 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4528
4530
|
case S.PART_DATA_START:
|
4529
4531
|
state = S.PART_DATA;
|
4530
4532
|
mark("onPartData");
|
4533
|
+
// falls through
|
4531
4534
|
case S.PART_DATA:
|
4532
4535
|
previousIndex = index;
|
4533
4536
|
if (index === 0) {
|
@@ -4638,7 +4641,7 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4638
4641
|
let contentType;
|
4639
4642
|
let filename;
|
4640
4643
|
const entryChunks = [];
|
4641
|
-
const formData = new
|
4644
|
+
const formData = new import_chunk_TIRVZJHP.FormData();
|
4642
4645
|
const onPartData = (ui8a) => {
|
4643
4646
|
entryValue += decoder.decode(ui8a, { stream: true });
|
4644
4647
|
};
|
@@ -4646,7 +4649,7 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4646
4649
|
entryChunks.push(ui8a);
|
4647
4650
|
};
|
4648
4651
|
const appendFileToFormData = () => {
|
4649
|
-
const file = new
|
4652
|
+
const file = new import_chunk_TIRVZJHP.file_default(entryChunks, filename, { type: contentType });
|
4650
4653
|
formData.append(entryName, file);
|
4651
4654
|
};
|
4652
4655
|
const appendEntryToFormData = () => {
|
@@ -4698,7 +4701,7 @@ var require_multipart_parser_47FFAP42 = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
4698
4701
|
}
|
4699
4702
|
}
|
4700
4703
|
});
|
4701
|
-
var
|
4704
|
+
var multipart_parser_ITART6UP_FFJAMHWE_default = require_multipart_parser_ITART6UP();
|
4702
4705
|
/*! Bundled license information:
|
4703
4706
|
|
4704
4707
|
node-domexception/index.js:
|