@prisma/migrate 6.6.0-dev.1 → 6.6.0-dev.3

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.
Files changed (33) hide show
  1. package/dist/Migrate.js +2 -3
  2. package/dist/bin.js +21 -24
  3. package/dist/{chunk-POKX77OK.js → chunk-4RDVKU5F.js} +6 -6
  4. package/dist/{chunk-5VDXAE53.js → chunk-5PSO7BDO.js} +15 -5
  5. package/dist/{chunk-TPJISPJ5.js → chunk-CQZFVAXC.js} +5 -5
  6. package/dist/{chunk-ZQ3OWSVS.js → chunk-GG54LOYV.js} +5 -5
  7. package/dist/{chunk-EX2UWGES.js → chunk-HCBZB4XC.js} +6 -6
  8. package/dist/{chunk-6C7ESGWY.js → chunk-KOF4LGTS.js} +642 -9
  9. package/dist/{chunk-X6KW7BYP.js → chunk-KS7IEA6Z.js} +5 -5
  10. package/dist/chunk-MCWCB2AX.js +3038 -0
  11. package/dist/{chunk-E7OXHCDR.js → chunk-N3KYWSX2.js} +5 -5
  12. package/dist/{chunk-LZOZZRHB.js → chunk-N4XTKFY6.js} +5 -5
  13. package/dist/{chunk-Q7M5ANIE.js → chunk-OWIFBVPC.js} +5 -5
  14. package/dist/{chunk-A4BCLP6K.js → chunk-Q3ZLC44N.js} +5 -5
  15. package/dist/{chunk-X5N72JHI.js → chunk-WI2A2TQE.js} +5 -5
  16. package/dist/commands/DbExecute.js +3 -4
  17. package/dist/commands/DbPull.js +3 -7
  18. package/dist/commands/DbPush.js +3 -4
  19. package/dist/commands/MigrateDeploy.js +3 -4
  20. package/dist/commands/MigrateDev.js +3 -4
  21. package/dist/commands/MigrateDiff.js +3 -4
  22. package/dist/commands/MigrateReset.js +3 -4
  23. package/dist/commands/MigrateResolve.js +3 -4
  24. package/dist/commands/MigrateStatus.js +3 -4
  25. package/dist/index.js +21 -24
  26. package/dist/utils/setupMSSQL.js +123 -21
  27. package/dist/utils/setupMongo.js +6048 -5470
  28. package/dist/utils/spinner.js +2 -6
  29. package/package.json +8 -8
  30. package/dist/chunk-DIAO4W7O.js +0 -5774
  31. package/dist/chunk-KXMACMQC.js +0 -660
  32. package/dist/chunk-RM5LJIEV.js +0 -35
  33. package/dist/chunk-YUCPBDWV.js +0 -131
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_RM5LJIEV_exports = {};
20
- __export(chunk_RM5LJIEV_exports, {
21
- require_has_flag: () => require_has_flag
22
- });
23
- module.exports = __toCommonJS(chunk_RM5LJIEV_exports);
24
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
- var require_has_flag = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
- "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module2) {
27
- "use strict";
28
- module2.exports = (flag, argv = process.argv) => {
29
- const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
30
- const position = argv.indexOf(prefix + flag);
31
- const terminatorPosition = argv.indexOf("--");
32
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
33
- };
34
- }
35
- });
@@ -1,131 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var chunk_YUCPBDWV_exports = {};
20
- __export(chunk_YUCPBDWV_exports, {
21
- require_inherits: () => require_inherits,
22
- require_safe_buffer: () => require_safe_buffer
23
- });
24
- module.exports = __toCommonJS(chunk_YUCPBDWV_exports);
25
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
26
- var require_inherits_browser = (0, import_chunk_WWAWV7DQ.__commonJS)({
27
- "../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(exports, module2) {
28
- "use strict";
29
- if (typeof Object.create === "function") {
30
- module2.exports = function inherits(ctor, superCtor) {
31
- if (superCtor) {
32
- ctor.super_ = superCtor;
33
- ctor.prototype = Object.create(superCtor.prototype, {
34
- constructor: {
35
- value: ctor,
36
- enumerable: false,
37
- writable: true,
38
- configurable: true
39
- }
40
- });
41
- }
42
- };
43
- } else {
44
- module2.exports = function inherits(ctor, superCtor) {
45
- if (superCtor) {
46
- ctor.super_ = superCtor;
47
- var TempCtor = function() {
48
- };
49
- TempCtor.prototype = superCtor.prototype;
50
- ctor.prototype = new TempCtor();
51
- ctor.prototype.constructor = ctor;
52
- }
53
- };
54
- }
55
- }
56
- });
57
- var require_inherits = (0, import_chunk_WWAWV7DQ.__commonJS)({
58
- "../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits.js"(exports, module2) {
59
- "use strict";
60
- try {
61
- util = (0, import_chunk_WWAWV7DQ.__require)("util");
62
- if (typeof util.inherits !== "function") throw "";
63
- module2.exports = util.inherits;
64
- } catch (e) {
65
- module2.exports = require_inherits_browser();
66
- }
67
- var util;
68
- }
69
- });
70
- var require_safe_buffer = (0, import_chunk_WWAWV7DQ.__commonJS)({
71
- "../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js"(exports, module2) {
72
- "use strict";
73
- var buffer = (0, import_chunk_WWAWV7DQ.__require)("buffer");
74
- var Buffer2 = buffer.Buffer;
75
- function copyProps(src, dst) {
76
- for (var key in src) {
77
- dst[key] = src[key];
78
- }
79
- }
80
- if (Buffer2.from && Buffer2.alloc && Buffer2.allocUnsafe && Buffer2.allocUnsafeSlow) {
81
- module2.exports = buffer;
82
- } else {
83
- copyProps(buffer, exports);
84
- exports.Buffer = SafeBuffer;
85
- }
86
- function SafeBuffer(arg, encodingOrOffset, length) {
87
- return Buffer2(arg, encodingOrOffset, length);
88
- }
89
- SafeBuffer.prototype = Object.create(Buffer2.prototype);
90
- copyProps(Buffer2, SafeBuffer);
91
- SafeBuffer.from = function(arg, encodingOrOffset, length) {
92
- if (typeof arg === "number") {
93
- throw new TypeError("Argument must not be a number");
94
- }
95
- return Buffer2(arg, encodingOrOffset, length);
96
- };
97
- SafeBuffer.alloc = function(size, fill, encoding) {
98
- if (typeof size !== "number") {
99
- throw new TypeError("Argument must be a number");
100
- }
101
- var buf = Buffer2(size);
102
- if (fill !== void 0) {
103
- if (typeof encoding === "string") {
104
- buf.fill(fill, encoding);
105
- } else {
106
- buf.fill(fill);
107
- }
108
- } else {
109
- buf.fill(0);
110
- }
111
- return buf;
112
- };
113
- SafeBuffer.allocUnsafe = function(size) {
114
- if (typeof size !== "number") {
115
- throw new TypeError("Argument must be a number");
116
- }
117
- return Buffer2(size);
118
- };
119
- SafeBuffer.allocUnsafeSlow = function(size) {
120
- if (typeof size !== "number") {
121
- throw new TypeError("Argument must be a number");
122
- }
123
- return buffer.SlowBuffer(size);
124
- };
125
- }
126
- });
127
- /*! Bundled license information:
128
-
129
- safe-buffer/index.js:
130
- (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
131
- */