@prisma/migrate 7.9.0-dev.3 → 7.9.0-dev.31
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-QVMYNWAN.js → chunk-5JVYZEWJ.js} +7 -6
- 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/setupCockroach.js +2 -2
- package/dist/utils/setupMSSQL.js +24 -24
- package/dist/utils/setupPostgres.js +2 -2
- package/package.json +10 -10
- package/dist/chunk-FBDQVK4W.js +0 -77
|
@@ -0,0 +1,25 @@
|
|
|
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 migrate_reset_completion_exports = {};
|
|
20
|
+
__export(migrate_reset_completion_exports, {
|
|
21
|
+
migrateResetCompletion: () => import_chunk_TEOIOJ7P.migrateResetCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(migrate_reset_completion_exports);
|
|
24
|
+
var import_chunk_TEOIOJ7P = require("../chunk-TEOIOJ7P.js");
|
|
25
|
+
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -0,0 +1,25 @@
|
|
|
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 migrate_resolve_completion_exports = {};
|
|
20
|
+
__export(migrate_resolve_completion_exports, {
|
|
21
|
+
migrateResolveCompletion: () => import_chunk_WA2SOLDQ.migrateResolveCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(migrate_resolve_completion_exports);
|
|
24
|
+
var import_chunk_WA2SOLDQ = require("../chunk-WA2SOLDQ.js");
|
|
25
|
+
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -0,0 +1,25 @@
|
|
|
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 migrate_status_completion_exports = {};
|
|
20
|
+
__export(migrate_status_completion_exports, {
|
|
21
|
+
migrateStatusCompletion: () => import_chunk_VEBRKA5H.migrateStatusCompletion
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(migrate_status_completion_exports);
|
|
24
|
+
var import_chunk_VEBRKA5H = require("../chunk-VEBRKA5H.js");
|
|
25
|
+
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
package/dist/index.js
CHANGED
|
@@ -19,55 +19,79 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
19
19
|
var index_exports = {};
|
|
20
20
|
__export(index_exports, {
|
|
21
21
|
DbCommand: () => import_chunk_2HCAA4GX.DbCommand,
|
|
22
|
-
DbDrop: () =>
|
|
22
|
+
DbDrop: () => import_chunk_UA3FFRRV.DbDrop,
|
|
23
23
|
DbExecute: () => import_chunk_QCPYZUFF.DbExecute,
|
|
24
|
-
DbPull: () =>
|
|
25
|
-
DbPush: () =>
|
|
24
|
+
DbPull: () => import_chunk_6EQA63NM.DbPull,
|
|
25
|
+
DbPush: () => import_chunk_WP5M3D4N.DbPush,
|
|
26
26
|
DbSeed: () => import_chunk_XTEEOIUV.DbSeed,
|
|
27
27
|
EngineResults: () => import_chunk_LVR7W5DD.EngineResults,
|
|
28
28
|
Migrate: () => import_chunk_RGXJYLMD.Migrate,
|
|
29
29
|
MigrateCommand: () => import_chunk_DNNMOG7A.MigrateCommand,
|
|
30
|
-
MigrateDeploy: () =>
|
|
31
|
-
MigrateDev: () =>
|
|
30
|
+
MigrateDeploy: () => import_chunk_CQTYRADU.MigrateDeploy,
|
|
31
|
+
MigrateDev: () => import_chunk_DL2W77GY.MigrateDev,
|
|
32
32
|
MigrateDiff: () => import_chunk_RM4WK3ML.MigrateDiff,
|
|
33
|
-
MigrateReset: () =>
|
|
33
|
+
MigrateReset: () => import_chunk_TW5MYPTK.MigrateReset,
|
|
34
34
|
MigrateResolve: () => import_chunk_AL3XYISJ.MigrateResolve,
|
|
35
35
|
MigrateStatus: () => import_chunk_TDN3QQTH.MigrateStatus,
|
|
36
36
|
SchemaEngineCLI: () => import_chunk_6DDIA3ZD.SchemaEngineCLI,
|
|
37
37
|
SchemaEngineWasm: () => import_chunk_LZ2DWYUY.SchemaEngineWasm,
|
|
38
|
+
dbCompletion: () => import_chunk_GBUW4I6U.dbCompletion,
|
|
39
|
+
dbExecuteCompletion: () => import_chunk_DPRQXN36.dbExecuteCompletion,
|
|
40
|
+
dbPullCompletion: () => import_chunk_HWBQGGZH.dbPullCompletion,
|
|
41
|
+
dbPushCompletion: () => import_chunk_6TSRRBNA.dbPushCompletion,
|
|
42
|
+
dbSeedCompletion: () => import_chunk_THJ7K72W.dbSeedCompletion,
|
|
38
43
|
getDatabaseVersionSafe: () => import_chunk_FXSCTGN2.getDatabaseVersionSafe,
|
|
39
|
-
introspectSql: () => import_chunk_NHSJJSXU.introspectSql
|
|
44
|
+
introspectSql: () => import_chunk_NHSJJSXU.introspectSql,
|
|
45
|
+
migrateCompletion: () => import_chunk_NGEWTXY6.migrateCompletion,
|
|
46
|
+
migrateDeployCompletion: () => import_chunk_INC5VUX4.migrateDeployCompletion,
|
|
47
|
+
migrateDevCompletion: () => import_chunk_YNB3IN6Q.migrateDevCompletion,
|
|
48
|
+
migrateDiffCompletion: () => import_chunk_PPE4XDUL.migrateDiffCompletion,
|
|
49
|
+
migrateResetCompletion: () => import_chunk_TEOIOJ7P.migrateResetCompletion,
|
|
50
|
+
migrateResolveCompletion: () => import_chunk_WA2SOLDQ.migrateResolveCompletion,
|
|
51
|
+
migrateStatusCompletion: () => import_chunk_VEBRKA5H.migrateStatusCompletion
|
|
40
52
|
});
|
|
41
53
|
module.exports = __toCommonJS(index_exports);
|
|
42
54
|
var import_chunk_NHSJJSXU = require("./chunk-NHSJJSXU.js");
|
|
55
|
+
var import_chunk_WA2SOLDQ = require("./chunk-WA2SOLDQ.js");
|
|
56
|
+
var import_chunk_VEBRKA5H = require("./chunk-VEBRKA5H.js");
|
|
57
|
+
var import_chunk_HWBQGGZH = require("./chunk-HWBQGGZH.js");
|
|
58
|
+
var import_chunk_6TSRRBNA = require("./chunk-6TSRRBNA.js");
|
|
59
|
+
var import_chunk_THJ7K72W = require("./chunk-THJ7K72W.js");
|
|
60
|
+
var import_chunk_NGEWTXY6 = require("./chunk-NGEWTXY6.js");
|
|
61
|
+
var import_chunk_INC5VUX4 = require("./chunk-INC5VUX4.js");
|
|
62
|
+
var import_chunk_YNB3IN6Q = require("./chunk-YNB3IN6Q.js");
|
|
63
|
+
var import_chunk_PPE4XDUL = require("./chunk-PPE4XDUL.js");
|
|
64
|
+
var import_chunk_TEOIOJ7P = require("./chunk-TEOIOJ7P.js");
|
|
65
|
+
var import_chunk_GBUW4I6U = require("./chunk-GBUW4I6U.js");
|
|
66
|
+
var import_chunk_DPRQXN36 = require("./chunk-DPRQXN36.js");
|
|
43
67
|
var import_chunk_LVR7W5DD = require("./chunk-LVR7W5DD.js");
|
|
44
|
-
var
|
|
68
|
+
var import_chunk_UA3FFRRV = require("./chunk-UA3FFRRV.js");
|
|
45
69
|
var import_chunk_IHDN3L3R = require("./chunk-IHDN3L3R.js");
|
|
46
70
|
var import_chunk_LZ2DWYUY = require("./chunk-LZ2DWYUY.js");
|
|
47
71
|
var import_chunk_FXSCTGN2 = require("./chunk-FXSCTGN2.js");
|
|
48
|
-
var
|
|
49
|
-
var
|
|
72
|
+
var import_chunk_CQTYRADU = require("./chunk-CQTYRADU.js");
|
|
73
|
+
var import_chunk_DL2W77GY = require("./chunk-DL2W77GY.js");
|
|
50
74
|
var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
|
|
51
75
|
var import_chunk_7CQBDP4H = require("./chunk-7CQBDP4H.js");
|
|
52
76
|
var import_chunk_RM4WK3ML = require("./chunk-RM4WK3ML.js");
|
|
53
|
-
var
|
|
54
|
-
var
|
|
55
|
-
var
|
|
77
|
+
var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
|
|
78
|
+
var import_chunk_TW5MYPTK = require("./chunk-TW5MYPTK.js");
|
|
79
|
+
var import_chunk_G222ME3D = require("./chunk-G222ME3D.js");
|
|
56
80
|
var import_chunk_2R6DII47 = require("./chunk-2R6DII47.js");
|
|
81
|
+
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
57
82
|
var import_chunk_AL3XYISJ = require("./chunk-AL3XYISJ.js");
|
|
58
83
|
var import_chunk_TDN3QQTH = require("./chunk-TDN3QQTH.js");
|
|
59
|
-
var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
|
|
60
84
|
var import_chunk_2HCAA4GX = require("./chunk-2HCAA4GX.js");
|
|
61
85
|
var import_chunk_QCPYZUFF = require("./chunk-QCPYZUFF.js");
|
|
62
|
-
var
|
|
86
|
+
var import_chunk_6EQA63NM = require("./chunk-6EQA63NM.js");
|
|
63
87
|
var import_chunk_ZOT2HSX5 = require("./chunk-ZOT2HSX5.js");
|
|
88
|
+
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
64
89
|
var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
|
|
65
90
|
var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
|
|
66
91
|
var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
|
|
67
|
-
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
68
92
|
var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
69
|
-
var
|
|
70
|
-
var
|
|
93
|
+
var import_chunk_WP5M3D4N = require("./chunk-WP5M3D4N.js");
|
|
94
|
+
var import_chunk_PHX6STZ3 = require("./chunk-PHX6STZ3.js");
|
|
71
95
|
var import_chunk_ZUHJASAP = require("./chunk-ZUHJASAP.js");
|
|
72
96
|
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
73
97
|
var import_chunk_BRPS327A = require("./chunk-BRPS327A.js");
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
|
+
export { dbCompletion } from './commands/db-command-completion';
|
|
2
|
+
export { dbExecuteCompletion } from './commands/db-execute-completion';
|
|
3
|
+
export { dbPullCompletion } from './commands/db-pull-completion';
|
|
4
|
+
export { dbPushCompletion } from './commands/db-push-completion';
|
|
5
|
+
export { dbSeedCompletion } from './commands/db-seed-completion';
|
|
1
6
|
export { DbCommand } from './commands/DbCommand';
|
|
2
7
|
export { DbDrop } from './commands/DbDrop';
|
|
3
8
|
export { DbExecute } from './commands/DbExecute';
|
|
4
9
|
export { DbPull } from './commands/DbPull';
|
|
5
10
|
export { DbPush } from './commands/DbPush';
|
|
6
11
|
export { DbSeed } from './commands/DbSeed';
|
|
12
|
+
export { migrateCompletion } from './commands/migrate-command-completion';
|
|
13
|
+
export { migrateDeployCompletion } from './commands/migrate-deploy-completion';
|
|
14
|
+
export { migrateDevCompletion } from './commands/migrate-dev-completion';
|
|
15
|
+
export { migrateDiffCompletion } from './commands/migrate-diff-completion';
|
|
16
|
+
export { migrateResetCompletion } from './commands/migrate-reset-completion';
|
|
17
|
+
export { migrateResolveCompletion } from './commands/migrate-resolve-completion';
|
|
18
|
+
export { migrateStatusCompletion } from './commands/migrate-status-completion';
|
|
7
19
|
export { MigrateCommand } from './commands/MigrateCommand';
|
|
8
20
|
export { MigrateDeploy } from './commands/MigrateDeploy';
|
|
9
21
|
export { MigrateDev } from './commands/MigrateDev';
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
/** Ambient state the agent detection chain reads. */
|
|
2
|
+
export interface AgentDetectionContext<E extends string = string, F extends string = string> {
|
|
3
|
+
readonly env: Readonly<Partial<Record<E, string>>>;
|
|
4
|
+
readonly fileExists: (path: F) => boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function aiAgentConfirmationCheckpoint(context?: AgentDetectionContext): void;
|
|
7
|
+
/**
|
|
8
|
+
* A single link in the agent detection chain. `envVars` and `files` list
|
|
9
|
+
* every environment variable and filesystem path `detect` inspects; the
|
|
10
|
+
* context `detect` receives is narrowed to exactly those names, so a matcher
|
|
11
|
+
* cannot read a marker it does not declare, and tests can neutralize
|
|
12
|
+
* inherited markers without maintaining separate lists.
|
|
13
|
+
*/
|
|
14
|
+
export interface AgentMatcher<E extends string = string, F extends string = string> {
|
|
15
|
+
readonly envVars: readonly E[];
|
|
16
|
+
readonly files: readonly F[];
|
|
17
|
+
readonly detect: (context: AgentDetectionContext<E, F>) => string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export declare const agentMatchers: readonly AgentMatcher[];
|
package/dist/utils/ai-safety.js
CHANGED
|
@@ -18,8 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var ai_safety_exports = {};
|
|
20
20
|
__export(ai_safety_exports, {
|
|
21
|
-
|
|
21
|
+
agentMatchers: () => import_chunk_PHX6STZ3.agentMatchers,
|
|
22
|
+
aiAgentConfirmationCheckpoint: () => import_chunk_PHX6STZ3.aiAgentConfirmationCheckpoint
|
|
22
23
|
});
|
|
23
24
|
module.exports = __toCommonJS(ai_safety_exports);
|
|
24
|
-
var
|
|
25
|
+
var import_chunk_PHX6STZ3 = require("../chunk-PHX6STZ3.js");
|
|
25
26
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
package/dist/utils/printFiles.js
CHANGED
|
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var printFiles_exports = {};
|
|
20
20
|
__export(printFiles_exports, {
|
|
21
|
-
printFiles: () =>
|
|
22
|
-
printFilesFromMigrationIds: () =>
|
|
21
|
+
printFiles: () => import_chunk_G222ME3D.printFiles,
|
|
22
|
+
printFilesFromMigrationIds: () => import_chunk_G222ME3D.printFilesFromMigrationIds
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(printFiles_exports);
|
|
25
|
-
var
|
|
26
|
-
var import_chunk_UP6FVCDK = require("../chunk-UP6FVCDK.js");
|
|
25
|
+
var import_chunk_G222ME3D = require("../chunk-G222ME3D.js");
|
|
27
26
|
var import_chunk_2R6DII47 = require("../chunk-2R6DII47.js");
|
|
27
|
+
var import_chunk_UP6FVCDK = require("../chunk-UP6FVCDK.js");
|
|
28
28
|
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
29
29
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -32,12 +32,12 @@ __export(setupCockroach_exports, {
|
|
|
32
32
|
tearDownCockroach: () => tearDownCockroach
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(setupCockroach_exports);
|
|
35
|
-
var
|
|
35
|
+
var import_chunk_5JVYZEWJ = require("../chunk-5JVYZEWJ.js");
|
|
36
36
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
37
37
|
var import_internals = require("@prisma/internals");
|
|
38
38
|
var import_fs = __toESM(require("fs"));
|
|
39
39
|
var import_path = __toESM(require("path"));
|
|
40
|
-
var import_pg = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
40
|
+
var import_pg = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_5JVYZEWJ.require_lib)());
|
|
41
41
|
async function setupCockroach(options) {
|
|
42
42
|
const { connectionString } = options;
|
|
43
43
|
const { dirname } = options;
|
package/dist/utils/setupMSSQL.js
CHANGED
|
@@ -32,8 +32,8 @@ __export(setupMSSQL_exports, {
|
|
|
32
32
|
tearDownMSSQL: () => tearDownMSSQL
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(setupMSSQL_exports);
|
|
35
|
-
var import_chunk_5R44VVVX = require("../chunk-5R44VVVX.js");
|
|
36
35
|
var import_chunk_EYEKG56L = require("../chunk-EYEKG56L.js");
|
|
36
|
+
var import_chunk_5R44VVVX = require("../chunk-5R44VVVX.js");
|
|
37
37
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
38
38
|
var import_util = __toESM(require("util"));
|
|
39
39
|
var import_os = require("os");
|
|
@@ -1707,7 +1707,7 @@ var require_tarn = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1707
1707
|
}
|
|
1708
1708
|
});
|
|
1709
1709
|
var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1710
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
1710
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/utils.js"(exports, module2) {
|
|
1711
1711
|
"use strict";
|
|
1712
1712
|
var IDS = /* @__PURE__ */ new WeakMap();
|
|
1713
1713
|
var INCREMENT = {
|
|
@@ -1731,7 +1731,7 @@ var require_utils2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1731
1731
|
}
|
|
1732
1732
|
});
|
|
1733
1733
|
var require_mssql_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1734
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
1734
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/error/mssql-error.js"(exports, module2) {
|
|
1735
1735
|
"use strict";
|
|
1736
1736
|
var MSSQLError = class extends Error {
|
|
1737
1737
|
/**
|
|
@@ -1757,7 +1757,7 @@ var require_mssql_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1757
1757
|
}
|
|
1758
1758
|
});
|
|
1759
1759
|
var require_connection_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1760
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
1760
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/error/connection-error.js"(exports, module2) {
|
|
1761
1761
|
"use strict";
|
|
1762
1762
|
var MSSQLError = require_mssql_error();
|
|
1763
1763
|
var ConnectionError = class extends MSSQLError {
|
|
@@ -1776,7 +1776,7 @@ var require_connection_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1776
1776
|
}
|
|
1777
1777
|
});
|
|
1778
1778
|
var require_datatypes = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1779
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
1779
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/datatypes.js"(exports, module2) {
|
|
1780
1780
|
"use strict";
|
|
1781
1781
|
var objectHasProperty3 = require_utils2().objectHasProperty;
|
|
1782
1782
|
var inspect2 = Symbol.for("nodejs.util.inspect.custom");
|
|
@@ -1963,7 +1963,7 @@ var require_datatypes = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
1963
1963
|
}
|
|
1964
1964
|
});
|
|
1965
1965
|
var require_table = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
1966
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
1966
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/table.js"(exports, module2) {
|
|
1967
1967
|
"use strict";
|
|
1968
1968
|
var TYPES = require_datatypes().TYPES;
|
|
1969
1969
|
var declareType = require_datatypes().declare;
|
|
@@ -2156,7 +2156,7 @@ var require_table = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2156
2156
|
}
|
|
2157
2157
|
});
|
|
2158
2158
|
var require_shared = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2159
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
2159
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/shared.js"(exports, module2) {
|
|
2160
2160
|
"use strict";
|
|
2161
2161
|
var TYPES = require_datatypes().TYPES;
|
|
2162
2162
|
var Table = require_table();
|
|
@@ -2440,7 +2440,7 @@ var require_default = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2440
2440
|
}
|
|
2441
2441
|
});
|
|
2442
2442
|
var require_prepared_statement_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2443
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
2443
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/error/prepared-statement-error.js"(exports, module2) {
|
|
2444
2444
|
"use strict";
|
|
2445
2445
|
var MSSQLError = require_mssql_error();
|
|
2446
2446
|
var PreparedStatementError = class extends MSSQLError {
|
|
@@ -2459,7 +2459,7 @@ var require_prepared_statement_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2459
2459
|
}
|
|
2460
2460
|
});
|
|
2461
2461
|
var require_request_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2462
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
2462
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/error/request-error.js"(exports, module2) {
|
|
2463
2463
|
"use strict";
|
|
2464
2464
|
var MSSQLError = require_mssql_error();
|
|
2465
2465
|
var RequestError = class extends MSSQLError {
|
|
@@ -2499,7 +2499,7 @@ var require_request_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2499
2499
|
}
|
|
2500
2500
|
});
|
|
2501
2501
|
var require_transaction_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2502
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
2502
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/error/transaction-error.js"(exports, module2) {
|
|
2503
2503
|
"use strict";
|
|
2504
2504
|
var MSSQLError = require_mssql_error();
|
|
2505
2505
|
var TransactionError = class extends MSSQLError {
|
|
@@ -2518,7 +2518,7 @@ var require_transaction_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2518
2518
|
}
|
|
2519
2519
|
});
|
|
2520
2520
|
var require_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2521
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
2521
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/error/index.js"(exports, module2) {
|
|
2522
2522
|
"use strict";
|
|
2523
2523
|
var ConnectionError = require_connection_error();
|
|
2524
2524
|
var MSSQLError = require_mssql_error();
|
|
@@ -2535,7 +2535,7 @@ var require_error = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
2535
2535
|
}
|
|
2536
2536
|
});
|
|
2537
2537
|
var require_connection_pool = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
2538
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
2538
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/base/connection-pool.js"(exports, module2) {
|
|
2539
2539
|
"use strict";
|
|
2540
2540
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
2541
2541
|
var debug = require_src()("mssql:base");
|
|
@@ -3101,7 +3101,7 @@ var require_connection_pool = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3101
3101
|
}
|
|
3102
3102
|
});
|
|
3103
3103
|
var require_global_connection = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3104
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
3104
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/global-connection.js"(exports, module2) {
|
|
3105
3105
|
"use strict";
|
|
3106
3106
|
var shared = require_shared();
|
|
3107
3107
|
var globalConnection = null;
|
|
@@ -3210,7 +3210,7 @@ var require_global_connection = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3210
3210
|
}
|
|
3211
3211
|
});
|
|
3212
3212
|
var require_prepared_statement = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3213
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
3213
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/base/prepared-statement.js"(exports, module2) {
|
|
3214
3214
|
"use strict";
|
|
3215
3215
|
var debug = require_src()("mssql:base");
|
|
3216
3216
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
@@ -3519,7 +3519,7 @@ var require_prepared_statement = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
3519
3519
|
}
|
|
3520
3520
|
});
|
|
3521
3521
|
var require_request = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
3522
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
3522
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/base/request.js"(exports, module2) {
|
|
3523
3523
|
"use strict";
|
|
3524
3524
|
var debug = require_src()("mssql:base");
|
|
3525
3525
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
@@ -4055,7 +4055,7 @@ var require_request = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
4055
4055
|
}
|
|
4056
4056
|
});
|
|
4057
4057
|
var require_isolationlevel = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
4058
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
4058
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/isolationlevel.js"(exports, module2) {
|
|
4059
4059
|
"use strict";
|
|
4060
4060
|
module2.exports = {
|
|
4061
4061
|
READ_UNCOMMITTED: 1,
|
|
@@ -4067,7 +4067,7 @@ var require_isolationlevel = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
4067
4067
|
}
|
|
4068
4068
|
});
|
|
4069
4069
|
var require_transaction = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
4070
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
4070
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/base/transaction.js"(exports, module2) {
|
|
4071
4071
|
"use strict";
|
|
4072
4072
|
var debug = require_src()("mssql:base");
|
|
4073
4073
|
var { EventEmitter } = (0, import_chunk_2ESYSVXG.__require)("node:events");
|
|
@@ -4277,7 +4277,7 @@ var require_transaction = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
4277
4277
|
}
|
|
4278
4278
|
});
|
|
4279
4279
|
var require_base = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
4280
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
4280
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/base/index.js"(exports, module2) {
|
|
4281
4281
|
"use strict";
|
|
4282
4282
|
var ConnectionPool = require_connection_pool();
|
|
4283
4283
|
var PreparedStatement = require_prepared_statement();
|
|
@@ -59125,7 +59125,7 @@ var require_tedious = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
59125
59125
|
}
|
|
59126
59126
|
});
|
|
59127
59127
|
var require_connection_pool2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
59128
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
59128
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/tedious/connection-pool.js"(exports, module2) {
|
|
59129
59129
|
"use strict";
|
|
59130
59130
|
var tds = require_tedious();
|
|
59131
59131
|
var debug = require_src()("mssql:tedi");
|
|
@@ -59269,7 +59269,7 @@ var require_connection_pool2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
59269
59269
|
}
|
|
59270
59270
|
});
|
|
59271
59271
|
var require_transaction3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
59272
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
59272
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/tedious/transaction.js"(exports, module2) {
|
|
59273
59273
|
"use strict";
|
|
59274
59274
|
var debug = require_src()("mssql:tedi");
|
|
59275
59275
|
var BaseTransaction = require_transaction();
|
|
@@ -59342,7 +59342,7 @@ var require_transaction3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
59342
59342
|
}
|
|
59343
59343
|
});
|
|
59344
59344
|
var require_udt2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
59345
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
59345
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/udt.js"(exports, module2) {
|
|
59346
59346
|
"use strict";
|
|
59347
59347
|
var Point = class {
|
|
59348
59348
|
constructor() {
|
|
@@ -59547,7 +59547,7 @@ var require_udt2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
59547
59547
|
}
|
|
59548
59548
|
});
|
|
59549
59549
|
var require_request3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
59550
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
59550
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/tedious/request.js"(exports, module2) {
|
|
59551
59551
|
"use strict";
|
|
59552
59552
|
var tds = require_tedious();
|
|
59553
59553
|
var debug = require_src()("mssql:tedi");
|
|
@@ -60452,7 +60452,7 @@ var require_request3 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
60452
60452
|
}
|
|
60453
60453
|
});
|
|
60454
60454
|
var require_tedious2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
60455
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
60455
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/lib/tedious/index.js"(exports, module2) {
|
|
60456
60456
|
"use strict";
|
|
60457
60457
|
var base = require_base();
|
|
60458
60458
|
var ConnectionPool = require_connection_pool2();
|
|
@@ -60486,7 +60486,7 @@ var require_tedious2 = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
|
60486
60486
|
}
|
|
60487
60487
|
});
|
|
60488
60488
|
var require_mssql = (0, import_chunk_2ESYSVXG.__commonJS)({
|
|
60489
|
-
"../../node_modules/.pnpm/mssql@11.0.
|
|
60489
|
+
"../../node_modules/.pnpm/mssql@11.0.1_supports-color@10.2.2/node_modules/mssql/index.js"(exports, module2) {
|
|
60490
60490
|
"use strict";
|
|
60491
60491
|
module2.exports = require_tedious2();
|
|
60492
60492
|
}
|
|
@@ -33,12 +33,12 @@ __export(setupPostgres_exports, {
|
|
|
33
33
|
tearDownPostgres: () => tearDownPostgres
|
|
34
34
|
});
|
|
35
35
|
module.exports = __toCommonJS(setupPostgres_exports);
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_5JVYZEWJ = require("../chunk-5JVYZEWJ.js");
|
|
37
37
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
38
38
|
var import_promises = __toESM(require("node:fs/promises"));
|
|
39
39
|
var import_node_path = __toESM(require("node:path"));
|
|
40
40
|
var import_internals = require("@prisma/internals");
|
|
41
|
-
var import_pg = (0, import_chunk_2ESYSVXG.__toESM)((0,
|
|
41
|
+
var import_pg = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_5JVYZEWJ.require_lib)());
|
|
42
42
|
async function setupPostgres(options) {
|
|
43
43
|
const { connectionString } = options;
|
|
44
44
|
const { dirname } = options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/migrate",
|
|
3
|
-
"version": "7.9.0-dev.
|
|
3
|
+
"version": "7.9.0-dev.31",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/migrate/src/index.d.ts",
|
|
@@ -44,21 +44,21 @@
|
|
|
44
44
|
"tempy": "1.0.1",
|
|
45
45
|
"ts-pattern": "5.6.2",
|
|
46
46
|
"typescript": "5.4.5",
|
|
47
|
-
"@prisma/adapter-libsql": "7.9.0-dev.
|
|
47
|
+
"@prisma/adapter-libsql": "7.9.0-dev.31"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"@prisma/internals": "*"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@prisma/engines-version": "7.
|
|
53
|
+
"@prisma/engines-version": "7.9.0-1.e922089b7d7502aff4249d5da3420f6fa55fc6ad",
|
|
54
54
|
"prompts": "2.4.2",
|
|
55
|
-
"@prisma/client-generator-registry": "7.9.0-dev.
|
|
56
|
-
"@prisma/config": "7.9.0-dev.
|
|
57
|
-
"@prisma/driver-adapter-utils": "7.9.0-dev.
|
|
58
|
-
"@prisma/generator": "7.9.0-dev.
|
|
59
|
-
"@prisma/
|
|
60
|
-
"@prisma/
|
|
61
|
-
"@prisma/
|
|
55
|
+
"@prisma/client-generator-registry": "7.9.0-dev.31",
|
|
56
|
+
"@prisma/config": "7.9.0-dev.31",
|
|
57
|
+
"@prisma/driver-adapter-utils": "7.9.0-dev.31",
|
|
58
|
+
"@prisma/generator": "7.9.0-dev.31",
|
|
59
|
+
"@prisma/debug": "7.9.0-dev.31",
|
|
60
|
+
"@prisma/get-platform": "7.9.0-dev.31",
|
|
61
|
+
"@prisma/internals": "7.9.0-dev.31"
|
|
62
62
|
},
|
|
63
63
|
"files": [
|
|
64
64
|
"README.md",
|