@prisma/migrate 5.22.0-integration-remove-custom-yarn-logic.1 → 5.22.0-integration-engines-5-22-0-8-integration-itx-refactor-9bb49c906d23e0946061d551777bdac14ae4d17d.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,15 +26,15 @@ 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 chunk_O6RO4YUZ_exports = {};
30
- __export(chunk_O6RO4YUZ_exports, {
29
+ var chunk_LLGEQ76N_exports = {};
30
+ __export(chunk_LLGEQ76N_exports, {
31
31
  MigrateDev: () => MigrateDev,
32
32
  init_MigrateDev: () => init_MigrateDev
33
33
  });
34
- module.exports = __toCommonJS(chunk_O6RO4YUZ_exports);
34
+ module.exports = __toCommonJS(chunk_LLGEQ76N_exports);
35
35
  var import_chunk_IFCV5MY4 = require("./chunk-IFCV5MY4.js");
36
36
  var import_chunk_SGCF5OHF = require("./chunk-SGCF5OHF.js");
37
- var import_chunk_YKUZUAXA = require("./chunk-YKUZUAXA.js");
37
+ var import_chunk_EFPE3Q7J = require("./chunk-EFPE3Q7J.js");
38
38
  var import_chunk_WOOPRG54 = require("./chunk-WOOPRG54.js");
39
39
  var import_chunk_6QFE3AWR = require("./chunk-6QFE3AWR.js");
40
40
  var import_chunk_MWEO3VUS = require("./chunk-MWEO3VUS.js");
@@ -60,7 +60,7 @@ var init_MigrateDev = (0, import_chunk_WWAWV7DQ.__esm)({
60
60
  (0, import_chunk_WOOPRG54.init_printFiles)();
61
61
  (0, import_chunk_6QFE3AWR.init_printMigrationId)();
62
62
  (0, import_chunk_IFCV5MY4.init_promptForMigrationName)();
63
- (0, import_chunk_YKUZUAXA.init_seed)();
63
+ (0, import_chunk_EFPE3Q7J.init_seed)();
64
64
  debug = (0, import_debug.default)("prisma:migrate:dev");
65
65
  _MigrateDev = class _MigrateDev2 {
66
66
  static new() {
@@ -268,10 +268,10 @@ ${(0, import_chunk_6TE2RIPN.green)("Your database is now in sync with your schem
268
268
  }
269
269
  if ((wasDbCreated || devDiagnostic.action.tag === "reset") && !process.env.PRISMA_MIGRATE_SKIP_SEED && !args["--skip-seed"]) {
270
270
  try {
271
- const seedCommandFromPkgJson = await (0, import_chunk_YKUZUAXA.getSeedCommandFromPackageJson)(process.cwd());
271
+ const seedCommandFromPkgJson = await (0, import_chunk_EFPE3Q7J.getSeedCommandFromPackageJson)(process.cwd());
272
272
  if (seedCommandFromPkgJson) {
273
273
  process.stdout.write("\n");
274
- const successfulSeeding = await (0, import_chunk_YKUZUAXA.executeSeedCommand)({ commandFromConfig: seedCommandFromPkgJson });
274
+ const successfulSeeding = await (0, import_chunk_EFPE3Q7J.executeSeedCommand)({ commandFromConfig: seedCommandFromPkgJson });
275
275
  if (successfulSeeding) {
276
276
  process.stdout.write(`
277
277
  ${process.platform === "win32" ? "" : "\u{1F331} "}The seed command has been executed.
@@ -281,7 +281,7 @@ ${process.platform === "win32" ? "" : "\u{1F331} "}The seed command has been ex
281
281
  }
282
282
  } else {
283
283
  const { schemaPath: schemaPath2 } = await (0, import_internals.getSchemaWithPath)(args["--schema"]);
284
- await (0, import_chunk_YKUZUAXA.verifySeedConfigAndReturnMessage)(schemaPath2);
284
+ await (0, import_chunk_EFPE3Q7J.verifySeedConfigAndReturnMessage)(schemaPath2);
285
285
  }
286
286
  } catch (e) {
287
287
  console.error(e);