@prisma/migrate 6.19.0-integration-feat-remove-library-engine.4 → 6.19.0-integration-next.15
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/dist/Migrate.js +3 -3
- package/dist/bin.js +24 -24
- package/dist/{chunk-3VYHMV3C.js → chunk-4LNQFWQD.js} +5 -5
- package/dist/{chunk-PJYHZKCF.js → chunk-ANMWKEMD.js} +5 -5
- package/dist/{chunk-TCBZUTEL.js → chunk-AP47ZTTC.js} +5 -5
- package/dist/{chunk-URVKYSZJ.js → chunk-CQLPPAWH.js} +5 -5
- package/dist/{chunk-O57XJHDD.js → chunk-HDTRNRXE.js} +39 -62
- package/dist/{chunk-V5D5NSLS.js → chunk-MOFG2YPJ.js} +22 -32
- package/dist/{chunk-45NSU26W.js → chunk-NG4757TP.js} +6 -6
- package/dist/{chunk-FRY7T46S.js → chunk-OP2BDF75.js} +11 -10
- package/dist/{chunk-QZUMMKCI.js → chunk-OPD3GTJ2.js} +7 -7
- package/dist/{chunk-L7EZXEMS.js → chunk-Q66L2LFA.js} +5 -5
- package/dist/{chunk-XA2JOJS2.js → chunk-QVMYNWAN.js} +70 -157
- package/dist/{chunk-LNQIFWXN.js → chunk-SIUB4YHK.js} +5 -5
- package/dist/{chunk-2Z63R7HP.js → chunk-UJA5DXI3.js} +5 -5
- package/dist/{chunk-T2ACIU5M.js → chunk-VU5BLQUI.js} +8 -14
- package/dist/{chunk-JX2HIV7V.js → chunk-VV4M6AN7.js} +10 -10
- package/dist/{chunk-JVGKTJYZ.js → chunk-XAPRGBTZ.js} +5 -5
- package/dist/commands/DbExecute.js +4 -4
- package/dist/commands/DbPull.js +5 -5
- package/dist/commands/DbPush.js +4 -4
- package/dist/commands/MigrateDeploy.js +4 -4
- package/dist/commands/MigrateDev.js +4 -4
- package/dist/commands/MigrateDiff.js +4 -4
- package/dist/commands/MigrateReset.js +4 -4
- package/dist/commands/MigrateResolve.js +4 -4
- package/dist/commands/MigrateStatus.js +4 -4
- package/dist/index.js +26 -26
- package/dist/utils/getDatabaseVersionSafe.js +4 -4
- package/dist/utils/introspectSql.js +4 -4
- package/dist/utils/setupCockroach.js +2 -2
- package/dist/utils/setupMSSQL.js +30480 -31090
- package/dist/utils/setupMongo.js +768 -2048
- package/dist/utils/setupPostgres.js +2 -2
- package/dist/utils/spinner.js +3 -3
- package/package.json +10 -10
- package/dist/open-GFNXULGD.js +0 -593
|
@@ -26,12 +26,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_MOFG2YPJ_exports = {};
|
|
30
|
+
__export(chunk_MOFG2YPJ_exports, {
|
|
31
31
|
Migrate: () => Migrate
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_MOFG2YPJ_exports);
|
|
34
|
+
var import_chunk_VV4M6AN7 = require("./chunk-VV4M6AN7.js");
|
|
35
35
|
var import_chunk_T64SUJ5L = require("./chunk-T64SUJ5L.js");
|
|
36
36
|
var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
|
|
37
37
|
var import_chunk_23DZXSTI = require("./chunk-23DZXSTI.js");
|
|
@@ -46,11 +46,9 @@ var import_node_process = __toESM(require("node:process"));
|
|
|
46
46
|
var import_node_process2 = __toESM(require("node:process"));
|
|
47
47
|
var base_exports = {};
|
|
48
48
|
(0, import_chunk_2ESYSVXG.__export)(base_exports, {
|
|
49
|
-
ConEmu: () => ConEmu,
|
|
50
49
|
beep: () => beep,
|
|
51
50
|
clearScreen: () => clearScreen,
|
|
52
51
|
clearTerminal: () => clearTerminal,
|
|
53
|
-
clearViewport: () => clearViewport,
|
|
54
52
|
cursorBackward: () => cursorBackward,
|
|
55
53
|
cursorDown: () => cursorDown,
|
|
56
54
|
cursorForward: () => cursorForward,
|
|
@@ -78,8 +76,7 @@ var base_exports = {};
|
|
|
78
76
|
image: () => image,
|
|
79
77
|
link: () => link,
|
|
80
78
|
scrollDown: () => scrollDown,
|
|
81
|
-
scrollUp: () => scrollUp
|
|
82
|
-
setCwd: () => setCwd
|
|
79
|
+
scrollUp: () => scrollUp
|
|
83
80
|
});
|
|
84
81
|
var isBrowser = globalThis.window?.document !== void 0;
|
|
85
82
|
var isNode = globalThis.process?.versions?.node !== void 0;
|
|
@@ -163,7 +160,6 @@ var eraseScreen = ESC + "2J";
|
|
|
163
160
|
var scrollUp = ESC + "S";
|
|
164
161
|
var scrollDown = ESC + "T";
|
|
165
162
|
var clearScreen = "\x1Bc";
|
|
166
|
-
var clearViewport = `${eraseScreen}${ESC}H`;
|
|
167
163
|
var clearTerminal = isWindows2 ? `${eraseScreen}${ESC}0f` : `${eraseScreen}${ESC}3J${ESC}H`;
|
|
168
164
|
var enterAlternativeScreen = ESC + "?1049h";
|
|
169
165
|
var exitAlternativeScreen = ESC + "?1049l";
|
|
@@ -193,8 +189,7 @@ var image = (data, options = {}) => {
|
|
|
193
189
|
if (options.preserveAspectRatio === false) {
|
|
194
190
|
returnValue += ";preserveAspectRatio=0";
|
|
195
191
|
}
|
|
196
|
-
|
|
197
|
-
return returnValue + `;size=${imageBuffer.byteLength}:` + imageBuffer.toString("base64") + BEL;
|
|
192
|
+
return returnValue + ":" + Buffer.from(data).toString("base64") + BEL;
|
|
198
193
|
};
|
|
199
194
|
var iTerm = {
|
|
200
195
|
setCwd: (cwd = cwdFunction()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
|
|
@@ -215,10 +210,6 @@ var iTerm = {
|
|
|
215
210
|
return returnValue + BEL;
|
|
216
211
|
}
|
|
217
212
|
};
|
|
218
|
-
var ConEmu = {
|
|
219
|
-
setCwd: (cwd = cwdFunction()) => `${OSC}9;9;${cwd}${BEL}`
|
|
220
|
-
};
|
|
221
|
-
var setCwd = (cwd = cwdFunction()) => iTerm.setCwd(cwd) + ConEmu.setCwd(cwd);
|
|
222
213
|
var ANSI_BACKGROUND_OFFSET = 10;
|
|
223
214
|
var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
|
|
224
215
|
var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
|
|
@@ -317,7 +308,7 @@ function assembleStyles() {
|
|
|
317
308
|
styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
|
|
318
309
|
Object.defineProperties(styles, {
|
|
319
310
|
rgbToAnsi256: {
|
|
320
|
-
value(red, green, blue) {
|
|
311
|
+
value: (red, green, blue) => {
|
|
321
312
|
if (red === green && green === blue) {
|
|
322
313
|
if (red < 8) {
|
|
323
314
|
return 16;
|
|
@@ -332,7 +323,7 @@ function assembleStyles() {
|
|
|
332
323
|
enumerable: false
|
|
333
324
|
},
|
|
334
325
|
hexToRgb: {
|
|
335
|
-
value(hex) {
|
|
326
|
+
value: (hex) => {
|
|
336
327
|
const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
|
|
337
328
|
if (!matches) {
|
|
338
329
|
return [0, 0, 0];
|
|
@@ -357,7 +348,7 @@ function assembleStyles() {
|
|
|
357
348
|
enumerable: false
|
|
358
349
|
},
|
|
359
350
|
ansi256ToAnsi: {
|
|
360
|
-
value(code) {
|
|
351
|
+
value: (code) => {
|
|
361
352
|
if (code < 8) {
|
|
362
353
|
return 30 + code;
|
|
363
354
|
}
|
|
@@ -415,14 +406,14 @@ var ANSI_SGR_TERMINATOR = "m";
|
|
|
415
406
|
var ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
|
|
416
407
|
var wrapAnsiCode = (code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
|
|
417
408
|
var wrapAnsiHyperlink = (url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`;
|
|
418
|
-
var wordLengths = (string) => string.split(" ").map((character) => (0,
|
|
409
|
+
var wordLengths = (string) => string.split(" ").map((character) => (0, import_chunk_VV4M6AN7.stringWidth)(character));
|
|
419
410
|
var wrapWord = (rows, word, columns) => {
|
|
420
411
|
const characters = [...word];
|
|
421
412
|
let isInsideEscape = false;
|
|
422
413
|
let isInsideLinkEscape = false;
|
|
423
|
-
let visible = (0,
|
|
414
|
+
let visible = (0, import_chunk_VV4M6AN7.stringWidth)((0, import_chunk_VV4M6AN7.stripAnsi)(rows.at(-1)));
|
|
424
415
|
for (const [index, character] of characters.entries()) {
|
|
425
|
-
const characterLength = (0,
|
|
416
|
+
const characterLength = (0, import_chunk_VV4M6AN7.stringWidth)(character);
|
|
426
417
|
if (visible + characterLength <= columns) {
|
|
427
418
|
rows[rows.length - 1] += character;
|
|
428
419
|
} else {
|
|
@@ -459,7 +450,7 @@ var stringVisibleTrimSpacesRight = (string) => {
|
|
|
459
450
|
const words = string.split(" ");
|
|
460
451
|
let last = words.length;
|
|
461
452
|
while (last > 0) {
|
|
462
|
-
if ((0,
|
|
453
|
+
if ((0, import_chunk_VV4M6AN7.stringWidth)(words[last - 1]) > 0) {
|
|
463
454
|
break;
|
|
464
455
|
}
|
|
465
456
|
last--;
|
|
@@ -482,7 +473,7 @@ var exec = (string, columns, options = {}) => {
|
|
|
482
473
|
if (options.trim !== false) {
|
|
483
474
|
rows[rows.length - 1] = rows.at(-1).trimStart();
|
|
484
475
|
}
|
|
485
|
-
let rowLength = (0,
|
|
476
|
+
let rowLength = (0, import_chunk_VV4M6AN7.stringWidth)(rows.at(-1));
|
|
486
477
|
if (index !== 0) {
|
|
487
478
|
if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
|
|
488
479
|
rows.push("");
|
|
@@ -560,12 +551,11 @@ function isFullwidthCodePoint(codePoint) {
|
|
|
560
551
|
if (!Number.isInteger(codePoint)) {
|
|
561
552
|
return false;
|
|
562
553
|
}
|
|
563
|
-
return (0,
|
|
554
|
+
return (0, import_chunk_VV4M6AN7.eastAsianWidth)(codePoint) === 2;
|
|
564
555
|
}
|
|
565
556
|
var ESCAPES2 = /* @__PURE__ */ new Set([27, 155]);
|
|
566
557
|
var CODE_POINT_0 = "0".codePointAt(0);
|
|
567
558
|
var CODE_POINT_9 = "9".codePointAt(0);
|
|
568
|
-
var MAX_ANSI_SEQUENCE_LENGTH = 19;
|
|
569
559
|
var endCodesSet = /* @__PURE__ */ new Set();
|
|
570
560
|
var endCodesMap = /* @__PURE__ */ new Map();
|
|
571
561
|
for (const [start, end] of ansi_styles_default.codes) {
|
|
@@ -599,7 +589,7 @@ function findNumberIndex(string) {
|
|
|
599
589
|
return -1;
|
|
600
590
|
}
|
|
601
591
|
function parseAnsiCode(string, offset) {
|
|
602
|
-
string = string.slice(offset, offset +
|
|
592
|
+
string = string.slice(offset, offset + 19);
|
|
603
593
|
const startIndex = findNumberIndex(string);
|
|
604
594
|
if (startIndex !== -1) {
|
|
605
595
|
let endIndex = string.indexOf("m", startIndex);
|
|
@@ -627,15 +617,15 @@ function tokenize(string, endCharacter = Number.POSITIVE_INFINITY) {
|
|
|
627
617
|
continue;
|
|
628
618
|
}
|
|
629
619
|
}
|
|
630
|
-
const
|
|
620
|
+
const isFullWidth = isFullwidthCodePoint(codePoint);
|
|
631
621
|
const character = String.fromCodePoint(codePoint);
|
|
632
622
|
returnValue.push({
|
|
633
623
|
type: "character",
|
|
634
624
|
value: character,
|
|
635
|
-
isFullWidth
|
|
625
|
+
isFullWidth
|
|
636
626
|
});
|
|
637
627
|
index += character.length;
|
|
638
|
-
visibleCount +=
|
|
628
|
+
visibleCount += isFullWidth ? 2 : character.length;
|
|
639
629
|
if (visibleCount >= endCharacter) {
|
|
640
630
|
break;
|
|
641
631
|
}
|
|
@@ -697,7 +687,7 @@ var fitToTerminalHeight = (stream, text) => {
|
|
|
697
687
|
const terminalHeight = stream.rows ?? defaultTerminalHeight;
|
|
698
688
|
const lines = text.split("\n");
|
|
699
689
|
const toRemove = Math.max(0, lines.length - terminalHeight);
|
|
700
|
-
return toRemove ? sliceAnsi(text, (0,
|
|
690
|
+
return toRemove ? sliceAnsi(text, (0, import_chunk_VV4M6AN7.stripAnsi)(lines.slice(0, toRemove).join("\n")).length + 1) : text;
|
|
701
691
|
};
|
|
702
692
|
function createLogUpdate(stream, { showCursor = false } = {}) {
|
|
703
693
|
let previousLineCount = 0;
|
|
@@ -710,7 +700,7 @@ function createLogUpdate(stream, { showCursor = false } = {}) {
|
|
|
710
700
|
};
|
|
711
701
|
const render = (...arguments_) => {
|
|
712
702
|
if (!showCursor) {
|
|
713
|
-
|
|
703
|
+
import_chunk_VV4M6AN7.cli_cursor_default.hide();
|
|
714
704
|
}
|
|
715
705
|
let output = fitToTerminalHeight(stream, arguments_.join(" ") + "\n");
|
|
716
706
|
const width = getWidth(stream);
|
|
@@ -730,7 +720,7 @@ function createLogUpdate(stream, { showCursor = false } = {}) {
|
|
|
730
720
|
render.done = () => {
|
|
731
721
|
reset();
|
|
732
722
|
if (!showCursor) {
|
|
733
|
-
|
|
723
|
+
import_chunk_VV4M6AN7.cli_cursor_default.show();
|
|
734
724
|
}
|
|
735
725
|
};
|
|
736
726
|
return render;
|
|
@@ -16,14 +16,14 @@ 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 chunk_NG4757TP_exports = {};
|
|
20
|
+
__export(chunk_NG4757TP_exports, {
|
|
21
21
|
MigrateResolve: () => MigrateResolve
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_NG4757TP_exports);
|
|
24
24
|
var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
|
|
25
25
|
var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
|
|
26
|
-
var
|
|
26
|
+
var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
|
|
27
27
|
var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
|
|
28
28
|
var import_internals = require("@prisma/internals");
|
|
29
29
|
var MigrateResolve = class _MigrateResolve {
|
|
@@ -113,7 +113,7 @@ ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_in
|
|
|
113
113
|
if (!adapter) {
|
|
114
114
|
await (0, import_chunk_74LUB4XX.ensureCanConnectToDatabase)(schemaContext.primaryDatasource);
|
|
115
115
|
}
|
|
116
|
-
const migrate = await
|
|
116
|
+
const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
|
|
117
117
|
schemaEngineConfig: config,
|
|
118
118
|
migrationsDirPath,
|
|
119
119
|
schemaContext,
|
|
@@ -139,7 +139,7 @@ Migration ${args["--applied"]} marked as applied.
|
|
|
139
139
|
);
|
|
140
140
|
}
|
|
141
141
|
await (0, import_chunk_74LUB4XX.ensureCanConnectToDatabase)(schemaContext.primaryDatasource);
|
|
142
|
-
const migrate = await
|
|
142
|
+
const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
|
|
143
143
|
schemaEngineConfig: config,
|
|
144
144
|
migrationsDirPath,
|
|
145
145
|
schemaContext,
|
|
@@ -16,12 +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 chunk_OP2BDF75_exports = {};
|
|
20
|
+
__export(chunk_OP2BDF75_exports, {
|
|
21
21
|
require_ms: () => require_ms,
|
|
22
|
-
require_src: () => require_src
|
|
22
|
+
require_src: () => require_src,
|
|
23
|
+
require_supports_color: () => require_supports_color
|
|
23
24
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
25
|
+
module.exports = __toCommonJS(chunk_OP2BDF75_exports);
|
|
25
26
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
26
27
|
var require_ms = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
27
28
|
"../../node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"(exports, module2) {
|
|
@@ -139,7 +140,7 @@ var require_ms = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
139
140
|
}
|
|
140
141
|
});
|
|
141
142
|
var require_common = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
142
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
143
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js"(exports, module2) {
|
|
143
144
|
"use strict";
|
|
144
145
|
function setup(env) {
|
|
145
146
|
createDebug.debug = createDebug;
|
|
@@ -241,7 +242,7 @@ var require_common = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
241
242
|
createDebug.namespaces = namespaces;
|
|
242
243
|
createDebug.names = [];
|
|
243
244
|
createDebug.skips = [];
|
|
244
|
-
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(
|
|
245
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(" ", ",").split(",").filter(Boolean);
|
|
245
246
|
for (const ns of split) {
|
|
246
247
|
if (ns[0] === "-") {
|
|
247
248
|
createDebug.skips.push(ns.slice(1));
|
|
@@ -315,7 +316,7 @@ var require_common = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
315
316
|
}
|
|
316
317
|
});
|
|
317
318
|
var require_browser = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
318
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
319
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"(exports, module2) {
|
|
319
320
|
"use strict";
|
|
320
321
|
exports.formatArgs = formatArgs;
|
|
321
322
|
exports.save = save;
|
|
@@ -458,7 +459,7 @@ var require_browser = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
458
459
|
function load() {
|
|
459
460
|
let r;
|
|
460
461
|
try {
|
|
461
|
-
r = exports.storage.getItem("debug")
|
|
462
|
+
r = exports.storage.getItem("debug");
|
|
462
463
|
} catch (error) {
|
|
463
464
|
}
|
|
464
465
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
@@ -607,7 +608,7 @@ var require_supports_color = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
607
608
|
}
|
|
608
609
|
});
|
|
609
610
|
var require_node = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
610
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
611
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js"(exports, module2) {
|
|
611
612
|
"use strict";
|
|
612
613
|
var tty = (0, import_chunk_2ESYSVXG.__require)("tty");
|
|
613
614
|
var util = (0, import_chunk_2ESYSVXG.__require)("util");
|
|
@@ -780,7 +781,7 @@ var require_node = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
780
781
|
}
|
|
781
782
|
});
|
|
782
783
|
var require_src = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
783
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
784
|
+
"../../node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"(exports, module2) {
|
|
784
785
|
"use strict";
|
|
785
786
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
786
787
|
module2.exports = require_browser();
|
|
@@ -26,12 +26,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_OPD3GTJ2_exports = {};
|
|
30
|
+
__export(chunk_OPD3GTJ2_exports, {
|
|
31
31
|
DbPull: () => DbPull
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_OPD3GTJ2_exports);
|
|
34
|
+
var import_chunk_VU5BLQUI = require("./chunk-VU5BLQUI.js");
|
|
35
35
|
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
36
36
|
var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
|
|
37
37
|
var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
|
|
@@ -41,7 +41,7 @@ var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
|
41
41
|
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
42
42
|
var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
|
|
43
43
|
var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
|
|
44
|
-
var
|
|
44
|
+
var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
|
|
45
45
|
var import_chunk_AXR7LS2N = require("./chunk-AXR7LS2N.js");
|
|
46
46
|
var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
|
|
47
47
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
@@ -116,7 +116,7 @@ Set composite types introspection depth to 2 levels
|
|
|
116
116
|
"--local-d1": Boolean
|
|
117
117
|
// optional, only on cloudflare D1
|
|
118
118
|
});
|
|
119
|
-
const spinnerFactory = (0,
|
|
119
|
+
const spinnerFactory = (0, import_chunk_VU5BLQUI.createSpinner)(!args["--print"]);
|
|
120
120
|
if (args instanceof Error) {
|
|
121
121
|
return this.help(args.message);
|
|
122
122
|
}
|
|
@@ -204,7 +204,7 @@ Some information will be lost (relations, comments, mapped fields, @ignore...),
|
|
|
204
204
|
)} for more info.`);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
const migrate = await
|
|
207
|
+
const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
|
|
208
208
|
schemaEngineConfig: config,
|
|
209
209
|
schemaContext: schemaContext ?? void 0,
|
|
210
210
|
extensions: config["extensions"]
|
|
@@ -26,14 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_Q66L2LFA_exports = {};
|
|
30
|
+
__export(chunk_Q66L2LFA_exports, {
|
|
31
31
|
MigrateStatus: () => MigrateStatus
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_Q66L2LFA_exports);
|
|
34
34
|
var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
|
|
35
35
|
var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_MOFG2YPJ = require("./chunk-MOFG2YPJ.js");
|
|
37
37
|
var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
|
|
38
38
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
39
39
|
var import_internals = require("@prisma/internals");
|
|
@@ -95,7 +95,7 @@ Check the status of your database migrations
|
|
|
95
95
|
externalTables: config.tables?.external ?? [],
|
|
96
96
|
externalEnums: config.enums?.external ?? []
|
|
97
97
|
};
|
|
98
|
-
const migrate = await
|
|
98
|
+
const migrate = await import_chunk_MOFG2YPJ.Migrate.setup({
|
|
99
99
|
schemaEngineConfig: config,
|
|
100
100
|
migrationsDirPath,
|
|
101
101
|
schemaContext,
|