@prisma/migrate 7.10.0-dev.9 → 7.10.0-integration-fix-prisma-publish-token.1

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 (97) hide show
  1. package/dist/Migrate.js +4 -4
  2. package/dist/SchemaEngineCLI.js +4 -4
  3. package/dist/SchemaEngineWasm.js +4 -4
  4. package/dist/bin.js +42 -36
  5. package/dist/{chunk-CQTYRADU.js → chunk-2WAUT755.js} +24 -19
  6. package/dist/{chunk-FXSCTGN2.js → chunk-3C5DQOOW.js} +5 -5
  7. package/dist/{chunk-XTEEOIUV.js → chunk-3DR7R72S.js} +19 -14
  8. package/dist/{chunk-HWBQGGZH.js → chunk-3NKLI5KP.js} +9 -9
  9. package/dist/{chunk-6TSRRBNA.js → chunk-57S5K3DX.js} +7 -7
  10. package/dist/{chunk-7CQBDP4H.js → chunk-6F7CAPL7.js} +9 -10
  11. package/dist/{chunk-TDN3QQTH.js → chunk-6V2VYU3A.js} +30 -25
  12. package/dist/{chunk-TW5MYPTK.js → chunk-6W7GTZYX.js} +27 -22
  13. package/dist/{chunk-GBUW4I6U.js → chunk-7KCEXIB2.js} +6 -6
  14. package/dist/{chunk-TEOIOJ7P.js → chunk-A6PUWLVN.js} +6 -6
  15. package/dist/{chunk-LZ2DWYUY.js → chunk-BWFPKWBD.js} +7 -7
  16. package/dist/{chunk-6EQA63NM.js → chunk-D7N4YVZS.js} +39 -33
  17. package/dist/{chunk-DPRQXN36.js → chunk-DTSU3YZP.js} +6 -6
  18. package/dist/{chunk-WA2SOLDQ.js → chunk-EGNBSKBG.js} +8 -8
  19. package/dist/{chunk-DNNMOG7A.js → chunk-F2LZOLZK.js} +25 -24
  20. package/dist/{chunk-PPE4XDUL.js → chunk-GD52HTMX.js} +10 -10
  21. package/dist/{chunk-2HCAA4GX.js → chunk-GHPP2B5T.js} +27 -23
  22. package/dist/{chunk-RM4WK3ML.js → chunk-I7UMFS37.js} +33 -26
  23. package/dist/{chunk-NGEWTXY6.js → chunk-J6BC6QDB.js} +6 -6
  24. package/dist/{chunk-6DDIA3ZD.js → chunk-KDAXJMEP.js} +5 -5
  25. package/dist/{chunk-ZUHJASAP.js → chunk-KYZDCMJW.js} +12 -12
  26. package/dist/{chunk-UA3FFRRV.js → chunk-NSQ3NTDD.js} +26 -20
  27. package/dist/{chunk-VEBRKA5H.js → chunk-OQKFK65J.js} +6 -6
  28. package/dist/{chunk-YNB3IN6Q.js → chunk-OXZFIZV6.js} +8 -8
  29. package/dist/{chunk-WP5M3D4N.js → chunk-PCCMNZGX.js} +31 -28
  30. package/dist/{chunk-QCPYZUFF.js → chunk-RRKGNIXU.js} +34 -32
  31. package/dist/{chunk-THJ7K72W.js → chunk-SFFTVLXC.js} +6 -6
  32. package/dist/{chunk-AL3XYISJ.js → chunk-SUVNEDA5.js} +56 -51
  33. package/dist/{chunk-PEUHUCS4.js → chunk-T25WPL3D.js} +632 -625
  34. package/dist/{chunk-NHSJJSXU.js → chunk-TKQMAG6L.js} +5 -5
  35. package/dist/{chunk-DL2W77GY.js → chunk-TY3ROQOX.js} +34 -31
  36. package/dist/{chunk-RGXJYLMD.js → chunk-ZOYXSZ2J.js} +5 -5
  37. package/dist/{chunk-INC5VUX4.js → chunk-ZVRF2A5M.js} +6 -6
  38. package/dist/commands/DbCommand.js +2 -2
  39. package/dist/commands/DbDrop.js +3 -3
  40. package/dist/commands/DbExecute.js +5 -5
  41. package/dist/commands/DbPull.js +6 -6
  42. package/dist/commands/DbPush.js +6 -6
  43. package/dist/commands/DbSeed.js +2 -2
  44. package/dist/commands/MigrateCommand.js +2 -2
  45. package/dist/commands/MigrateDeploy.js +5 -5
  46. package/dist/commands/MigrateDev.js +7 -7
  47. package/dist/commands/MigrateDiff.js +6 -6
  48. package/dist/commands/MigrateReset.js +6 -6
  49. package/dist/commands/MigrateResolve.js +5 -5
  50. package/dist/commands/MigrateStatus.js +5 -5
  51. package/dist/commands/db-command-completion.js +2 -2
  52. package/dist/commands/db-execute-completion.js +2 -2
  53. package/dist/commands/db-pull-completion.js +2 -2
  54. package/dist/commands/db-push-completion.js +2 -2
  55. package/dist/commands/db-seed-completion.js +2 -2
  56. package/dist/commands/migrate-command-completion.js +2 -2
  57. package/dist/commands/migrate-deploy-completion.js +2 -2
  58. package/dist/commands/migrate-dev-completion.js +2 -2
  59. package/dist/commands/migrate-diff-completion.js +2 -2
  60. package/dist/commands/migrate-reset-completion.js +2 -2
  61. package/dist/commands/migrate-resolve-completion.js +2 -2
  62. package/dist/commands/migrate-status-completion.js +2 -2
  63. package/dist/index.js +63 -63
  64. package/dist/src/commands/DbCommand.d.ts +2 -2
  65. package/dist/src/commands/DbDrop.d.ts +3 -2
  66. package/dist/src/commands/DbExecute.d.ts +3 -2
  67. package/dist/src/commands/DbPull.d.ts +3 -2
  68. package/dist/src/commands/DbPush.d.ts +3 -2
  69. package/dist/src/commands/DbSeed.d.ts +3 -2
  70. package/dist/src/commands/MigrateCommand.d.ts +2 -2
  71. package/dist/src/commands/MigrateDeploy.d.ts +3 -2
  72. package/dist/src/commands/MigrateDev.d.ts +3 -2
  73. package/dist/src/commands/MigrateDiff.d.ts +3 -2
  74. package/dist/src/commands/MigrateReset.d.ts +3 -2
  75. package/dist/src/commands/MigrateResolve.d.ts +3 -2
  76. package/dist/src/commands/MigrateStatus.d.ts +3 -2
  77. package/dist/src/commands/db-command-completion.d.ts +1 -1
  78. package/dist/src/commands/db-execute-completion.d.ts +1 -1
  79. package/dist/src/commands/db-pull-completion.d.ts +1 -1
  80. package/dist/src/commands/db-push-completion.d.ts +1 -1
  81. package/dist/src/commands/db-seed-completion.d.ts +1 -1
  82. package/dist/src/commands/migrate-command-completion.d.ts +1 -1
  83. package/dist/src/commands/migrate-deploy-completion.d.ts +1 -1
  84. package/dist/src/commands/migrate-dev-completion.d.ts +1 -1
  85. package/dist/src/commands/migrate-diff-completion.d.ts +1 -1
  86. package/dist/src/commands/migrate-reset-completion.d.ts +1 -1
  87. package/dist/src/commands/migrate-resolve-completion.d.ts +1 -1
  88. package/dist/src/commands/migrate-status-completion.d.ts +1 -1
  89. package/dist/src/utils/errors.d.ts +4 -4
  90. package/dist/src/utils/handleEvaluateDataloss.d.ts +1 -1
  91. package/dist/utils/errors.js +8 -8
  92. package/dist/utils/getDatabaseVersionSafe.js +5 -5
  93. package/dist/utils/handleEvaluateDataloss.js +2 -2
  94. package/dist/utils/introspectSql.js +5 -5
  95. package/dist/utils/setupMSSQL.js +142 -56
  96. package/dist/views/handleViewsIO.js +2 -2
  97. package/package.json +12 -12
package/dist/Migrate.js CHANGED
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var Migrate_exports = {};
20
20
  __export(Migrate_exports, {
21
- Migrate: () => import_chunk_RGXJYLMD.Migrate
21
+ Migrate: () => import_chunk_ZOYXSZ2J.Migrate
22
22
  });
23
23
  module.exports = __toCommonJS(Migrate_exports);
24
- var import_chunk_RGXJYLMD = require("./chunk-RGXJYLMD.js");
24
+ var import_chunk_ZOYXSZ2J = require("./chunk-ZOYXSZ2J.js");
25
25
  var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
26
26
  var import_chunk_23DZXSTI = require("./chunk-23DZXSTI.js");
27
- var import_chunk_6DDIA3ZD = require("./chunk-6DDIA3ZD.js");
28
- var import_chunk_PEUHUCS4 = require("./chunk-PEUHUCS4.js");
27
+ var import_chunk_KDAXJMEP = require("./chunk-KDAXJMEP.js");
28
+ var import_chunk_T25WPL3D = require("./chunk-T25WPL3D.js");
29
29
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
30
30
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var SchemaEngineCLI_exports = {};
20
20
  __export(SchemaEngineCLI_exports, {
21
- EngineError: () => import_chunk_6DDIA3ZD.EngineError,
22
- SchemaEngineCLI: () => import_chunk_6DDIA3ZD.SchemaEngineCLI
21
+ EngineError: () => import_chunk_KDAXJMEP.EngineError,
22
+ SchemaEngineCLI: () => import_chunk_KDAXJMEP.SchemaEngineCLI
23
23
  });
24
24
  module.exports = __toCommonJS(SchemaEngineCLI_exports);
25
- var import_chunk_6DDIA3ZD = require("./chunk-6DDIA3ZD.js");
26
- var import_chunk_PEUHUCS4 = require("./chunk-PEUHUCS4.js");
25
+ var import_chunk_KDAXJMEP = require("./chunk-KDAXJMEP.js");
26
+ var import_chunk_T25WPL3D = require("./chunk-T25WPL3D.js");
27
27
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
28
28
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var SchemaEngineWasm_exports = {};
20
20
  __export(SchemaEngineWasm_exports, {
21
- SchemaEngineWasm: () => import_chunk_LZ2DWYUY.SchemaEngineWasm
21
+ SchemaEngineWasm: () => import_chunk_BWFPKWBD.SchemaEngineWasm
22
22
  });
23
23
  module.exports = __toCommonJS(SchemaEngineWasm_exports);
24
- var import_chunk_LZ2DWYUY = require("./chunk-LZ2DWYUY.js");
25
- var import_chunk_6DDIA3ZD = require("./chunk-6DDIA3ZD.js");
26
- var import_chunk_PEUHUCS4 = require("./chunk-PEUHUCS4.js");
24
+ var import_chunk_BWFPKWBD = require("./chunk-BWFPKWBD.js");
25
+ var import_chunk_KDAXJMEP = require("./chunk-KDAXJMEP.js");
26
+ var import_chunk_T25WPL3D = require("./chunk-T25WPL3D.js");
27
27
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
28
28
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
package/dist/bin.js CHANGED
@@ -23,43 +23,43 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
23
23
  mod
24
24
  ));
25
25
  var import_chunk_TXQI3C4H = require("./chunk-TXQI3C4H.js");
26
- var import_chunk_FXSCTGN2 = require("./chunk-FXSCTGN2.js");
27
- var import_chunk_CQTYRADU = require("./chunk-CQTYRADU.js");
28
- var import_chunk_DL2W77GY = require("./chunk-DL2W77GY.js");
26
+ var import_chunk_3C5DQOOW = require("./chunk-3C5DQOOW.js");
27
+ var import_chunk_2WAUT755 = require("./chunk-2WAUT755.js");
28
+ var import_chunk_TY3ROQOX = require("./chunk-TY3ROQOX.js");
29
29
  var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
30
- var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
31
- var import_chunk_RM4WK3ML = require("./chunk-RM4WK3ML.js");
30
+ var import_chunk_6F7CAPL7 = require("./chunk-6F7CAPL7.js");
31
+ var import_chunk_I7UMFS37 = require("./chunk-I7UMFS37.js");
32
32
  var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
33
- var import_chunk_TW5MYPTK = require("./chunk-TW5MYPTK.js");
33
+ var import_chunk_6W7GTZYX = require("./chunk-6W7GTZYX.js");
34
34
  var import_chunk_G222ME3D = require("./chunk-G222ME3D.js");
35
35
  var import_chunk_2R6DII47 = require("./chunk-2R6DII47.js");
36
36
  var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
37
- var import_chunk_AL3XYISJ = require("./chunk-AL3XYISJ.js");
38
- var import_chunk_TDN3QQTH = require("./chunk-TDN3QQTH.js");
39
- var import_chunk_2HCAA4GX = require("./chunk-2HCAA4GX.js");
40
- var import_chunk_QCPYZUFF = require("./chunk-QCPYZUFF.js");
41
- var import_chunk_6EQA63NM = require("./chunk-6EQA63NM.js");
37
+ var import_chunk_SUVNEDA5 = require("./chunk-SUVNEDA5.js");
38
+ var import_chunk_6V2VYU3A = require("./chunk-6V2VYU3A.js");
39
+ var import_chunk_GHPP2B5T = require("./chunk-GHPP2B5T.js");
40
+ var import_chunk_RRKGNIXU = require("./chunk-RRKGNIXU.js");
41
+ var import_chunk_D7N4YVZS = require("./chunk-D7N4YVZS.js");
42
42
  var import_chunk_ZOT2HSX5 = require("./chunk-ZOT2HSX5.js");
43
43
  var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
44
44
  var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
45
45
  var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
46
46
  var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
47
47
  var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
48
- var import_chunk_WP5M3D4N = require("./chunk-WP5M3D4N.js");
48
+ var import_chunk_PCCMNZGX = require("./chunk-PCCMNZGX.js");
49
49
  var import_chunk_PHX6STZ3 = require("./chunk-PHX6STZ3.js");
50
- var import_chunk_ZUHJASAP = require("./chunk-ZUHJASAP.js");
50
+ var import_chunk_KYZDCMJW = require("./chunk-KYZDCMJW.js");
51
51
  var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
52
52
  var import_chunk_BRPS327A = require("./chunk-BRPS327A.js");
53
53
  var import_chunk_TWPTG4XS = require("./chunk-TWPTG4XS.js");
54
- var import_chunk_XTEEOIUV = require("./chunk-XTEEOIUV.js");
54
+ var import_chunk_3DR7R72S = require("./chunk-3DR7R72S.js");
55
55
  var import_chunk_L7EZFBB4 = require("./chunk-L7EZFBB4.js");
56
56
  var import_chunk_3WDCTXHL = require("./chunk-3WDCTXHL.js");
57
- var import_chunk_DNNMOG7A = require("./chunk-DNNMOG7A.js");
58
- var import_chunk_RGXJYLMD = require("./chunk-RGXJYLMD.js");
57
+ var import_chunk_F2LZOLZK = require("./chunk-F2LZOLZK.js");
58
+ var import_chunk_ZOYXSZ2J = require("./chunk-ZOYXSZ2J.js");
59
59
  var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
60
60
  var import_chunk_23DZXSTI = require("./chunk-23DZXSTI.js");
61
- var import_chunk_6DDIA3ZD = require("./chunk-6DDIA3ZD.js");
62
- var import_chunk_PEUHUCS4 = require("./chunk-PEUHUCS4.js");
61
+ var import_chunk_KDAXJMEP = require("./chunk-KDAXJMEP.js");
62
+ var import_chunk_T25WPL3D = require("./chunk-T25WPL3D.js");
63
63
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
64
64
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
65
65
  var import_node_path = __toESM(require("node:path"));
@@ -67,7 +67,7 @@ var import_config = require("@prisma/config");
67
67
  var import_debug = __toESM(require("@prisma/debug"));
68
68
  var import_engines_version = require("@prisma/engines-version");
69
69
  var import_internals = require("@prisma/internals");
70
- var version = "7.10.0-dev.9";
70
+ var version = "7.10.0-integration-fix-prisma-publish-token.1";
71
71
  process.on("uncaughtException", (e) => {
72
72
  console.log(e);
73
73
  });
@@ -88,21 +88,27 @@ var args = (0, import_internals.arg)(
88
88
  );
89
89
  async function main() {
90
90
  const cli = import_chunk_TXQI3C4H.CLI.new({
91
- migrate: import_chunk_DNNMOG7A.MigrateCommand.new({
92
- dev: import_chunk_DL2W77GY.MigrateDev.new(),
93
- status: import_chunk_TDN3QQTH.MigrateStatus.new(),
94
- resolve: import_chunk_AL3XYISJ.MigrateResolve.new(),
95
- reset: import_chunk_TW5MYPTK.MigrateReset.new(),
96
- deploy: import_chunk_CQTYRADU.MigrateDeploy.new(),
97
- diff: import_chunk_RM4WK3ML.MigrateDiff.new()
98
- }),
99
- db: import_chunk_2HCAA4GX.DbCommand.new({
100
- execute: import_chunk_QCPYZUFF.DbExecute.new(),
101
- pull: import_chunk_6EQA63NM.DbPull.new(),
102
- push: import_chunk_WP5M3D4N.DbPush.new(),
103
- // drop: DbDrop.new(),
104
- seed: import_chunk_XTEEOIUV.DbSeed.new()
105
- })
91
+ migrate: import_chunk_F2LZOLZK.MigrateCommand.new(
92
+ {
93
+ dev: import_chunk_TY3ROQOX.MigrateDev.new("prisma"),
94
+ status: import_chunk_6V2VYU3A.MigrateStatus.new("prisma"),
95
+ resolve: import_chunk_SUVNEDA5.MigrateResolve.new("prisma"),
96
+ reset: import_chunk_6W7GTZYX.MigrateReset.new("prisma"),
97
+ deploy: import_chunk_2WAUT755.MigrateDeploy.new("prisma"),
98
+ diff: import_chunk_I7UMFS37.MigrateDiff.new("prisma")
99
+ },
100
+ "prisma"
101
+ ),
102
+ db: import_chunk_GHPP2B5T.DbCommand.new(
103
+ {
104
+ execute: import_chunk_RRKGNIXU.DbExecute.new("prisma"),
105
+ pull: import_chunk_D7N4YVZS.DbPull.new("prisma"),
106
+ push: import_chunk_PCCMNZGX.DbPush.new("prisma"),
107
+ // drop: DbDrop.new('prisma'),
108
+ seed: import_chunk_3DR7R72S.DbSeed.new("prisma")
109
+ },
110
+ "prisma"
111
+ )
106
112
  });
107
113
  const configFile = args["--config"];
108
114
  const baseDir = configFile ? import_node_path.default.resolve(configFile, "..") : process.cwd();
@@ -112,7 +118,7 @@ async function main() {
112
118
  return 1;
113
119
  }
114
120
  if (!config) {
115
- console.error("`prisma.config.ts` not found");
121
+ console.error("`prisma7.config.ts` not found");
116
122
  return 1;
117
123
  }
118
124
  try {
@@ -133,7 +139,7 @@ async function main() {
133
139
  cliVersion: version,
134
140
  enginesVersion: import_engines_version.enginesVersion,
135
141
  command: commandArray.join(" "),
136
- getDatabaseVersionSafe: (args2) => (0, import_chunk_FXSCTGN2.getDatabaseVersionSafe)(args2, config, baseDir)
142
+ getDatabaseVersionSafe: (args2) => (0, import_chunk_3C5DQOOW.getDatabaseVersionSafe)(args2, config, baseDir)
137
143
  });
138
144
  }
139
145
  throw error2;
@@ -26,31 +26,28 @@ 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_CQTYRADU_exports = {};
30
- __export(chunk_CQTYRADU_exports, {
29
+ var chunk_2WAUT755_exports = {};
30
+ __export(chunk_2WAUT755_exports, {
31
31
  MigrateDeploy: () => MigrateDeploy
32
32
  });
33
- module.exports = __toCommonJS(chunk_CQTYRADU_exports);
33
+ module.exports = __toCommonJS(chunk_2WAUT755_exports);
34
34
  var import_chunk_G222ME3D = require("./chunk-G222ME3D.js");
35
35
  var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
36
36
  var import_chunk_BRPS327A = require("./chunk-BRPS327A.js");
37
- var import_chunk_RGXJYLMD = require("./chunk-RGXJYLMD.js");
37
+ var import_chunk_ZOYXSZ2J = require("./chunk-ZOYXSZ2J.js");
38
38
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
39
39
  var import_debug = __toESM(require("@prisma/debug"));
40
40
  var import_internals = require("@prisma/internals");
41
41
  var debug = (0, import_debug.default)("prisma:migrate:deploy");
42
- var MigrateDeploy = class _MigrateDeploy {
43
- static new() {
44
- return new _MigrateDeploy();
45
- }
46
- static help = (0, import_internals.format)(`
42
+ function renderHelp(cliCommand) {
43
+ return (0, import_internals.format)(`
47
44
  Apply pending migrations to update the database schema in production/staging
48
45
 
49
46
  ${(0, import_chunk_SKRR5WT4.bold)("Usage")}
50
47
 
51
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate deploy [options]
48
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} migrate deploy [options]
52
49
 
53
- The datasource URL configuration is read from the Prisma config file (e.g., ${(0, import_chunk_SKRR5WT4.italic)("prisma.config.ts")}).
50
+ The datasource URL configuration is read from the Prisma config file (e.g., ${(0, import_chunk_SKRR5WT4.italic)("prisma7.config.ts")}).
54
51
 
55
52
  ${(0, import_chunk_SKRR5WT4.bold)("Options")}
56
53
 
@@ -61,12 +58,20 @@ ${(0, import_chunk_SKRR5WT4.bold)("Options")}
61
58
  ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
62
59
 
63
60
  Deploy your pending migrations to your production/staging database
64
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate deploy
61
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} migrate deploy
65
62
 
66
63
  Specify a schema
67
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate deploy --schema=./schema.prisma
64
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} migrate deploy --schema=./schema.prisma
68
65
 
69
66
  `);
67
+ }
68
+ var MigrateDeploy = class _MigrateDeploy {
69
+ constructor(cliCommand) {
70
+ this.cliCommand = cliCommand;
71
+ }
72
+ static new(cliCommand) {
73
+ return new _MigrateDeploy(cliCommand);
74
+ }
70
75
  async parse(argv, config, baseDir) {
71
76
  const args = (0, import_internals.arg)(
72
77
  argv,
@@ -93,15 +98,15 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
93
98
  })
94
99
  });
95
100
  const { migrationsDirPath } = (0, import_internals.inferDirectoryConfig)(schemaContext, config);
96
- const cmd = "migrate deploy";
97
- const validatedConfig = (0, import_internals.validatePrismaConfigWithDatasource)({ config, cmd });
98
- (0, import_internals.checkUnsupportedDataProxy)({ cmd, validatedConfig });
101
+ const cmd = `${this.cliCommand} migrate deploy`;
102
+ const validatedConfig = (0, import_internals.validatePrismaConfigWithDatasource)({ config, command: cmd });
103
+ (0, import_internals.checkUnsupportedDataProxy)({ command: cmd, validatedConfig });
99
104
  (0, import_chunk_QOPTDDIH.printDatasource)({ datasourceInfo: (0, import_chunk_BRPS327A.parseDatasourceInfo)(schemaContext.primaryDatasource, validatedConfig) });
100
105
  const schemaFilter = {
101
106
  externalTables: config.tables?.external ?? [],
102
107
  externalEnums: config.enums?.external ?? []
103
108
  };
104
- const migrate = await import_chunk_RGXJYLMD.Migrate.setup({
109
+ const migrate = await import_chunk_ZOYXSZ2J.Migrate.setup({
105
110
  schemaEngineConfig: config,
106
111
  baseDir,
107
112
  migrationsDirPath,
@@ -164,8 +169,8 @@ ${(0, import_chunk_SKRR5WT4.green)("All migrations have been successfully applie
164
169
  if (error) {
165
170
  return new import_internals.HelpError(`
166
171
  ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)(`!`))} ${error}
167
- ${_MigrateDeploy.help}`);
172
+ ${renderHelp(this.cliCommand)}`);
168
173
  }
169
- return _MigrateDeploy.help;
174
+ return renderHelp(this.cliCommand);
170
175
  }
171
176
  };
@@ -26,19 +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 chunk_FXSCTGN2_exports = {};
30
- __export(chunk_FXSCTGN2_exports, {
29
+ var chunk_3C5DQOOW_exports = {};
30
+ __export(chunk_3C5DQOOW_exports, {
31
31
  getDatabaseVersionSafe: () => getDatabaseVersionSafe
32
32
  });
33
- module.exports = __toCommonJS(chunk_FXSCTGN2_exports);
34
- var import_chunk_RGXJYLMD = require("./chunk-RGXJYLMD.js");
33
+ module.exports = __toCommonJS(chunk_3C5DQOOW_exports);
34
+ var import_chunk_ZOYXSZ2J = require("./chunk-ZOYXSZ2J.js");
35
35
  var import_debug = __toESM(require("@prisma/debug"));
36
36
  var debug = (0, import_debug.default)("prisma:cli");
37
37
  async function getDatabaseVersionSafe(args, config, baseDir) {
38
38
  let migrate;
39
39
  let dbVersion;
40
40
  try {
41
- migrate = await import_chunk_RGXJYLMD.Migrate.setup({ schemaEngineConfig: config, baseDir });
41
+ migrate = await import_chunk_ZOYXSZ2J.Migrate.setup({ schemaEngineConfig: config, baseDir });
42
42
  dbVersion = await migrate.engine.getDatabaseVersion(args);
43
43
  } catch (e) {
44
44
  debug(e);
@@ -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 chunk_XTEEOIUV_exports = {};
20
- __export(chunk_XTEEOIUV_exports, {
19
+ var chunk_3DR7R72S_exports = {};
20
+ __export(chunk_3DR7R72S_exports, {
21
21
  DbSeed: () => DbSeed
22
22
  });
23
- module.exports = __toCommonJS(chunk_XTEEOIUV_exports);
23
+ module.exports = __toCommonJS(chunk_3DR7R72S_exports);
24
24
  var import_chunk_L7EZFBB4 = require("./chunk-L7EZFBB4.js");
25
25
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
26
26
  var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
@@ -169,16 +169,13 @@ var require_arg = (0, import_chunk_2ESYSVXG.__commonJS)({
169
169
  }
170
170
  });
171
171
  var import_arg = (0, import_chunk_2ESYSVXG.__toESM)(require_arg());
172
- var DbSeed = class _DbSeed {
173
- static new() {
174
- return new _DbSeed();
175
- }
176
- static help = (0, import_internals.format)(`
172
+ function renderHelp(cliCommand) {
173
+ return (0, import_internals.format)(`
177
174
  ${process.platform === "win32" ? "" : "\u{1F64C} "}Seed your database
178
175
 
179
176
  ${(0, import_chunk_SKRR5WT4.bold)("Usage")}
180
177
 
181
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db seed [options]
178
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} db seed [options]
182
179
 
183
180
  ${(0, import_chunk_SKRR5WT4.bold)("Options")}
184
181
 
@@ -188,8 +185,16 @@ ${(0, import_chunk_SKRR5WT4.bold)("Options")}
188
185
  ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
189
186
 
190
187
  Passing extra arguments to the seed command
191
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db seed -- --arg1 value1 --arg2 value2
188
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} db seed -- --arg1 value1 --arg2 value2
192
189
  `);
190
+ }
191
+ var DbSeed = class _DbSeed {
192
+ constructor(cliCommand) {
193
+ this.cliCommand = cliCommand;
194
+ }
195
+ static new(cliCommand) {
196
+ return new _DbSeed(cliCommand);
197
+ }
193
198
  async parse(argv, config) {
194
199
  const args = (0, import_internals.arg)(
195
200
  argv,
@@ -206,7 +211,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
206
211
  if (args instanceof import_arg.ArgError && args.code === "ARG_UNKNOWN_OPTION") {
207
212
  throw new Error(`${args.message}
208
213
  Did you mean to pass these as arguments to your seed script? If so, add a -- separator before them:
209
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma db seed -- --arg1 value1 --arg2 value2`);
214
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${this.cliCommand} db seed -- --arg1 value1 --arg2 value2`);
210
215
  }
211
216
  return this.help(args.message);
212
217
  }
@@ -221,7 +226,7 @@ To seed your database, add a ${(0, import_chunk_SKRR5WT4.bold)("seed")} property
221
226
 
222
227
  ${(0, import_chunk_SKRR5WT4.bold)("Example")}
223
228
 
224
- ${(0, import_chunk_SKRR5WT4.dim)("// prisma.config.ts")}
229
+ ${(0, import_chunk_SKRR5WT4.dim)("// prisma7.config.ts")}
225
230
  export default defineConfig({
226
231
  ${(0, import_chunk_SKRR5WT4.bold)("migrations: {")}
227
232
  ${(0, import_chunk_SKRR5WT4.bold)(`seed: 'bun\xB7./prisma/seed.ts'`)},
@@ -245,8 +250,8 @@ ${process.platform === "win32" ? "" : "\u{1F331} "}The seed command has been ex
245
250
  if (error) {
246
251
  return new import_internals.HelpError(`
247
252
  ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)(`!`))} ${error}
248
- ${_DbSeed.help}`);
253
+ ${renderHelp(this.cliCommand)}`);
249
254
  }
250
- return _DbSeed.help;
255
+ return renderHelp(this.cliCommand);
251
256
  }
252
257
  };
@@ -16,35 +16,35 @@ 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 chunk_HWBQGGZH_exports = {};
20
- __export(chunk_HWBQGGZH_exports, {
19
+ var chunk_3NKLI5KP_exports = {};
20
+ __export(chunk_3NKLI5KP_exports, {
21
21
  dbPullCompletion: () => dbPullCompletion
22
22
  });
23
- module.exports = __toCommonJS(chunk_HWBQGGZH_exports);
24
- var import_completion_values = require("@prisma/internals/src/cli/completion-values");
23
+ module.exports = __toCommonJS(chunk_3NKLI5KP_exports);
24
+ var import_internals = require("@prisma/internals");
25
25
  var dbPullCompletion = {
26
26
  name: "db pull",
27
27
  description: "Pull the schema from an existing database",
28
28
  options: [
29
29
  { name: "help", alias: "h", description: "Display this help message" },
30
- { name: "schema", description: "Custom path to your Prisma schema", values: import_completion_values.completionSchemaPaths },
31
- { name: "config", description: "Custom path to your Prisma config file", values: import_completion_values.completionConfigPaths },
30
+ { name: "schema", description: "Custom path to your Prisma schema", values: import_internals.completionSchemaPaths },
31
+ { name: "config", description: "Custom path to your Prisma config file", values: import_internals.completionConfigPaths },
32
32
  {
33
33
  name: "url",
34
34
  description: "Override the datasource URL from the Prisma config file",
35
- values: import_completion_values.completionDatasourceUrls
35
+ values: import_internals.completionDatasourceUrls
36
36
  },
37
37
  { name: "force", description: "Ignore current Prisma schema file" },
38
38
  { name: "print", description: "Print the introspected Prisma schema to stdout" },
39
39
  {
40
40
  name: "composite-type-depth",
41
41
  description: "Specify the depth for introspecting composite types",
42
- values: import_completion_values.completionCompositeTypeDepths
42
+ values: import_internals.completionCompositeTypeDepths
43
43
  },
44
44
  {
45
45
  name: "schemas",
46
46
  description: "Specify database schemas to introspect (overrides datasource block)",
47
- values: import_completion_values.completionDatabaseSchemas
47
+ values: import_internals.completionDatabaseSchemas
48
48
  }
49
49
  ]
50
50
  };
@@ -16,23 +16,23 @@ 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 chunk_6TSRRBNA_exports = {};
20
- __export(chunk_6TSRRBNA_exports, {
19
+ var chunk_57S5K3DX_exports = {};
20
+ __export(chunk_57S5K3DX_exports, {
21
21
  dbPushCompletion: () => dbPushCompletion
22
22
  });
23
- module.exports = __toCommonJS(chunk_6TSRRBNA_exports);
24
- var import_completion_values = require("@prisma/internals/src/cli/completion-values");
23
+ module.exports = __toCommonJS(chunk_57S5K3DX_exports);
24
+ var import_internals = require("@prisma/internals");
25
25
  var dbPushCompletion = {
26
26
  name: "db push",
27
27
  description: "Push the Prisma schema state to the database",
28
28
  options: [
29
29
  { name: "help", alias: "h", description: "Display this help message" },
30
- { name: "schema", description: "Custom path to your Prisma schema", values: import_completion_values.completionSchemaPaths },
31
- { name: "config", description: "Custom path to your Prisma config file", values: import_completion_values.completionConfigPaths },
30
+ { name: "schema", description: "Custom path to your Prisma schema", values: import_internals.completionSchemaPaths },
31
+ { name: "config", description: "Custom path to your Prisma config file", values: import_internals.completionConfigPaths },
32
32
  {
33
33
  name: "url",
34
34
  description: "Override the datasource URL from the Prisma config file",
35
- values: import_completion_values.completionDatasourceUrls
35
+ values: import_internals.completionDatasourceUrls
36
36
  },
37
37
  { name: "accept-data-loss", description: "Ignore data loss warnings" },
38
38
  { name: "force-reset", description: "Force a reset of the database before push" }
@@ -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 chunk_7CQBDP4H_exports = {};
20
- __export(chunk_7CQBDP4H_exports, {
19
+ var chunk_6F7CAPL7_exports = {};
20
+ __export(chunk_6F7CAPL7_exports, {
21
21
  handleUnexecutableSteps: () => handleUnexecutableSteps
22
22
  });
23
- module.exports = __toCommonJS(chunk_7CQBDP4H_exports);
23
+ module.exports = __toCommonJS(chunk_6F7CAPL7_exports);
24
24
  var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
25
25
  var import_internals = require("@prisma/internals");
26
- function handleUnexecutableSteps(unexecutableSteps, createOnly = false) {
26
+ function handleUnexecutableSteps(unexecutableSteps, cliCommand, createOnly = false) {
27
27
  if (unexecutableSteps && unexecutableSteps.length > 0) {
28
28
  const messages = [];
29
29
  messages.push(`${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)("\n\u26A0\uFE0F We found changes that cannot be executed:\n"))}`);
@@ -35,15 +35,14 @@ function handleUnexecutableSteps(unexecutableSteps, createOnly = false) {
35
35
  console.error(`${messages.join("\n")}
36
36
  `);
37
37
  return void 0;
38
- } else {
39
- return `${messages.join("\n")}
38
+ }
39
+ return `${messages.join("\n")}
40
40
 
41
41
  You can use ${(0, import_internals.getCommandWithExecutor)(
42
- "prisma migrate dev --create-only"
43
- )} to create the migration file, and manually modify it to address the underlying issue(s).
44
- Then run ${(0, import_internals.getCommandWithExecutor)("prisma migrate dev")} to apply it and verify it works.
42
+ `${cliCommand} migrate dev --create-only`
43
+ )} to create the migration file, and manually modify it to address the underlying issue(s).
44
+ Then run ${(0, import_internals.getCommandWithExecutor)(`${cliCommand} migrate dev`)} to apply it and verify it works.
45
45
  `;
46
- }
47
46
  }
48
47
  return void 0;
49
48
  }
@@ -26,30 +26,27 @@ 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_TDN3QQTH_exports = {};
30
- __export(chunk_TDN3QQTH_exports, {
29
+ var chunk_6V2VYU3A_exports = {};
30
+ __export(chunk_6V2VYU3A_exports, {
31
31
  MigrateStatus: () => MigrateStatus
32
32
  });
33
- module.exports = __toCommonJS(chunk_TDN3QQTH_exports);
33
+ module.exports = __toCommonJS(chunk_6V2VYU3A_exports);
34
34
  var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
35
35
  var import_chunk_BRPS327A = require("./chunk-BRPS327A.js");
36
- var import_chunk_RGXJYLMD = require("./chunk-RGXJYLMD.js");
36
+ var import_chunk_ZOYXSZ2J = require("./chunk-ZOYXSZ2J.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");
40
40
  var debug = (0, import_debug.default)("prisma:migrate:status");
41
- var MigrateStatus = class _MigrateStatus {
42
- static new() {
43
- return new _MigrateStatus();
44
- }
45
- static help = (0, import_internals.format)(`
41
+ function renderHelp(cliCommand) {
42
+ return (0, import_internals.format)(`
46
43
  Check the status of your database migrations
47
44
 
48
45
  ${(0, import_chunk_SKRR5WT4.bold)("Usage")}
49
46
 
50
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate status [options]
47
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} migrate status [options]
51
48
 
52
- The datasource URL configuration is read from the Prisma config file (e.g., ${(0, import_chunk_SKRR5WT4.italic)("prisma.config.ts")}).
49
+ The datasource URL configuration is read from the Prisma config file (e.g., ${(0, import_chunk_SKRR5WT4.italic)("prisma7.config.ts")}).
53
50
 
54
51
  ${(0, import_chunk_SKRR5WT4.bold)("Options")}
55
52
 
@@ -60,11 +57,19 @@ Check the status of your database migrations
60
57
  ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
61
58
 
62
59
  Check the status of your database migrations
63
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate status
60
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} migrate status
64
61
 
65
62
  Specify a schema
66
- ${(0, import_chunk_SKRR5WT4.dim)("$")} prisma migrate status --schema=./schema.prisma
63
+ ${(0, import_chunk_SKRR5WT4.dim)("$")} ${cliCommand} migrate status --schema=./schema.prisma
67
64
  `);
65
+ }
66
+ var MigrateStatus = class _MigrateStatus {
67
+ constructor(cliCommand) {
68
+ this.cliCommand = cliCommand;
69
+ }
70
+ static new(cliCommand) {
71
+ return new _MigrateStatus(cliCommand);
72
+ }
68
73
  async parse(argv, config, baseDir) {
69
74
  const args = (0, import_internals.arg)(
70
75
  argv,
@@ -91,15 +96,15 @@ Check the status of your database migrations
91
96
  })
92
97
  });
93
98
  const { migrationsDirPath } = (0, import_internals.inferDirectoryConfig)(schemaContext, config);
94
- const cmd = "migrate status";
95
- const validatedConfig = (0, import_internals.validatePrismaConfigWithDatasource)({ config, cmd });
96
- (0, import_internals.checkUnsupportedDataProxy)({ cmd, validatedConfig });
99
+ const cmd = `${this.cliCommand} migrate status`;
100
+ const validatedConfig = (0, import_internals.validatePrismaConfigWithDatasource)({ config, command: cmd });
101
+ (0, import_internals.checkUnsupportedDataProxy)({ command: cmd, validatedConfig });
97
102
  (0, import_chunk_QOPTDDIH.printDatasource)({ datasourceInfo: (0, import_chunk_BRPS327A.parseDatasourceInfo)(schemaContext.primaryDatasource, validatedConfig) });
98
103
  const schemaFilter = {
99
104
  externalTables: config.tables?.external ?? [],
100
105
  externalEnums: config.enums?.external ?? []
101
106
  };
102
- const migrate = await import_chunk_RGXJYLMD.Migrate.setup({
107
+ const migrate = await import_chunk_ZOYXSZ2J.Migrate.setup({
103
108
  schemaEngineConfig: config,
104
109
  baseDir,
105
110
  migrationsDirPath,
@@ -138,8 +143,8 @@ Check the status of your database migrations
138
143
  `Following migration${unappliedMigrations.length > 1 ? "s" : ""} have not yet been applied:
139
144
  ${unappliedMigrations.join("\n")}
140
145
 
141
- To apply migrations in development run ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`prisma migrate dev`)))}.
142
- To apply migrations in production run ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`prisma migrate deploy`)))}.
146
+ To apply migrations in development run ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`${this.cliCommand} migrate dev`)))}.
147
+ To apply migrations in production run ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`${this.cliCommand} migrate deploy`)))}.
143
148
  `
144
149
  );
145
150
  process.exit(1);
@@ -167,7 +172,7 @@ ${(0, import_internals.link)("https://pris.ly/d/migrate-baseline")}`);
167
172
  console.error(`The current database is not managed by Prisma Migrate.
168
173
 
169
174
  If you want to keep the current database structure and data and create new migrations, baseline this database with the migration "${migrationId}":
170
- ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`prisma migrate resolve --applied "${migrationId}"`)))}
175
+ ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`${this.cliCommand} migrate resolve --applied "${migrationId}"`)))}
171
176
 
172
177
  Read more about how to baseline an existing production database:
173
178
  https://pris.ly/d/migrate-baseline`);
@@ -180,17 +185,17 @@ https://pris.ly/d/migrate-baseline`);
180
185
  ${failedMigrations.join("\n")}
181
186
 
182
187
  During development if the failed migration(s) have not been deployed to a production database you can then fix the migration(s) and run ${(0, import_chunk_SKRR5WT4.bold)(
183
- (0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`prisma migrate dev`))
188
+ (0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`${this.cliCommand} migrate dev`))
184
189
  )}.
185
190
  `
186
191
  );
187
192
  console.error(`The failed migration(s) can be marked as rolled back or applied:
188
193
 
189
194
  - If you rolled back the migration(s) manually:
190
- ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`prisma migrate resolve --rolled-back "${failedMigrations[0]}"`)))}
195
+ ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`${this.cliCommand} migrate resolve --rolled-back "${failedMigrations[0]}"`)))}
191
196
 
192
197
  - If you fixed the database manually (hotfix):
193
- ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`prisma migrate resolve --applied "${failedMigrations[0]}"`)))}
198
+ ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.green)((0, import_internals.getCommandWithExecutor)(`${this.cliCommand} migrate resolve --applied "${failedMigrations[0]}"`)))}
194
199
 
195
200
  Read more about how to resolve migration issues in a production database:
196
201
  ${(0, import_internals.link)("https://pris.ly/d/migrate-resolve")}`);
@@ -207,8 +212,8 @@ ${(0, import_internals.link)("https://pris.ly/d/migrate-resolve")}`);
207
212
  if (error) {
208
213
  return new import_internals.HelpError(`
209
214
  ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)(`!`))} ${error}
210
- ${_MigrateStatus.help}`);
215
+ ${renderHelp(this.cliCommand)}`);
211
216
  }
212
- return _MigrateStatus.help;
217
+ return renderHelp(this.cliCommand);
213
218
  }
214
219
  };