@prisma/migrate 6.4.1 → 6.5.0-dev.2
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/CLI.js +3 -4
- package/dist/Migrate.js +6 -7
- package/dist/SchemaEngine.js +6 -7
- package/dist/bin.js +116 -146
- package/dist/{chunk-WOOPRG54.js → chunk-255BRND3.js} +7 -14
- package/dist/{chunk-75EIHNAH.js → chunk-2NMFKGXM.js} +5 -6
- package/dist/chunk-3WC4XD74.js +98 -0
- package/dist/chunk-4EV2RVXY.js +226 -0
- package/dist/{chunk-YWWOSXMY.js → chunk-4JQIX6O7.js} +7 -15
- package/dist/{chunk-M5YNQ2NP.js → chunk-6DFJIBJX.js} +5 -12
- package/dist/{chunk-SGCF5OHF.js → chunk-7CQBDP4H.js} +6 -13
- package/dist/{chunk-7IT2ZO3D.js → chunk-AHJ2N6BJ.js} +3 -9
- package/dist/chunk-C2PR6JQR.js +266 -0
- package/dist/chunk-CTPONE6G.js +65 -0
- package/dist/{chunk-DUCG3NRP.js → chunk-D74DU52C.js} +633 -806
- package/dist/{chunk-UVNSK22K.js → chunk-DDHPSYC4.js} +122 -130
- package/dist/{chunk-CUDKD32S.js → chunk-DIAO4W7O.js} +11 -17
- package/dist/{chunk-XJQP3B4W.js → chunk-DJMFXNR4.js} +7 -15
- package/dist/{chunk-YD7GG4WS.js → chunk-FRTPDRF2.js} +66 -74
- package/dist/chunk-HIFVDK2U.js +96 -0
- package/dist/chunk-I4EY55DC.js +195 -0
- package/dist/{chunk-WLJHGKMK.js → chunk-IHDN3L3R.js} +7 -8
- package/dist/{chunk-WZT5FFN4.js → chunk-IIBRYI63.js} +634 -807
- package/dist/{chunk-INC2OACE.js → chunk-JFKDSUIE.js} +3 -9
- package/dist/{chunk-V7DE6JTG.js → chunk-JZ75RIMZ.js} +3 -9
- package/dist/{chunk-AAATUOV6.js → chunk-L6KOIJJ5.js} +53 -59
- package/dist/{chunk-GN5BY5N2.js → chunk-LGYRZ6CV.js} +4 -10
- package/dist/chunk-LVLRGTYH.js +148 -0
- package/dist/{chunk-CQQQ436N.js → chunk-MATFO4ZW.js} +186 -200
- package/dist/{chunk-IFCV5MY4.js → chunk-OCQGHQED.js} +5 -11
- package/dist/chunk-ORL3LJOT.js +470 -0
- package/dist/{chunk-Q7ACZDDT.js → chunk-QOPTDDIH.js} +5 -12
- package/dist/chunk-QTAIWPLH.js +78 -0
- package/dist/{chunk-35LAJN5S.js → chunk-RP2N6UXA.js} +23 -29
- package/dist/chunk-RQFGRXJI.js +174 -0
- package/dist/{chunk-QBK5XTJE.js → chunk-RR6BKMNO.js} +3 -9
- package/dist/{chunk-ILJRJJ3S.js → chunk-RTGQXNX6.js} +3 -9
- package/dist/chunk-SKRR5WT4.js +76 -0
- package/dist/chunk-TM3ETZES.js +153 -0
- package/dist/{chunk-KPUNMK5W.js → chunk-TWPTG4XS.js} +5 -12
- package/dist/{chunk-6QFE3AWR.js → chunk-UP6FVCDK.js} +6 -13
- package/dist/{chunk-YKUZUAXA.js → chunk-V3ZMNXZC.js} +16 -23
- package/dist/chunk-WLPX3672.js +365 -0
- package/dist/chunk-WNH2ACJS.js +122 -0
- package/dist/chunk-XSNOKQTD.js +347 -0
- package/dist/{chunk-X6XGFLEF.js → chunk-YZVZCC3I.js} +25 -30
- package/dist/commands/DbCommand.js +3 -4
- package/dist/commands/DbDrop.js +9 -9
- package/dist/commands/DbExecute.js +7 -8
- package/dist/commands/DbPull.js +18 -19
- package/dist/commands/DbPush.js +12 -13
- package/dist/commands/DbSeed.js +4 -5
- package/dist/commands/MigrateCommand.js +3 -4
- package/dist/commands/MigrateDeploy.js +13 -14
- package/dist/commands/MigrateDev.js +17 -18
- package/dist/commands/MigrateDiff.js +8 -9
- package/dist/commands/MigrateReset.js +15 -16
- package/dist/commands/MigrateResolve.js +11 -12
- package/dist/commands/MigrateStatus.js +11 -12
- package/dist/index.js +60 -77
- package/dist/internals/src/index.d.ts +0 -3
- package/dist/{multipart-parser-73VM3J4A.js → multipart-parser-NDLECNMN.js} +527 -561
- package/dist/utils/byline.js +5 -6
- package/dist/utils/captureStdout.js +2 -3
- package/dist/utils/countModelsAndTypes.js +2 -3
- package/dist/utils/ensureDatabaseExists.js +8 -9
- package/dist/utils/errors.js +8 -9
- package/dist/utils/flagErrors.js +5 -5
- package/dist/utils/getDatabaseVersionSafe.js +6 -7
- package/dist/utils/getSchemaPathAndPrint.js +4 -5
- package/dist/utils/handleEvaluateDataloss.js +3 -4
- package/dist/utils/introspectSql.js +6 -6
- package/dist/utils/isSchemaEmpty.js +2 -3
- package/dist/utils/printDatasource.js +3 -4
- package/dist/utils/printDatasources.js +3 -4
- package/dist/utils/printFiles.js +5 -6
- package/dist/utils/printIntrospectedSchema.js +2 -3
- package/dist/utils/printMigrationId.js +4 -5
- package/dist/utils/promptForMigrationName.js +2 -3
- package/dist/utils/removeSchemaFiles.js +2 -3
- package/dist/utils/replaceOrAddDatasource.js +2 -3
- package/dist/utils/replaceOrAddDatasource.test.js +7 -8
- package/dist/utils/saveSchemaFiles.js +2 -3
- package/dist/utils/seed.js +6 -7
- package/dist/utils/spinner.js +2 -3
- package/dist/utils/unixSocket.js +2 -3
- package/dist/views/handleViewsIO.js +2 -3
- package/package.json +6 -6
- package/dist/chunk-26XQQ4AG.js +0 -386
- package/dist/chunk-2RSEPJFX.js +0 -165
- package/dist/chunk-4B2LXK4R.js +0 -207
- package/dist/chunk-4UJBOCZJ.js +0 -130
- package/dist/chunk-5HZLCY6X.js +0 -161
- package/dist/chunk-6TE2RIPN.js +0 -80
- package/dist/chunk-7S3Q4MCN.js +0 -480
- package/dist/chunk-AOX7CJAS.js +0 -234
- package/dist/chunk-FF3526PX.js +0 -279
- package/dist/chunk-FUSFURVP.js +0 -86
- package/dist/chunk-GCTCQLOF.js +0 -365
- package/dist/chunk-K44VNAFW.js +0 -189
- package/dist/chunk-O4BT6W33.js +0 -104
- package/dist/chunk-TKAGMA5K.js +0 -72
- package/dist/chunk-U374EXYQ.js +0 -106
- package/dist/internals/src/utils/isInContainer.d.ts +0 -5
- package/dist/internals/src/utils/isInNpmLifecycleHook.d.ts +0 -4
- package/dist/internals/src/utils/maybeInGitHook.d.ts +0 -9
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var chunk_XSNOKQTD_exports = {};
|
|
30
|
+
__export(chunk_XSNOKQTD_exports, {
|
|
31
|
+
MigrateDev: () => MigrateDev
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(chunk_XSNOKQTD_exports);
|
|
34
|
+
var import_chunk_OCQGHQED = require("./chunk-OCQGHQED.js");
|
|
35
|
+
var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
|
|
36
|
+
var import_chunk_V3ZMNXZC = require("./chunk-V3ZMNXZC.js");
|
|
37
|
+
var import_chunk_255BRND3 = require("./chunk-255BRND3.js");
|
|
38
|
+
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
39
|
+
var import_chunk_DDHPSYC4 = require("./chunk-DDHPSYC4.js");
|
|
40
|
+
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
41
|
+
var import_chunk_6DFJIBJX = require("./chunk-6DFJIBJX.js");
|
|
42
|
+
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
43
|
+
var import_chunk_DJMFXNR4 = require("./chunk-DJMFXNR4.js");
|
|
44
|
+
var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
|
|
45
|
+
var import_debug = __toESM(require("@prisma/debug"));
|
|
46
|
+
var import_internals = require("@prisma/internals");
|
|
47
|
+
var import_prompts = __toESM(require("prompts"));
|
|
48
|
+
var debug = (0, import_debug.default)("prisma:migrate:dev");
|
|
49
|
+
var _MigrateDev = class _MigrateDev2 {
|
|
50
|
+
static new() {
|
|
51
|
+
return new _MigrateDev2();
|
|
52
|
+
}
|
|
53
|
+
async parse(argv, config) {
|
|
54
|
+
const args = (0, import_internals.arg)(argv, {
|
|
55
|
+
"--help": Boolean,
|
|
56
|
+
"-h": "--help",
|
|
57
|
+
"--name": String,
|
|
58
|
+
"-n": "--name",
|
|
59
|
+
// '--force': Boolean,
|
|
60
|
+
// '-f': '--force',
|
|
61
|
+
"--create-only": Boolean,
|
|
62
|
+
"--schema": String,
|
|
63
|
+
"--config": String,
|
|
64
|
+
"--skip-generate": Boolean,
|
|
65
|
+
"--skip-seed": Boolean,
|
|
66
|
+
"--telemetry-information": String
|
|
67
|
+
});
|
|
68
|
+
if ((0, import_internals.isError)(args)) {
|
|
69
|
+
return this.help(args.message);
|
|
70
|
+
}
|
|
71
|
+
await (0, import_internals.checkUnsupportedDataProxy)("migrate dev", args, config.schema, true);
|
|
72
|
+
if (args["--help"]) {
|
|
73
|
+
return this.help();
|
|
74
|
+
}
|
|
75
|
+
await (0, import_internals.loadEnvFile)({ schemaPath: args["--schema"], printMessage: true, config });
|
|
76
|
+
const { schemaPath, schemas } = await (0, import_chunk_6DFJIBJX.getSchemaPathAndPrint)(args["--schema"], config.schema);
|
|
77
|
+
const datasourceInfo = await (0, import_chunk_DJMFXNR4.getDatasourceInfo)({ schemaPath });
|
|
78
|
+
(0, import_chunk_QOPTDDIH.printDatasource)({ datasourceInfo });
|
|
79
|
+
process.stdout.write("\n");
|
|
80
|
+
(0, import_internals.validate)({
|
|
81
|
+
schemas
|
|
82
|
+
});
|
|
83
|
+
await (0, import_internals.getConfig)({
|
|
84
|
+
datamodel: schemas,
|
|
85
|
+
ignoreEnvVarErrors: false
|
|
86
|
+
});
|
|
87
|
+
const wasDbCreated = await (0, import_chunk_DJMFXNR4.ensureDatabaseExists)("create", schemaPath);
|
|
88
|
+
if (wasDbCreated) {
|
|
89
|
+
process.stdout.write(wasDbCreated + "\n\n");
|
|
90
|
+
}
|
|
91
|
+
const migrate = new import_chunk_DDHPSYC4.Migrate(schemaPath);
|
|
92
|
+
let devDiagnostic;
|
|
93
|
+
try {
|
|
94
|
+
devDiagnostic = await migrate.devDiagnostic();
|
|
95
|
+
debug({ devDiagnostic: JSON.stringify(devDiagnostic, null, 2) });
|
|
96
|
+
} catch (e) {
|
|
97
|
+
migrate.stop();
|
|
98
|
+
throw e;
|
|
99
|
+
}
|
|
100
|
+
const migrationIdsApplied = [];
|
|
101
|
+
if (devDiagnostic.action.tag === "reset") {
|
|
102
|
+
if (!args["--force"]) {
|
|
103
|
+
if (!(0, import_internals.canPrompt)()) {
|
|
104
|
+
migrate.stop();
|
|
105
|
+
throw new import_chunk_3WC4XD74.MigrateDevEnvNonInteractiveError();
|
|
106
|
+
}
|
|
107
|
+
const confirmedReset = await this.confirmReset({
|
|
108
|
+
datasourceInfo,
|
|
109
|
+
reason: devDiagnostic.action.reason
|
|
110
|
+
});
|
|
111
|
+
process.stdout.write("\n");
|
|
112
|
+
if (!confirmedReset) {
|
|
113
|
+
process.stdout.write("Reset cancelled.\n");
|
|
114
|
+
migrate.stop();
|
|
115
|
+
process.exit(130);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
try {
|
|
119
|
+
await migrate.reset();
|
|
120
|
+
} catch (e) {
|
|
121
|
+
migrate.stop();
|
|
122
|
+
throw e;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
try {
|
|
126
|
+
const { appliedMigrationNames } = await migrate.applyMigrations();
|
|
127
|
+
migrationIdsApplied.push(...appliedMigrationNames);
|
|
128
|
+
if (appliedMigrationNames.length > 0) {
|
|
129
|
+
process.stdout.write(
|
|
130
|
+
`
|
|
131
|
+
The following migration(s) have been applied:
|
|
132
|
+
|
|
133
|
+
${(0, import_chunk_255BRND3.printFilesFromMigrationIds)(
|
|
134
|
+
"migrations",
|
|
135
|
+
appliedMigrationNames,
|
|
136
|
+
{
|
|
137
|
+
"migration.sql": ""
|
|
138
|
+
}
|
|
139
|
+
)}
|
|
140
|
+
`
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
} catch (e) {
|
|
144
|
+
migrate.stop();
|
|
145
|
+
throw e;
|
|
146
|
+
}
|
|
147
|
+
let evaluateDataLossResult;
|
|
148
|
+
try {
|
|
149
|
+
evaluateDataLossResult = await migrate.evaluateDataLoss();
|
|
150
|
+
debug({ evaluateDataLossResult });
|
|
151
|
+
} catch (e) {
|
|
152
|
+
migrate.stop();
|
|
153
|
+
throw e;
|
|
154
|
+
}
|
|
155
|
+
const unexecutableStepsError = (0, import_chunk_7CQBDP4H.handleUnexecutableSteps)(
|
|
156
|
+
evaluateDataLossResult.unexecutableSteps,
|
|
157
|
+
args["--create-only"]
|
|
158
|
+
);
|
|
159
|
+
if (unexecutableStepsError) {
|
|
160
|
+
migrate.stop();
|
|
161
|
+
throw new Error(unexecutableStepsError);
|
|
162
|
+
}
|
|
163
|
+
if (evaluateDataLossResult.warnings && evaluateDataLossResult.warnings.length > 0) {
|
|
164
|
+
process.stdout.write((0, import_chunk_SKRR5WT4.bold)(`
|
|
165
|
+
\u26A0\uFE0F Warnings for the current datasource:
|
|
166
|
+
|
|
167
|
+
`));
|
|
168
|
+
for (const warning of evaluateDataLossResult.warnings) {
|
|
169
|
+
process.stdout.write(` \u2022 ${warning.message}
|
|
170
|
+
`);
|
|
171
|
+
}
|
|
172
|
+
process.stdout.write("\n");
|
|
173
|
+
if (!args["--force"]) {
|
|
174
|
+
if (!(0, import_internals.canPrompt)()) {
|
|
175
|
+
migrate.stop();
|
|
176
|
+
throw new import_chunk_3WC4XD74.MigrateDevEnvNonInteractiveError();
|
|
177
|
+
}
|
|
178
|
+
const message = args["--create-only"] ? "Are you sure you want to create this migration?" : "Are you sure you want to create and apply this migration?";
|
|
179
|
+
const confirmation = await (0, import_prompts.default)({
|
|
180
|
+
type: "confirm",
|
|
181
|
+
name: "value",
|
|
182
|
+
message
|
|
183
|
+
});
|
|
184
|
+
if (!confirmation.value) {
|
|
185
|
+
process.stdout.write("Migration cancelled.\n");
|
|
186
|
+
migrate.stop();
|
|
187
|
+
process.exit(130);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
let migrationName = void 0;
|
|
192
|
+
if (evaluateDataLossResult.migrationSteps > 0 || args["--create-only"]) {
|
|
193
|
+
const getMigrationNameResult = await (0, import_chunk_OCQGHQED.getMigrationName)(args["--name"]);
|
|
194
|
+
if (getMigrationNameResult.userCancelled) {
|
|
195
|
+
process.stdout.write(getMigrationNameResult.userCancelled + "\n");
|
|
196
|
+
migrate.stop();
|
|
197
|
+
process.exit(130);
|
|
198
|
+
} else {
|
|
199
|
+
migrationName = getMigrationNameResult.name;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
let migrationIds;
|
|
203
|
+
try {
|
|
204
|
+
const createMigrationResult = await migrate.createMigration({
|
|
205
|
+
migrationsDirectoryPath: migrate.migrationsDirectoryPath,
|
|
206
|
+
migrationName: migrationName || "",
|
|
207
|
+
draft: args["--create-only"] ? true : false,
|
|
208
|
+
schema: (0, import_internals.toSchemasContainer)((await migrate.getPrismaSchema()).schemas)
|
|
209
|
+
});
|
|
210
|
+
debug({ createMigrationResult });
|
|
211
|
+
if (args["--create-only"]) {
|
|
212
|
+
migrate.stop();
|
|
213
|
+
return `Prisma Migrate created the following migration without applying it ${(0, import_chunk_UP6FVCDK.printMigrationId)(
|
|
214
|
+
createMigrationResult.generatedMigrationName
|
|
215
|
+
)}
|
|
216
|
+
|
|
217
|
+
You can now edit it and apply it by running ${(0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)("prisma migrate dev"))}.`;
|
|
218
|
+
}
|
|
219
|
+
const { appliedMigrationNames } = await migrate.applyMigrations();
|
|
220
|
+
migrationIds = appliedMigrationNames;
|
|
221
|
+
} finally {
|
|
222
|
+
migrate.stop();
|
|
223
|
+
}
|
|
224
|
+
migrationIdsApplied.length > 0 && process.stdout.write("\n");
|
|
225
|
+
if (migrationIds.length === 0) {
|
|
226
|
+
if (migrationIdsApplied.length > 0) {
|
|
227
|
+
process.stdout.write(`${(0, import_chunk_SKRR5WT4.green)("Your database is now in sync with your schema.")}
|
|
228
|
+
`);
|
|
229
|
+
} else {
|
|
230
|
+
process.stdout.write(`Already in sync, no schema change or pending migration was found.
|
|
231
|
+
`);
|
|
232
|
+
}
|
|
233
|
+
} else {
|
|
234
|
+
process.stdout.write(
|
|
235
|
+
`
|
|
236
|
+
The following migration(s) have been created and applied from new schema changes:
|
|
237
|
+
|
|
238
|
+
${(0, import_chunk_255BRND3.printFilesFromMigrationIds)(
|
|
239
|
+
"migrations",
|
|
240
|
+
migrationIds,
|
|
241
|
+
{
|
|
242
|
+
"migration.sql": ""
|
|
243
|
+
}
|
|
244
|
+
)}
|
|
245
|
+
|
|
246
|
+
${(0, import_chunk_SKRR5WT4.green)("Your database is now in sync with your schema.")}
|
|
247
|
+
`
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
if (!process.env.PRISMA_MIGRATE_SKIP_GENERATE && !args["--skip-generate"]) {
|
|
251
|
+
await migrate.tryToRunGenerate(datasourceInfo);
|
|
252
|
+
process.stdout.write("\n");
|
|
253
|
+
}
|
|
254
|
+
if ((wasDbCreated || devDiagnostic.action.tag === "reset") && !process.env.PRISMA_MIGRATE_SKIP_SEED && !args["--skip-seed"]) {
|
|
255
|
+
try {
|
|
256
|
+
const seedCommandFromPkgJson = await (0, import_chunk_V3ZMNXZC.getSeedCommandFromPackageJson)(process.cwd());
|
|
257
|
+
if (seedCommandFromPkgJson) {
|
|
258
|
+
process.stdout.write("\n");
|
|
259
|
+
const successfulSeeding = await (0, import_chunk_V3ZMNXZC.executeSeedCommand)({ commandFromConfig: seedCommandFromPkgJson });
|
|
260
|
+
if (successfulSeeding) {
|
|
261
|
+
process.stdout.write(`
|
|
262
|
+
${process.platform === "win32" ? "" : "\u{1F331} "}The seed command has been executed.
|
|
263
|
+
`);
|
|
264
|
+
} else {
|
|
265
|
+
process.exit(1);
|
|
266
|
+
}
|
|
267
|
+
} else {
|
|
268
|
+
const { schemaPath: schemaPath2 } = await (0, import_internals.getSchemaWithPath)(args["--schema"], config.schema);
|
|
269
|
+
await (0, import_chunk_V3ZMNXZC.verifySeedConfigAndReturnMessage)(schemaPath2);
|
|
270
|
+
}
|
|
271
|
+
} catch (e) {
|
|
272
|
+
console.error(e);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
return "";
|
|
276
|
+
}
|
|
277
|
+
async confirmReset({
|
|
278
|
+
datasourceInfo,
|
|
279
|
+
reason
|
|
280
|
+
}) {
|
|
281
|
+
process.stdout.write(reason + "\n");
|
|
282
|
+
let messageFirstLine = "";
|
|
283
|
+
if (["PostgreSQL", "SQL Server"].includes(datasourceInfo.prettyProvider)) {
|
|
284
|
+
if (datasourceInfo.schemas?.length) {
|
|
285
|
+
messageFirstLine = `We need to reset the following schemas: "${datasourceInfo.schemas.join(", ")}"`;
|
|
286
|
+
} else if (datasourceInfo.schema) {
|
|
287
|
+
messageFirstLine = `We need to reset the "${datasourceInfo.schema}" schema`;
|
|
288
|
+
} else {
|
|
289
|
+
messageFirstLine = `We need to reset the database schema`;
|
|
290
|
+
}
|
|
291
|
+
} else {
|
|
292
|
+
messageFirstLine = `We need to reset the ${datasourceInfo.prettyProvider} database "${datasourceInfo.dbName}"`;
|
|
293
|
+
}
|
|
294
|
+
if (datasourceInfo.dbLocation) {
|
|
295
|
+
messageFirstLine += ` at "${datasourceInfo.dbLocation}"`;
|
|
296
|
+
}
|
|
297
|
+
const messageForPrompt = `${messageFirstLine}
|
|
298
|
+
Do you want to continue? ${(0, import_chunk_SKRR5WT4.red)("All data will be lost")}.`;
|
|
299
|
+
if (Boolean(import_prompts.default._injected?.length) === true) {
|
|
300
|
+
process.stdout.write(messageForPrompt + "\n");
|
|
301
|
+
}
|
|
302
|
+
const confirmation = await (0, import_prompts.default)({
|
|
303
|
+
type: "confirm",
|
|
304
|
+
name: "value",
|
|
305
|
+
message: messageForPrompt
|
|
306
|
+
});
|
|
307
|
+
return confirmation.value;
|
|
308
|
+
}
|
|
309
|
+
help(error) {
|
|
310
|
+
if (error) {
|
|
311
|
+
return new import_internals.HelpError(`
|
|
312
|
+
${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)(`!`))} ${error}
|
|
313
|
+
${_MigrateDev2.help}`);
|
|
314
|
+
}
|
|
315
|
+
return _MigrateDev2.help;
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
_MigrateDev.help = (0, import_internals.format)(`
|
|
319
|
+
${process.platform === "win32" ? "" : "\u{1F3CB}\uFE0F "}Create a migration from changes in Prisma schema, apply it to the database, trigger generators (e.g. Prisma Client)
|
|
320
|
+
|
|
321
|
+
${(0, import_chunk_SKRR5WT4.bold)("Usage")}
|
|
322
|
+
|
|
323
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate dev [options]
|
|
324
|
+
|
|
325
|
+
${(0, import_chunk_SKRR5WT4.bold)("Options")}
|
|
326
|
+
|
|
327
|
+
-h, --help Display this help message
|
|
328
|
+
--config Custom path to your Prisma config file
|
|
329
|
+
--schema Custom path to your Prisma schema
|
|
330
|
+
-n, --name Name the migration
|
|
331
|
+
--create-only Create a new migration but do not apply it
|
|
332
|
+
The migration will be empty if there are no changes in Prisma schema
|
|
333
|
+
--skip-generate Skip triggering generators (e.g. Prisma Client)
|
|
334
|
+
--skip-seed Skip triggering seed
|
|
335
|
+
|
|
336
|
+
${(0, import_chunk_SKRR5WT4.bold)("Examples")}
|
|
337
|
+
|
|
338
|
+
Create a migration from changes in Prisma schema, apply it to the database, trigger generators (e.g. Prisma Client)
|
|
339
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate dev
|
|
340
|
+
|
|
341
|
+
Specify a schema
|
|
342
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate dev --schema=./schema.prisma
|
|
343
|
+
|
|
344
|
+
Create a migration without applying it
|
|
345
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate dev --create-only
|
|
346
|
+
`);
|
|
347
|
+
var MigrateDev = _MigrateDev;
|
|
@@ -26,24 +26,19 @@ 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_YZVZCC3I_exports = {};
|
|
30
|
+
__export(chunk_YZVZCC3I_exports, {
|
|
31
31
|
DbDrop: () => DbDrop
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
37
|
-
var
|
|
38
|
-
var
|
|
39
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_YZVZCC3I_exports);
|
|
34
|
+
var import_chunk_IHDN3L3R = require("./chunk-IHDN3L3R.js");
|
|
35
|
+
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
36
|
+
var import_chunk_6DFJIBJX = require("./chunk-6DFJIBJX.js");
|
|
37
|
+
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
38
|
+
var import_chunk_DJMFXNR4 = require("./chunk-DJMFXNR4.js");
|
|
39
|
+
var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
|
|
40
40
|
var import_internals = require("@prisma/internals");
|
|
41
41
|
var import_prompts = __toESM(require("prompts"));
|
|
42
|
-
(0, import_chunk_6TE2RIPN.init_colors)();
|
|
43
|
-
(0, import_chunk_XJQP3B4W.init_ensureDatabaseExists)();
|
|
44
|
-
(0, import_chunk_U374EXYQ.init_errors)();
|
|
45
|
-
(0, import_chunk_M5YNQ2NP.init_getSchemaPathAndPrint)();
|
|
46
|
-
(0, import_chunk_Q7ACZDDT.init_printDatasource)();
|
|
47
42
|
var _DbDrop = class _DbDrop2 {
|
|
48
43
|
static new() {
|
|
49
44
|
return new _DbDrop2();
|
|
@@ -67,23 +62,23 @@ var _DbDrop = class _DbDrop2 {
|
|
|
67
62
|
return this.help();
|
|
68
63
|
}
|
|
69
64
|
if (!args["--preview-feature"]) {
|
|
70
|
-
throw new
|
|
65
|
+
throw new import_chunk_IHDN3L3R.PreviewFlagError();
|
|
71
66
|
}
|
|
72
67
|
await (0, import_internals.loadEnvFile)({ schemaPath: args["--schema"], printMessage: true, config });
|
|
73
|
-
const { schemaPath } = await (0,
|
|
74
|
-
const datasourceInfo = await (0,
|
|
75
|
-
(0,
|
|
68
|
+
const { schemaPath } = await (0, import_chunk_6DFJIBJX.getSchemaPathAndPrint)(args["--schema"], config.schema);
|
|
69
|
+
const datasourceInfo = await (0, import_chunk_DJMFXNR4.getDatasourceInfo)({ schemaPath, throwIfEnvError: true });
|
|
70
|
+
(0, import_chunk_QOPTDDIH.printDatasource)({ datasourceInfo });
|
|
76
71
|
process.stdout.write("\n");
|
|
77
72
|
if (!args["--force"]) {
|
|
78
73
|
if (!(0, import_internals.canPrompt)()) {
|
|
79
|
-
throw new
|
|
74
|
+
throw new import_chunk_3WC4XD74.DbDropNeedsForceError("drop");
|
|
80
75
|
}
|
|
81
76
|
const confirmation = await (0, import_prompts.default)({
|
|
82
77
|
type: "text",
|
|
83
78
|
name: "value",
|
|
84
79
|
message: `Enter the ${datasourceInfo.prettyProvider} database name "${datasourceInfo.dbName}" to drop it.
|
|
85
80
|
Location: "${datasourceInfo.dbLocation}".
|
|
86
|
-
${(0,
|
|
81
|
+
${(0, import_chunk_SKRR5WT4.red)("All data will be lost")}.`
|
|
87
82
|
});
|
|
88
83
|
process.stdout.write("\n");
|
|
89
84
|
if (!confirmation.value) {
|
|
@@ -103,7 +98,7 @@ ${(0, import_chunk_6TE2RIPN.red)("All data will be lost")}.`
|
|
|
103
98
|
help(error) {
|
|
104
99
|
if (error) {
|
|
105
100
|
return new import_internals.HelpError(`
|
|
106
|
-
${(0,
|
|
101
|
+
${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)(`!`))} ${error}
|
|
107
102
|
${_DbDrop2.help}`);
|
|
108
103
|
}
|
|
109
104
|
return _DbDrop2.help;
|
|
@@ -112,32 +107,32 @@ ${_DbDrop2.help}`);
|
|
|
112
107
|
_DbDrop.help = (0, import_internals.format)(`
|
|
113
108
|
${process.platform === "win32" ? "" : "\u{1F4A3} "}Drop the database
|
|
114
109
|
|
|
115
|
-
${(0,
|
|
110
|
+
${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.yellow)("WARNING"))} ${(0, import_chunk_SKRR5WT4.bold)(
|
|
116
111
|
`Prisma db drop is currently in Preview (${(0, import_internals.link)("https://pris.ly/d/preview")}).
|
|
117
112
|
There may be bugs and it's not recommended to use it in production environments.`
|
|
118
113
|
)}
|
|
119
|
-
${(0,
|
|
114
|
+
${(0, import_chunk_SKRR5WT4.dim)("When using any of the subcommands below you need to explicitly opt-in via the --preview-feature flag.")}
|
|
120
115
|
|
|
121
|
-
${(0,
|
|
116
|
+
${(0, import_chunk_SKRR5WT4.bold)("Usage")}
|
|
122
117
|
|
|
123
|
-
${(0,
|
|
118
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db drop [options] --preview-feature
|
|
124
119
|
|
|
125
|
-
${(0,
|
|
120
|
+
${(0, import_chunk_SKRR5WT4.bold)("Options")}
|
|
126
121
|
|
|
127
122
|
-h, --help Display this help message
|
|
128
123
|
--config Custom path to your Prisma config file
|
|
129
124
|
--schema Custom path to your Prisma schema
|
|
130
125
|
-f, --force Skip the confirmation prompt
|
|
131
126
|
|
|
132
|
-
${(0,
|
|
127
|
+
${(0, import_chunk_SKRR5WT4.bold)("Examples")}
|
|
133
128
|
|
|
134
129
|
Drop the database
|
|
135
|
-
${(0,
|
|
130
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db drop --preview-feature
|
|
136
131
|
|
|
137
132
|
Specify a schema
|
|
138
|
-
${(0,
|
|
133
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db drop --preview-feature --schema=./schema.prisma
|
|
139
134
|
|
|
140
135
|
Use --force to skip the confirmation prompt
|
|
141
|
-
${(0,
|
|
136
|
+
${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db drop --preview-feature --force
|
|
142
137
|
`);
|
|
143
138
|
var DbDrop = _DbDrop;
|
|
@@ -18,10 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbCommand_exports = {};
|
|
20
20
|
__export(DbCommand_exports, {
|
|
21
|
-
DbCommand: () =>
|
|
21
|
+
DbCommand: () => import_chunk_HIFVDK2U.DbCommand
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbCommand_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_HIFVDK2U = require("../chunk-HIFVDK2U.js");
|
|
25
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
26
26
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
27
|
-
(0, import_chunk_O4BT6W33.init_DbCommand)();
|
package/dist/commands/DbDrop.js
CHANGED
|
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbDrop_exports = {};
|
|
20
20
|
__export(DbDrop_exports, {
|
|
21
|
-
DbDrop: () =>
|
|
21
|
+
DbDrop: () => import_chunk_YZVZCC3I.DbDrop
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbDrop_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
24
|
+
var import_chunk_YZVZCC3I = require("../chunk-YZVZCC3I.js");
|
|
25
|
+
var import_chunk_IHDN3L3R = require("../chunk-IHDN3L3R.js");
|
|
26
|
+
var import_chunk_3WC4XD74 = require("../chunk-3WC4XD74.js");
|
|
27
|
+
var import_chunk_6DFJIBJX = require("../chunk-6DFJIBJX.js");
|
|
28
|
+
var import_chunk_QOPTDDIH = require("../chunk-QOPTDDIH.js");
|
|
29
|
+
var import_chunk_DJMFXNR4 = require("../chunk-DJMFXNR4.js");
|
|
30
|
+
var import_chunk_TWPTG4XS = require("../chunk-TWPTG4XS.js");
|
|
31
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
32
32
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
@@ -18,16 +18,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbExecute_exports = {};
|
|
20
20
|
__export(DbExecute_exports, {
|
|
21
|
-
DbExecute: () =>
|
|
21
|
+
DbExecute: () => import_chunk_4EV2RVXY.DbExecute
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbExecute_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_4EV2RVXY = require("../chunk-4EV2RVXY.js");
|
|
25
|
+
var import_chunk_DDHPSYC4 = require("../chunk-DDHPSYC4.js");
|
|
26
26
|
var import_chunk_6C7ESGWY = require("../chunk-6C7ESGWY.js");
|
|
27
27
|
var import_chunk_J46BJQHT = require("../chunk-J46BJQHT.js");
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
28
|
+
var import_chunk_ORL3LJOT = require("../chunk-ORL3LJOT.js");
|
|
29
|
+
var import_chunk_MATFO4ZW = require("../chunk-MATFO4ZW.js");
|
|
30
|
+
var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
|
|
31
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
32
32
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
33
|
-
(0, import_chunk_AOX7CJAS.init_DbExecute)();
|
package/dist/commands/DbPull.js
CHANGED
|
@@ -18,30 +18,29 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbPull_exports = {};
|
|
20
20
|
__export(DbPull_exports, {
|
|
21
|
-
DbPull: () =>
|
|
21
|
+
DbPull: () => import_chunk_WLPX3672.DbPull
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbPull_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
26
|
-
var
|
|
24
|
+
var import_chunk_WLPX3672 = require("../chunk-WLPX3672.js");
|
|
25
|
+
var import_chunk_DIAO4W7O = require("../chunk-DIAO4W7O.js");
|
|
26
|
+
var import_chunk_RTGQXNX6 = require("../chunk-RTGQXNX6.js");
|
|
27
27
|
var import_chunk_YUCPBDWV = require("../chunk-YUCPBDWV.js");
|
|
28
28
|
var import_chunk_RM5LJIEV = require("../chunk-RM5LJIEV.js");
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
29
|
+
var import_chunk_RP2N6UXA = require("../chunk-RP2N6UXA.js");
|
|
30
|
+
var import_chunk_AHJ2N6BJ = require("../chunk-AHJ2N6BJ.js");
|
|
31
|
+
var import_chunk_JZ75RIMZ = require("../chunk-JZ75RIMZ.js");
|
|
32
|
+
var import_chunk_RR6BKMNO = require("../chunk-RR6BKMNO.js");
|
|
33
|
+
var import_chunk_JFKDSUIE = require("../chunk-JFKDSUIE.js");
|
|
34
|
+
var import_chunk_LGYRZ6CV = require("../chunk-LGYRZ6CV.js");
|
|
35
35
|
var import_chunk_LKTTJWFT = require("../chunk-LKTTJWFT.js");
|
|
36
36
|
var import_chunk_6C7ESGWY = require("../chunk-6C7ESGWY.js");
|
|
37
37
|
var import_chunk_J46BJQHT = require("../chunk-J46BJQHT.js");
|
|
38
|
-
var
|
|
39
|
-
var
|
|
40
|
-
var
|
|
41
|
-
var
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
38
|
+
var import_chunk_ORL3LJOT = require("../chunk-ORL3LJOT.js");
|
|
39
|
+
var import_chunk_MATFO4ZW = require("../chunk-MATFO4ZW.js");
|
|
40
|
+
var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
|
|
41
|
+
var import_chunk_3WC4XD74 = require("../chunk-3WC4XD74.js");
|
|
42
|
+
var import_chunk_QOPTDDIH = require("../chunk-QOPTDDIH.js");
|
|
43
|
+
var import_chunk_DJMFXNR4 = require("../chunk-DJMFXNR4.js");
|
|
44
|
+
var import_chunk_TWPTG4XS = require("../chunk-TWPTG4XS.js");
|
|
45
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
46
46
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
47
|
-
(0, import_chunk_26XQQ4AG.init_DbPull)();
|
package/dist/commands/DbPush.js
CHANGED
|
@@ -18,21 +18,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbPush_exports = {};
|
|
20
20
|
__export(DbPush_exports, {
|
|
21
|
-
DbPush: () =>
|
|
21
|
+
DbPush: () => import_chunk_C2PR6JQR.DbPush
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbPush_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_C2PR6JQR = require("../chunk-C2PR6JQR.js");
|
|
25
|
+
var import_chunk_DDHPSYC4 = require("../chunk-DDHPSYC4.js");
|
|
26
26
|
var import_chunk_6C7ESGWY = require("../chunk-6C7ESGWY.js");
|
|
27
27
|
var import_chunk_J46BJQHT = require("../chunk-J46BJQHT.js");
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
28
|
+
var import_chunk_ORL3LJOT = require("../chunk-ORL3LJOT.js");
|
|
29
|
+
var import_chunk_MATFO4ZW = require("../chunk-MATFO4ZW.js");
|
|
30
|
+
var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
|
|
31
|
+
var import_chunk_3WC4XD74 = require("../chunk-3WC4XD74.js");
|
|
32
|
+
var import_chunk_6DFJIBJX = require("../chunk-6DFJIBJX.js");
|
|
33
|
+
var import_chunk_QOPTDDIH = require("../chunk-QOPTDDIH.js");
|
|
34
|
+
var import_chunk_DJMFXNR4 = require("../chunk-DJMFXNR4.js");
|
|
35
|
+
var import_chunk_TWPTG4XS = require("../chunk-TWPTG4XS.js");
|
|
36
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
37
37
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
38
|
-
(0, import_chunk_FF3526PX.init_DbPush)();
|
package/dist/commands/DbSeed.js
CHANGED
|
@@ -18,12 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbSeed_exports = {};
|
|
20
20
|
__export(DbSeed_exports, {
|
|
21
|
-
DbSeed: () =>
|
|
21
|
+
DbSeed: () => import_chunk_FRTPDRF2.DbSeed
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbSeed_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_FRTPDRF2 = require("../chunk-FRTPDRF2.js");
|
|
25
|
+
var import_chunk_V3ZMNXZC = require("../chunk-V3ZMNXZC.js");
|
|
26
26
|
var import_chunk_J46BJQHT = require("../chunk-J46BJQHT.js");
|
|
27
|
-
var
|
|
27
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
28
28
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
29
|
-
(0, import_chunk_YD7GG4WS.init_DbSeed)();
|
|
@@ -18,10 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var MigrateCommand_exports = {};
|
|
20
20
|
__export(MigrateCommand_exports, {
|
|
21
|
-
MigrateCommand: () =>
|
|
21
|
+
MigrateCommand: () => import_chunk_WNH2ACJS.MigrateCommand
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(MigrateCommand_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_WNH2ACJS = require("../chunk-WNH2ACJS.js");
|
|
25
|
+
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
26
26
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
27
|
-
(0, import_chunk_4UJBOCZJ.init_MigrateCommand)();
|