@prisma/migrate 7.9.0-dev.9 → 7.10.0-dev.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.
- package/dist/bin.js +16 -16
- package/dist/{chunk-2UHNNEP4.js → chunk-6EQA63NM.js} +4 -4
- package/dist/chunk-6TSRRBNA.js +40 -0
- package/dist/{chunk-TEUL2TU3.js → chunk-CQTYRADU.js} +5 -5
- package/dist/{chunk-6UO6YJTU.js → chunk-DL2W77GY.js} +6 -6
- package/dist/chunk-DPRQXN36.js +34 -0
- package/dist/{chunk-KRQEFTDT.js → chunk-G222ME3D.js} +4 -4
- package/dist/chunk-GBUW4I6U.js +33 -0
- package/dist/chunk-HWBQGGZH.js +50 -0
- package/dist/chunk-INC5VUX4.js +33 -0
- package/dist/chunk-NGEWTXY6.js +33 -0
- package/dist/chunk-PHX6STZ3.js +147 -0
- package/dist/chunk-PPE4XDUL.js +63 -0
- package/dist/chunk-TEOIOJ7P.js +34 -0
- package/dist/chunk-THJ7K72W.js +33 -0
- package/dist/{chunk-WVAPMHNT.js → chunk-TW5MYPTK.js} +7 -7
- package/dist/{chunk-53R5LH65.js → chunk-UA3FFRRV.js} +5 -5
- package/dist/chunk-VEBRKA5H.js +33 -0
- package/dist/chunk-WA2SOLDQ.js +35 -0
- package/dist/{chunk-KPQKIXQM.js → chunk-WP5M3D4N.js} +8 -5
- package/dist/chunk-YNB3IN6Q.js +40 -0
- package/dist/commands/DbDrop.js +3 -3
- package/dist/commands/DbPull.js +3 -3
- package/dist/commands/DbPush.js +3 -3
- package/dist/commands/MigrateDeploy.js +4 -4
- package/dist/commands/MigrateDev.js +4 -4
- package/dist/commands/MigrateReset.js +5 -5
- package/dist/commands/db-command-completion.js +25 -0
- package/dist/commands/db-execute-completion.js +25 -0
- package/dist/commands/db-pull-completion.js +25 -0
- package/dist/commands/db-push-completion.js +25 -0
- package/dist/commands/db-seed-completion.js +25 -0
- package/dist/commands/migrate-command-completion.js +25 -0
- package/dist/commands/migrate-deploy-completion.js +25 -0
- package/dist/commands/migrate-dev-completion.js +25 -0
- package/dist/commands/migrate-diff-completion.js +25 -0
- package/dist/commands/migrate-reset-completion.js +25 -0
- package/dist/commands/migrate-resolve-completion.js +25 -0
- package/dist/commands/migrate-status-completion.js +25 -0
- package/dist/index.js +42 -18
- package/dist/src/commands/db-command-completion.d.ts +2 -0
- package/dist/src/commands/db-execute-completion.d.ts +2 -0
- package/dist/src/commands/db-pull-completion.d.ts +2 -0
- package/dist/src/commands/db-push-completion.d.ts +2 -0
- package/dist/src/commands/db-seed-completion.d.ts +2 -0
- package/dist/src/commands/migrate-command-completion.d.ts +2 -0
- package/dist/src/commands/migrate-deploy-completion.d.ts +2 -0
- package/dist/src/commands/migrate-dev-completion.d.ts +2 -0
- package/dist/src/commands/migrate-diff-completion.d.ts +2 -0
- package/dist/src/commands/migrate-reset-completion.d.ts +2 -0
- package/dist/src/commands/migrate-resolve-completion.d.ts +2 -0
- package/dist/src/commands/migrate-status-completion.d.ts +2 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/utils/ai-safety.d.ts +19 -1
- package/dist/utils/ai-safety.js +3 -2
- package/dist/utils/printFiles.js +4 -4
- package/dist/utils/setupMSSQL.js +24 -24
- package/package.json +10 -10
- package/dist/chunk-FBDQVK4W.js +0 -77
package/dist/bin.js
CHANGED
|
@@ -24,29 +24,29 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
24
24
|
));
|
|
25
25
|
var import_chunk_TXQI3C4H = require("./chunk-TXQI3C4H.js");
|
|
26
26
|
var import_chunk_FXSCTGN2 = require("./chunk-FXSCTGN2.js");
|
|
27
|
-
var
|
|
28
|
-
var
|
|
27
|
+
var import_chunk_CQTYRADU = require("./chunk-CQTYRADU.js");
|
|
28
|
+
var import_chunk_DL2W77GY = require("./chunk-DL2W77GY.js");
|
|
29
29
|
var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
|
|
30
30
|
var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
|
|
31
31
|
var import_chunk_RM4WK3ML = require("./chunk-RM4WK3ML.js");
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
32
|
+
var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
|
|
33
|
+
var import_chunk_TW5MYPTK = require("./chunk-TW5MYPTK.js");
|
|
34
|
+
var import_chunk_G222ME3D = require("./chunk-G222ME3D.js");
|
|
35
35
|
var import_chunk_2R6DII47 = require("./chunk-2R6DII47.js");
|
|
36
|
+
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
36
37
|
var import_chunk_AL3XYISJ = require("./chunk-AL3XYISJ.js");
|
|
37
38
|
var import_chunk_TDN3QQTH = require("./chunk-TDN3QQTH.js");
|
|
38
|
-
var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
|
|
39
39
|
var import_chunk_2HCAA4GX = require("./chunk-2HCAA4GX.js");
|
|
40
40
|
var import_chunk_QCPYZUFF = require("./chunk-QCPYZUFF.js");
|
|
41
|
-
var
|
|
41
|
+
var import_chunk_6EQA63NM = require("./chunk-6EQA63NM.js");
|
|
42
42
|
var import_chunk_ZOT2HSX5 = require("./chunk-ZOT2HSX5.js");
|
|
43
|
+
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
43
44
|
var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
|
|
44
45
|
var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
|
|
45
46
|
var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
|
|
46
|
-
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
47
47
|
var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
48
|
-
var
|
|
49
|
-
var
|
|
48
|
+
var import_chunk_WP5M3D4N = require("./chunk-WP5M3D4N.js");
|
|
49
|
+
var import_chunk_PHX6STZ3 = require("./chunk-PHX6STZ3.js");
|
|
50
50
|
var import_chunk_ZUHJASAP = require("./chunk-ZUHJASAP.js");
|
|
51
51
|
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
52
52
|
var import_chunk_BRPS327A = require("./chunk-BRPS327A.js");
|
|
@@ -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.
|
|
70
|
+
var version = "7.10.0-dev.1";
|
|
71
71
|
process.on("uncaughtException", (e) => {
|
|
72
72
|
console.log(e);
|
|
73
73
|
});
|
|
@@ -89,17 +89,17 @@ var args = (0, import_internals.arg)(
|
|
|
89
89
|
async function main() {
|
|
90
90
|
const cli = import_chunk_TXQI3C4H.CLI.new({
|
|
91
91
|
migrate: import_chunk_DNNMOG7A.MigrateCommand.new({
|
|
92
|
-
dev:
|
|
92
|
+
dev: import_chunk_DL2W77GY.MigrateDev.new(),
|
|
93
93
|
status: import_chunk_TDN3QQTH.MigrateStatus.new(),
|
|
94
94
|
resolve: import_chunk_AL3XYISJ.MigrateResolve.new(),
|
|
95
|
-
reset:
|
|
96
|
-
deploy:
|
|
95
|
+
reset: import_chunk_TW5MYPTK.MigrateReset.new(),
|
|
96
|
+
deploy: import_chunk_CQTYRADU.MigrateDeploy.new(),
|
|
97
97
|
diff: import_chunk_RM4WK3ML.MigrateDiff.new()
|
|
98
98
|
}),
|
|
99
99
|
db: import_chunk_2HCAA4GX.DbCommand.new({
|
|
100
100
|
execute: import_chunk_QCPYZUFF.DbExecute.new(),
|
|
101
|
-
pull:
|
|
102
|
-
push:
|
|
101
|
+
pull: import_chunk_6EQA63NM.DbPull.new(),
|
|
102
|
+
push: import_chunk_WP5M3D4N.DbPush.new(),
|
|
103
103
|
// drop: DbDrop.new(),
|
|
104
104
|
seed: import_chunk_XTEEOIUV.DbSeed.new()
|
|
105
105
|
})
|
|
@@ -26,16 +26,16 @@ 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_6EQA63NM_exports = {};
|
|
30
|
+
__export(chunk_6EQA63NM_exports, {
|
|
31
31
|
DbPull: () => DbPull
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_6EQA63NM_exports);
|
|
34
34
|
var import_chunk_ZOT2HSX5 = require("./chunk-ZOT2HSX5.js");
|
|
35
|
+
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
35
36
|
var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
|
|
36
37
|
var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
|
|
37
38
|
var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
|
|
38
|
-
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
39
39
|
var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
40
40
|
var import_chunk_ZUHJASAP = require("./chunk-ZUHJASAP.js");
|
|
41
41
|
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
@@ -0,0 +1,40 @@
|
|
|
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_6TSRRBNA_exports = {};
|
|
20
|
+
__export(chunk_6TSRRBNA_exports, {
|
|
21
|
+
dbPushCompletion: () => dbPushCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_6TSRRBNA_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var dbPushCompletion = {
|
|
26
|
+
name: "db push",
|
|
27
|
+
description: "Push the Prisma schema state to the database",
|
|
28
|
+
options: [
|
|
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 },
|
|
32
|
+
{
|
|
33
|
+
name: "url",
|
|
34
|
+
description: "Override the datasource URL from the Prisma config file",
|
|
35
|
+
values: import_completion_values.completionDatasourceUrls
|
|
36
|
+
},
|
|
37
|
+
{ name: "accept-data-loss", description: "Ignore data loss warnings" },
|
|
38
|
+
{ name: "force-reset", description: "Force a reset of the database before push" }
|
|
39
|
+
]
|
|
40
|
+
};
|
|
@@ -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_CQTYRADU_exports = {};
|
|
30
|
+
__export(chunk_CQTYRADU_exports, {
|
|
31
31
|
MigrateDeploy: () => MigrateDeploy
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_CQTYRADU_exports);
|
|
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
37
|
var import_chunk_RGXJYLMD = require("./chunk-RGXJYLMD.js");
|
|
@@ -149,7 +149,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Examples")}
|
|
|
149
149
|
} else {
|
|
150
150
|
return `The following migration(s) have been applied:
|
|
151
151
|
|
|
152
|
-
${(0,
|
|
152
|
+
${(0, import_chunk_G222ME3D.printFilesFromMigrationIds)(
|
|
153
153
|
"migrations",
|
|
154
154
|
migrationIds,
|
|
155
155
|
{
|
|
@@ -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_DL2W77GY_exports = {};
|
|
30
|
+
__export(chunk_DL2W77GY_exports, {
|
|
31
31
|
MigrateDev: () => MigrateDev
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_DL2W77GY_exports);
|
|
34
34
|
var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
|
|
35
35
|
var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_G222ME3D = require("./chunk-G222ME3D.js");
|
|
37
37
|
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
38
38
|
var import_chunk_ZUHJASAP = require("./chunk-ZUHJASAP.js");
|
|
39
39
|
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
@@ -176,7 +176,7 @@ ${(0, import_chunk_SKRR5WT4.bold)((0, import_chunk_SKRR5WT4.red)("All data will
|
|
|
176
176
|
`
|
|
177
177
|
The following migration(s) have been applied:
|
|
178
178
|
|
|
179
|
-
${(0,
|
|
179
|
+
${(0, import_chunk_G222ME3D.printFilesFromMigrationIds)(
|
|
180
180
|
"migrations",
|
|
181
181
|
appliedMigrationNames,
|
|
182
182
|
{
|
|
@@ -281,7 +281,7 @@ You can now edit it and apply it by running ${(0, import_chunk_SKRR5WT4.green)((
|
|
|
281
281
|
`
|
|
282
282
|
The following migration(s) have been created and applied from new schema changes:
|
|
283
283
|
|
|
284
|
-
${(0,
|
|
284
|
+
${(0, import_chunk_G222ME3D.printFilesFromMigrationIds)(
|
|
285
285
|
migrationsDirPathRelative,
|
|
286
286
|
migrationIds,
|
|
287
287
|
{
|
|
@@ -0,0 +1,34 @@
|
|
|
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_DPRQXN36_exports = {};
|
|
20
|
+
__export(chunk_DPRQXN36_exports, {
|
|
21
|
+
dbExecuteCompletion: () => dbExecuteCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_DPRQXN36_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var dbExecuteCompletion = {
|
|
26
|
+
name: "db execute",
|
|
27
|
+
description: "Execute SQL or scripts on your database",
|
|
28
|
+
options: [
|
|
29
|
+
{ name: "help", alias: "h", description: "Display this help message" },
|
|
30
|
+
{ name: "config", description: "Custom path to your Prisma config file", values: import_completion_values.completionConfigPaths },
|
|
31
|
+
{ name: "file", description: "Path to a file containing the script to execute", values: import_completion_values.completionSqlScriptPaths },
|
|
32
|
+
{ name: "stdin", description: "Use terminal standard input as the script to execute" }
|
|
33
|
+
]
|
|
34
|
+
};
|
|
@@ -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_G222ME3D_exports = {};
|
|
20
|
+
__export(chunk_G222ME3D_exports, {
|
|
21
21
|
printFiles: () => printFiles,
|
|
22
22
|
printFilesFromMigrationIds: () => printFilesFromMigrationIds
|
|
23
23
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
25
|
-
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
24
|
+
module.exports = __toCommonJS(chunk_G222ME3D_exports);
|
|
26
25
|
var import_chunk_2R6DII47 = require("./chunk-2R6DII47.js");
|
|
26
|
+
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
27
27
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
28
28
|
var import_indent_string = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_2R6DII47.require_indent_string)());
|
|
29
29
|
function printFiles(printPath, files) {
|
|
@@ -0,0 +1,33 @@
|
|
|
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_GBUW4I6U_exports = {};
|
|
20
|
+
__export(chunk_GBUW4I6U_exports, {
|
|
21
|
+
dbCompletion: () => dbCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_GBUW4I6U_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var dbCompletion = {
|
|
26
|
+
name: "db",
|
|
27
|
+
description: "Manage your database schema and lifecycle",
|
|
28
|
+
options: [
|
|
29
|
+
{ name: "help", alias: "h", description: "Display this help message" },
|
|
30
|
+
{ name: "config", description: "Custom path to your Prisma config file", values: import_completion_values.completionConfigPaths },
|
|
31
|
+
{ name: "schema", description: "Custom path to your Prisma schema", values: import_completion_values.completionSchemaPaths }
|
|
32
|
+
]
|
|
33
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
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_HWBQGGZH_exports = {};
|
|
20
|
+
__export(chunk_HWBQGGZH_exports, {
|
|
21
|
+
dbPullCompletion: () => dbPullCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_HWBQGGZH_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var dbPullCompletion = {
|
|
26
|
+
name: "db pull",
|
|
27
|
+
description: "Pull the schema from an existing database",
|
|
28
|
+
options: [
|
|
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 },
|
|
32
|
+
{
|
|
33
|
+
name: "url",
|
|
34
|
+
description: "Override the datasource URL from the Prisma config file",
|
|
35
|
+
values: import_completion_values.completionDatasourceUrls
|
|
36
|
+
},
|
|
37
|
+
{ name: "force", description: "Ignore current Prisma schema file" },
|
|
38
|
+
{ name: "print", description: "Print the introspected Prisma schema to stdout" },
|
|
39
|
+
{
|
|
40
|
+
name: "composite-type-depth",
|
|
41
|
+
description: "Specify the depth for introspecting composite types",
|
|
42
|
+
values: import_completion_values.completionCompositeTypeDepths
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
name: "schemas",
|
|
46
|
+
description: "Specify database schemas to introspect (overrides datasource block)",
|
|
47
|
+
values: import_completion_values.completionDatabaseSchemas
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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_INC5VUX4_exports = {};
|
|
20
|
+
__export(chunk_INC5VUX4_exports, {
|
|
21
|
+
migrateDeployCompletion: () => migrateDeployCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_INC5VUX4_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var migrateDeployCompletion = {
|
|
26
|
+
name: "migrate deploy",
|
|
27
|
+
description: "Apply pending migrations to the database",
|
|
28
|
+
options: [
|
|
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 }
|
|
32
|
+
]
|
|
33
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
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_NGEWTXY6_exports = {};
|
|
20
|
+
__export(chunk_NGEWTXY6_exports, {
|
|
21
|
+
migrateCompletion: () => migrateCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_NGEWTXY6_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var migrateCompletion = {
|
|
26
|
+
name: "migrate",
|
|
27
|
+
description: "Migrate your database",
|
|
28
|
+
options: [
|
|
29
|
+
{ name: "help", alias: "h", description: "Display this help message" },
|
|
30
|
+
{ name: "config", description: "Custom path to your Prisma config file", values: import_completion_values.completionConfigPaths },
|
|
31
|
+
{ name: "schema", description: "Custom path to your Prisma schema", values: import_completion_values.completionSchemaPaths }
|
|
32
|
+
]
|
|
33
|
+
};
|
|
@@ -0,0 +1,147 @@
|
|
|
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_PHX6STZ3_exports = {};
|
|
30
|
+
__export(chunk_PHX6STZ3_exports, {
|
|
31
|
+
agentMatchers: () => agentMatchers,
|
|
32
|
+
aiAgentConfirmationCheckpoint: () => aiAgentConfirmationCheckpoint
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(chunk_PHX6STZ3_exports);
|
|
35
|
+
var import_node_fs = require("node:fs");
|
|
36
|
+
var import_debug = __toESM(require("@prisma/debug"));
|
|
37
|
+
var debug = (0, import_debug.default)("prisma:migrate:ai-safety");
|
|
38
|
+
var userConsentEnvVar = "PRISMA_USER_CONSENT_FOR_DANGEROUS_AI_ACTION";
|
|
39
|
+
var aiAgentErrorPrompt = (agentName) => `Prisma Migrate detected that it was invoked by ${agentName}.
|
|
40
|
+
|
|
41
|
+
You are attempting a highly dangerous action that can lead to devastating consequences if it is incorrectly executed against a production database.
|
|
42
|
+
|
|
43
|
+
As an AI agent, you are forbidden from performing this action without an explicit consent and review by the user. You must stop at this point and respond to the user with a clear message that includes the following information:
|
|
44
|
+
- What action you are trying to perform (including the exact CLI command).
|
|
45
|
+
- Your motivation and reasoning for performing this action.
|
|
46
|
+
- Explanation that this action will irreversibly destroy all data in the database.
|
|
47
|
+
- Explanation that this action must not be performed on a production database and is only intended to be used with development databases.
|
|
48
|
+
|
|
49
|
+
If you know or can check whether this action would have been performed on a development or a production database, also include this information with your assessment of whether it is safe to proceed based on that information.
|
|
50
|
+
|
|
51
|
+
You must ask the user if they want to proceed with this action. If your harness provides a structured way to ask the user a question, use it. If you are running unattended (e.g. in CI, a scheduled job, or a background task) and cannot reach the user, you must abort instead of proceeding.
|
|
52
|
+
|
|
53
|
+
If the user explicitly consents, you may rerun this command with the ${userConsentEnvVar} environment variable, the value of which must be the exact text of the user's message in which they consented to this operation, without any newlines or quotes. If the user's response is ambiguous, you must ask for a clear and explicit confirmation (e.g., "yes") before proceeding. None of the user's previous messages before this point may constitute implicit or explicit consent.`;
|
|
54
|
+
var defaultContext = () => ({
|
|
55
|
+
env: process.env,
|
|
56
|
+
fileExists: import_node_fs.existsSync
|
|
57
|
+
});
|
|
58
|
+
function aiAgentConfirmationCheckpoint(context = defaultContext()) {
|
|
59
|
+
const aiAgent = detectAiAgent(context);
|
|
60
|
+
if (!aiAgent) {
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
if (context.env[userConsentEnvVar]) {
|
|
64
|
+
debug("AI agent asserts that user consented to dangerous action");
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
throw new Error(aiAgentErrorPrompt(aiAgent));
|
|
68
|
+
}
|
|
69
|
+
function matcher(definition) {
|
|
70
|
+
return definition;
|
|
71
|
+
}
|
|
72
|
+
function envMarker(agentName, ...envVars) {
|
|
73
|
+
return {
|
|
74
|
+
envVars,
|
|
75
|
+
files: [],
|
|
76
|
+
detect: ({ env }) => envVars.some((name) => env[name]) ? agentName : void 0
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function envValue(agentName, envVar, value) {
|
|
80
|
+
return {
|
|
81
|
+
envVars: [envVar],
|
|
82
|
+
files: [],
|
|
83
|
+
detect: ({ env }) => env[envVar] === value ? agentName : void 0
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
var devinMarkerFile = "/opt/.devin";
|
|
87
|
+
var agentMatchers = [
|
|
88
|
+
envMarker("Claude Code", "CLAUDECODE"),
|
|
89
|
+
// CODEX_SANDBOX is only set on macOS; the other markers are cross-platform.
|
|
90
|
+
envMarker("Codex CLI", "CODEX_THREAD_ID", "CODEX_CI", "CODEX_SANDBOX", "CODEX_SANDBOX_NETWORK_DISABLED"),
|
|
91
|
+
envMarker("Gemini CLI", "GEMINI_CLI"),
|
|
92
|
+
envMarker("Qwen Code", "QWEN_CODE"),
|
|
93
|
+
envMarker("Cursor", "CURSOR_AGENT"),
|
|
94
|
+
envMarker("GitHub Copilot CLI", "COPILOT_CLI"),
|
|
95
|
+
envMarker("OpenCode", "OPENCODE", "OPENCODE_CLIENT"),
|
|
96
|
+
envMarker("Cline", "CLINE_ACTIVE"),
|
|
97
|
+
envValue("Goose", "AGENT", "goose"),
|
|
98
|
+
envValue("Amp", "AGENT", "amp"),
|
|
99
|
+
envMarker("Crush", "CRUSH"),
|
|
100
|
+
envValue("Aider", "OR_APP_NAME", "Aider"),
|
|
101
|
+
envMarker("Augment Code", "AUGMENT_AGENT"),
|
|
102
|
+
envMarker("Antigravity", "ANTIGRAVITY_AGENT"),
|
|
103
|
+
// Replit does not document an agent marker. Observed behavior: in a
|
|
104
|
+
// human-controlled shell REPLIT_SESSION looks like `<user>-Xxxx`,
|
|
105
|
+
// while in an agent session it looks like `agent-<numeric id>-<random suffix>`.
|
|
106
|
+
matcher({
|
|
107
|
+
envVars: ["REPLIT_SESSION"],
|
|
108
|
+
files: [],
|
|
109
|
+
detect: ({ env }) => env.REPLIT_SESSION?.startsWith("agent-") ? "Replit Agent" : void 0
|
|
110
|
+
}),
|
|
111
|
+
// Devin does not set an environment variable; its VM is marked by a file.
|
|
112
|
+
matcher({
|
|
113
|
+
envVars: [],
|
|
114
|
+
files: [devinMarkerFile],
|
|
115
|
+
detect: ({ fileExists }) => fileExists(devinMarkerFile) ? "Devin" : void 0
|
|
116
|
+
}),
|
|
117
|
+
// Generic conventions: `AI_AGENT=<name>` (promoted by @vercel/detect-agent)
|
|
118
|
+
// and `AGENT=<name or 1>` (set by e.g. Goose, Amp, Crush, OpenCode).
|
|
119
|
+
matcher({
|
|
120
|
+
envVars: ["AI_AGENT", "AGENT"],
|
|
121
|
+
files: [],
|
|
122
|
+
detect: ({ env }) => {
|
|
123
|
+
const generic = env.AI_AGENT || env.AGENT;
|
|
124
|
+
if (!generic) {
|
|
125
|
+
return void 0;
|
|
126
|
+
}
|
|
127
|
+
if (generic === "1") {
|
|
128
|
+
return "an unidentified AI agent";
|
|
129
|
+
}
|
|
130
|
+
const sanitized = generic.slice(0, 64).replace(/[^\x20-\x7e]+/g, " ").trim();
|
|
131
|
+
if (!sanitized) {
|
|
132
|
+
return "an unidentified AI agent";
|
|
133
|
+
}
|
|
134
|
+
return `an AI agent identifying itself as ${JSON.stringify(sanitized)}`;
|
|
135
|
+
}
|
|
136
|
+
})
|
|
137
|
+
];
|
|
138
|
+
function detectAiAgent(context) {
|
|
139
|
+
for (const matcher2 of agentMatchers) {
|
|
140
|
+
const agentName = matcher2.detect(context);
|
|
141
|
+
if (agentName) {
|
|
142
|
+
debug("Detected %s", agentName);
|
|
143
|
+
return agentName;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return void 0;
|
|
147
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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_PPE4XDUL_exports = {};
|
|
20
|
+
__export(chunk_PPE4XDUL_exports, {
|
|
21
|
+
migrateDiffCompletion: () => migrateDiffCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_PPE4XDUL_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var migrateDiffCompletion = {
|
|
26
|
+
name: "migrate diff",
|
|
27
|
+
description: "Compare the database schema from two arbitrary sources",
|
|
28
|
+
options: [
|
|
29
|
+
{ name: "help", alias: "h", description: "Display this help message" },
|
|
30
|
+
{ name: "config", description: "Custom path to your Prisma config file", values: import_completion_values.completionConfigPaths },
|
|
31
|
+
{
|
|
32
|
+
name: "output",
|
|
33
|
+
alias: "o",
|
|
34
|
+
description: "Write the diff to a file instead of stdout",
|
|
35
|
+
values: import_completion_values.completionDiffOutputPaths
|
|
36
|
+
},
|
|
37
|
+
{ name: "from-empty", description: "Assume the source data model is empty" },
|
|
38
|
+
{ name: "from-schema", description: "Path to a Prisma schema file as the source", values: import_completion_values.completionSchemaPaths },
|
|
39
|
+
{
|
|
40
|
+
name: "from-migrations",
|
|
41
|
+
description: "Path to a Prisma migrations directory as the source",
|
|
42
|
+
values: import_completion_values.completionMigrationsDirPaths
|
|
43
|
+
},
|
|
44
|
+
{ name: "from-config-datasource", description: "Use the datasource from the Prisma config file as the source" },
|
|
45
|
+
{ name: "to-empty", description: "Assume the destination data model is empty" },
|
|
46
|
+
{
|
|
47
|
+
name: "to-schema",
|
|
48
|
+
description: "Path to a Prisma schema file as the destination",
|
|
49
|
+
values: import_completion_values.completionSchemaPaths
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "to-migrations",
|
|
53
|
+
description: "Path to a Prisma migrations directory as the destination",
|
|
54
|
+
values: import_completion_values.completionMigrationsDirPaths
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: "to-config-datasource",
|
|
58
|
+
description: "Use the datasource from the Prisma config file as the destination"
|
|
59
|
+
},
|
|
60
|
+
{ name: "script", description: "Output a SQL script instead of a human-readable summary" },
|
|
61
|
+
{ name: "exit-code", description: "Change the exit code behavior (Empty=0, Error=1, Not empty=2)" }
|
|
62
|
+
]
|
|
63
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
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_TEOIOJ7P_exports = {};
|
|
20
|
+
__export(chunk_TEOIOJ7P_exports, {
|
|
21
|
+
migrateResetCompletion: () => migrateResetCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(chunk_TEOIOJ7P_exports);
|
|
24
|
+
var import_completion_values = require("@prisma/internals/src/cli/completion-values");
|
|
25
|
+
var migrateResetCompletion = {
|
|
26
|
+
name: "migrate reset",
|
|
27
|
+
description: "Reset your database and apply all migrations",
|
|
28
|
+
options: [
|
|
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 },
|
|
32
|
+
{ name: "force", alias: "f", description: "Skip the confirmation prompt" }
|
|
33
|
+
]
|
|
34
|
+
};
|