@prisma/migrate 7.10.0-dev.9 → 7.10.0-integration-prisma7-project-closeout.10
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/Migrate.js +4 -4
- package/dist/SchemaEngineCLI.js +4 -4
- package/dist/SchemaEngineWasm.js +4 -4
- package/dist/bin.js +41 -35
- package/dist/{chunk-FXSCTGN2.js → chunk-3C5DQOOW.js} +5 -5
- package/dist/{chunk-HWBQGGZH.js → chunk-3NKLI5KP.js} +9 -9
- package/dist/{chunk-6TSRRBNA.js → chunk-57S5K3DX.js} +7 -7
- package/dist/{chunk-UA3FFRRV.js → chunk-5YSI4XSU.js} +25 -19
- package/dist/{chunk-7CQBDP4H.js → chunk-6F7CAPL7.js} +9 -10
- package/dist/{chunk-GBUW4I6U.js → chunk-7KCEXIB2.js} +6 -6
- package/dist/{chunk-TEOIOJ7P.js → chunk-A6PUWLVN.js} +6 -6
- package/dist/{chunk-LZ2DWYUY.js → chunk-BWFPKWBD.js} +7 -7
- package/dist/{chunk-QCPYZUFF.js → chunk-BZ2JSF42.js} +31 -29
- package/dist/{chunk-DPRQXN36.js → chunk-DTSU3YZP.js} +6 -6
- package/dist/{chunk-WA2SOLDQ.js → chunk-EGNBSKBG.js} +8 -8
- package/dist/{chunk-DNNMOG7A.js → chunk-F2LZOLZK.js} +25 -24
- package/dist/{chunk-PPE4XDUL.js → chunk-GD52HTMX.js} +10 -10
- package/dist/{chunk-2HCAA4GX.js → chunk-GHPP2B5T.js} +27 -23
- package/dist/{chunk-XTEEOIUV.js → chunk-HMVLLUKH.js} +18 -13
- package/dist/{chunk-WP5M3D4N.js → chunk-I3UQXXYF.js} +30 -27
- package/dist/{chunk-RM4WK3ML.js → chunk-I7UMFS37.js} +33 -26
- package/dist/{chunk-CQTYRADU.js → chunk-IKF6HBHH.js} +23 -18
- package/dist/{chunk-NGEWTXY6.js → chunk-J6BC6QDB.js} +6 -6
- package/dist/{chunk-6DDIA3ZD.js → chunk-KDAXJMEP.js} +5 -5
- package/dist/{chunk-ZUHJASAP.js → chunk-KYZDCMJW.js} +12 -12
- package/dist/{chunk-AL3XYISJ.js → chunk-MQ76MQ53.js} +55 -50
- package/dist/{chunk-VEBRKA5H.js → chunk-OQKFK65J.js} +6 -6
- package/dist/{chunk-YNB3IN6Q.js → chunk-OXZFIZV6.js} +8 -8
- package/dist/{chunk-THJ7K72W.js → chunk-SFFTVLXC.js} +6 -6
- package/dist/{chunk-PEUHUCS4.js → chunk-T25WPL3D.js} +632 -625
- package/dist/{chunk-NHSJJSXU.js → chunk-TKQMAG6L.js} +5 -5
- package/dist/{chunk-6EQA63NM.js → chunk-UWVWZK5Z.js} +38 -32
- package/dist/{chunk-TW5MYPTK.js → chunk-VJKZQVKX.js} +26 -21
- package/dist/{chunk-DL2W77GY.js → chunk-W4WHE5HS.js} +33 -30
- package/dist/{chunk-TDN3QQTH.js → chunk-Y3QVFDLE.js} +29 -24
- package/dist/{chunk-RGXJYLMD.js → chunk-ZOYXSZ2J.js} +5 -5
- package/dist/{chunk-INC5VUX4.js → chunk-ZVRF2A5M.js} +6 -6
- package/dist/commands/DbCommand.js +2 -2
- package/dist/commands/DbDrop.js +3 -3
- package/dist/commands/DbExecute.js +5 -5
- package/dist/commands/DbPull.js +6 -6
- package/dist/commands/DbPush.js +6 -6
- package/dist/commands/DbSeed.js +2 -2
- package/dist/commands/MigrateCommand.js +2 -2
- package/dist/commands/MigrateDeploy.js +5 -5
- package/dist/commands/MigrateDev.js +7 -7
- package/dist/commands/MigrateDiff.js +6 -6
- package/dist/commands/MigrateReset.js +6 -6
- package/dist/commands/MigrateResolve.js +5 -5
- package/dist/commands/MigrateStatus.js +5 -5
- package/dist/commands/db-command-completion.js +2 -2
- package/dist/commands/db-execute-completion.js +2 -2
- package/dist/commands/db-pull-completion.js +2 -2
- package/dist/commands/db-push-completion.js +2 -2
- package/dist/commands/db-seed-completion.js +2 -2
- package/dist/commands/migrate-command-completion.js +2 -2
- package/dist/commands/migrate-deploy-completion.js +2 -2
- package/dist/commands/migrate-dev-completion.js +2 -2
- package/dist/commands/migrate-diff-completion.js +2 -2
- package/dist/commands/migrate-reset-completion.js +2 -2
- package/dist/commands/migrate-resolve-completion.js +2 -2
- package/dist/commands/migrate-status-completion.js +2 -2
- package/dist/index.js +63 -63
- package/dist/src/commands/DbCommand.d.ts +2 -2
- package/dist/src/commands/DbDrop.d.ts +3 -2
- package/dist/src/commands/DbExecute.d.ts +3 -2
- package/dist/src/commands/DbPull.d.ts +3 -2
- package/dist/src/commands/DbPush.d.ts +3 -2
- package/dist/src/commands/DbSeed.d.ts +3 -2
- package/dist/src/commands/MigrateCommand.d.ts +2 -2
- package/dist/src/commands/MigrateDeploy.d.ts +3 -2
- package/dist/src/commands/MigrateDev.d.ts +3 -2
- package/dist/src/commands/MigrateDiff.d.ts +3 -2
- package/dist/src/commands/MigrateReset.d.ts +3 -2
- package/dist/src/commands/MigrateResolve.d.ts +3 -2
- package/dist/src/commands/MigrateStatus.d.ts +3 -2
- package/dist/src/commands/db-command-completion.d.ts +1 -1
- package/dist/src/commands/db-execute-completion.d.ts +1 -1
- package/dist/src/commands/db-pull-completion.d.ts +1 -1
- package/dist/src/commands/db-push-completion.d.ts +1 -1
- package/dist/src/commands/db-seed-completion.d.ts +1 -1
- package/dist/src/commands/migrate-command-completion.d.ts +1 -1
- package/dist/src/commands/migrate-deploy-completion.d.ts +1 -1
- package/dist/src/commands/migrate-dev-completion.d.ts +1 -1
- package/dist/src/commands/migrate-diff-completion.d.ts +1 -1
- package/dist/src/commands/migrate-reset-completion.d.ts +1 -1
- package/dist/src/commands/migrate-resolve-completion.d.ts +1 -1
- package/dist/src/commands/migrate-status-completion.d.ts +1 -1
- package/dist/src/utils/errors.d.ts +4 -4
- package/dist/src/utils/handleEvaluateDataloss.d.ts +1 -1
- package/dist/utils/errors.js +8 -8
- package/dist/utils/getDatabaseVersionSafe.js +5 -5
- package/dist/utils/handleEvaluateDataloss.js +2 -2
- package/dist/utils/introspectSql.js +5 -5
- package/dist/utils/setupMSSQL.js +142 -56
- package/dist/views/handleViewsIO.js +2 -2
- package/package.json +12 -12
package/dist/index.js
CHANGED
|
@@ -18,92 +18,92 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var index_exports = {};
|
|
20
20
|
__export(index_exports, {
|
|
21
|
-
DbCommand: () =>
|
|
22
|
-
DbDrop: () =>
|
|
23
|
-
DbExecute: () =>
|
|
24
|
-
DbPull: () =>
|
|
25
|
-
DbPush: () =>
|
|
26
|
-
DbSeed: () =>
|
|
21
|
+
DbCommand: () => import_chunk_GHPP2B5T.DbCommand,
|
|
22
|
+
DbDrop: () => import_chunk_5YSI4XSU.DbDrop,
|
|
23
|
+
DbExecute: () => import_chunk_BZ2JSF42.DbExecute,
|
|
24
|
+
DbPull: () => import_chunk_UWVWZK5Z.DbPull,
|
|
25
|
+
DbPush: () => import_chunk_I3UQXXYF.DbPush,
|
|
26
|
+
DbSeed: () => import_chunk_HMVLLUKH.DbSeed,
|
|
27
27
|
EngineResults: () => import_chunk_LVR7W5DD.EngineResults,
|
|
28
|
-
Migrate: () =>
|
|
29
|
-
MigrateCommand: () =>
|
|
30
|
-
MigrateDeploy: () =>
|
|
31
|
-
MigrateDev: () =>
|
|
32
|
-
MigrateDiff: () =>
|
|
33
|
-
MigrateReset: () =>
|
|
34
|
-
MigrateResolve: () =>
|
|
35
|
-
MigrateStatus: () =>
|
|
36
|
-
SchemaEngineCLI: () =>
|
|
37
|
-
SchemaEngineWasm: () =>
|
|
38
|
-
dbCompletion: () =>
|
|
39
|
-
dbExecuteCompletion: () =>
|
|
40
|
-
dbPullCompletion: () =>
|
|
41
|
-
dbPushCompletion: () =>
|
|
42
|
-
dbSeedCompletion: () =>
|
|
43
|
-
getDatabaseVersionSafe: () =>
|
|
44
|
-
introspectSql: () =>
|
|
45
|
-
migrateCompletion: () =>
|
|
46
|
-
migrateDeployCompletion: () =>
|
|
47
|
-
migrateDevCompletion: () =>
|
|
48
|
-
migrateDiffCompletion: () =>
|
|
49
|
-
migrateResetCompletion: () =>
|
|
50
|
-
migrateResolveCompletion: () =>
|
|
51
|
-
migrateStatusCompletion: () =>
|
|
28
|
+
Migrate: () => import_chunk_ZOYXSZ2J.Migrate,
|
|
29
|
+
MigrateCommand: () => import_chunk_F2LZOLZK.MigrateCommand,
|
|
30
|
+
MigrateDeploy: () => import_chunk_IKF6HBHH.MigrateDeploy,
|
|
31
|
+
MigrateDev: () => import_chunk_W4WHE5HS.MigrateDev,
|
|
32
|
+
MigrateDiff: () => import_chunk_I7UMFS37.MigrateDiff,
|
|
33
|
+
MigrateReset: () => import_chunk_VJKZQVKX.MigrateReset,
|
|
34
|
+
MigrateResolve: () => import_chunk_MQ76MQ53.MigrateResolve,
|
|
35
|
+
MigrateStatus: () => import_chunk_Y3QVFDLE.MigrateStatus,
|
|
36
|
+
SchemaEngineCLI: () => import_chunk_KDAXJMEP.SchemaEngineCLI,
|
|
37
|
+
SchemaEngineWasm: () => import_chunk_BWFPKWBD.SchemaEngineWasm,
|
|
38
|
+
dbCompletion: () => import_chunk_7KCEXIB2.dbCompletion,
|
|
39
|
+
dbExecuteCompletion: () => import_chunk_DTSU3YZP.dbExecuteCompletion,
|
|
40
|
+
dbPullCompletion: () => import_chunk_3NKLI5KP.dbPullCompletion,
|
|
41
|
+
dbPushCompletion: () => import_chunk_57S5K3DX.dbPushCompletion,
|
|
42
|
+
dbSeedCompletion: () => import_chunk_SFFTVLXC.dbSeedCompletion,
|
|
43
|
+
getDatabaseVersionSafe: () => import_chunk_3C5DQOOW.getDatabaseVersionSafe,
|
|
44
|
+
introspectSql: () => import_chunk_TKQMAG6L.introspectSql,
|
|
45
|
+
migrateCompletion: () => import_chunk_J6BC6QDB.migrateCompletion,
|
|
46
|
+
migrateDeployCompletion: () => import_chunk_ZVRF2A5M.migrateDeployCompletion,
|
|
47
|
+
migrateDevCompletion: () => import_chunk_OXZFIZV6.migrateDevCompletion,
|
|
48
|
+
migrateDiffCompletion: () => import_chunk_GD52HTMX.migrateDiffCompletion,
|
|
49
|
+
migrateResetCompletion: () => import_chunk_A6PUWLVN.migrateResetCompletion,
|
|
50
|
+
migrateResolveCompletion: () => import_chunk_EGNBSKBG.migrateResolveCompletion,
|
|
51
|
+
migrateStatusCompletion: () => import_chunk_OQKFK65J.migrateStatusCompletion
|
|
52
52
|
});
|
|
53
53
|
module.exports = __toCommonJS(index_exports);
|
|
54
|
-
var
|
|
55
|
-
var
|
|
56
|
-
var
|
|
57
|
-
var
|
|
58
|
-
var
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
var
|
|
62
|
-
var
|
|
63
|
-
var
|
|
64
|
-
var
|
|
65
|
-
var
|
|
66
|
-
var
|
|
54
|
+
var import_chunk_TKQMAG6L = require("./chunk-TKQMAG6L.js");
|
|
55
|
+
var import_chunk_EGNBSKBG = require("./chunk-EGNBSKBG.js");
|
|
56
|
+
var import_chunk_OQKFK65J = require("./chunk-OQKFK65J.js");
|
|
57
|
+
var import_chunk_3NKLI5KP = require("./chunk-3NKLI5KP.js");
|
|
58
|
+
var import_chunk_57S5K3DX = require("./chunk-57S5K3DX.js");
|
|
59
|
+
var import_chunk_SFFTVLXC = require("./chunk-SFFTVLXC.js");
|
|
60
|
+
var import_chunk_J6BC6QDB = require("./chunk-J6BC6QDB.js");
|
|
61
|
+
var import_chunk_ZVRF2A5M = require("./chunk-ZVRF2A5M.js");
|
|
62
|
+
var import_chunk_OXZFIZV6 = require("./chunk-OXZFIZV6.js");
|
|
63
|
+
var import_chunk_GD52HTMX = require("./chunk-GD52HTMX.js");
|
|
64
|
+
var import_chunk_A6PUWLVN = require("./chunk-A6PUWLVN.js");
|
|
65
|
+
var import_chunk_7KCEXIB2 = require("./chunk-7KCEXIB2.js");
|
|
66
|
+
var import_chunk_DTSU3YZP = require("./chunk-DTSU3YZP.js");
|
|
67
67
|
var import_chunk_LVR7W5DD = require("./chunk-LVR7W5DD.js");
|
|
68
|
-
var
|
|
68
|
+
var import_chunk_5YSI4XSU = require("./chunk-5YSI4XSU.js");
|
|
69
69
|
var import_chunk_IHDN3L3R = require("./chunk-IHDN3L3R.js");
|
|
70
|
-
var
|
|
71
|
-
var
|
|
72
|
-
var
|
|
73
|
-
var
|
|
70
|
+
var import_chunk_BWFPKWBD = require("./chunk-BWFPKWBD.js");
|
|
71
|
+
var import_chunk_3C5DQOOW = require("./chunk-3C5DQOOW.js");
|
|
72
|
+
var import_chunk_IKF6HBHH = require("./chunk-IKF6HBHH.js");
|
|
73
|
+
var import_chunk_W4WHE5HS = require("./chunk-W4WHE5HS.js");
|
|
74
74
|
var import_chunk_C3722PDA = require("./chunk-C3722PDA.js");
|
|
75
|
-
var
|
|
76
|
-
var
|
|
75
|
+
var import_chunk_6F7CAPL7 = require("./chunk-6F7CAPL7.js");
|
|
76
|
+
var import_chunk_I7UMFS37 = require("./chunk-I7UMFS37.js");
|
|
77
77
|
var import_chunk_VAJ4VX67 = require("./chunk-VAJ4VX67.js");
|
|
78
|
-
var
|
|
78
|
+
var import_chunk_VJKZQVKX = require("./chunk-VJKZQVKX.js");
|
|
79
79
|
var import_chunk_G222ME3D = require("./chunk-G222ME3D.js");
|
|
80
80
|
var import_chunk_2R6DII47 = require("./chunk-2R6DII47.js");
|
|
81
81
|
var import_chunk_UP6FVCDK = require("./chunk-UP6FVCDK.js");
|
|
82
|
-
var
|
|
83
|
-
var
|
|
84
|
-
var
|
|
85
|
-
var
|
|
86
|
-
var
|
|
82
|
+
var import_chunk_MQ76MQ53 = require("./chunk-MQ76MQ53.js");
|
|
83
|
+
var import_chunk_Y3QVFDLE = require("./chunk-Y3QVFDLE.js");
|
|
84
|
+
var import_chunk_GHPP2B5T = require("./chunk-GHPP2B5T.js");
|
|
85
|
+
var import_chunk_BZ2JSF42 = require("./chunk-BZ2JSF42.js");
|
|
86
|
+
var import_chunk_UWVWZK5Z = require("./chunk-UWVWZK5Z.js");
|
|
87
87
|
var import_chunk_ZOT2HSX5 = require("./chunk-ZOT2HSX5.js");
|
|
88
88
|
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
89
89
|
var import_chunk_JZ75RIMZ = require("./chunk-JZ75RIMZ.js");
|
|
90
90
|
var import_chunk_RTGQXNX6 = require("./chunk-RTGQXNX6.js");
|
|
91
91
|
var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
|
|
92
92
|
var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
93
|
-
var
|
|
93
|
+
var import_chunk_I3UQXXYF = require("./chunk-I3UQXXYF.js");
|
|
94
94
|
var import_chunk_PHX6STZ3 = require("./chunk-PHX6STZ3.js");
|
|
95
|
-
var
|
|
95
|
+
var import_chunk_KYZDCMJW = require("./chunk-KYZDCMJW.js");
|
|
96
96
|
var import_chunk_QOPTDDIH = require("./chunk-QOPTDDIH.js");
|
|
97
97
|
var import_chunk_BRPS327A = require("./chunk-BRPS327A.js");
|
|
98
98
|
var import_chunk_TWPTG4XS = require("./chunk-TWPTG4XS.js");
|
|
99
|
-
var
|
|
99
|
+
var import_chunk_HMVLLUKH = require("./chunk-HMVLLUKH.js");
|
|
100
100
|
var import_chunk_L7EZFBB4 = require("./chunk-L7EZFBB4.js");
|
|
101
101
|
var import_chunk_3WDCTXHL = require("./chunk-3WDCTXHL.js");
|
|
102
|
-
var
|
|
103
|
-
var
|
|
102
|
+
var import_chunk_F2LZOLZK = require("./chunk-F2LZOLZK.js");
|
|
103
|
+
var import_chunk_ZOYXSZ2J = require("./chunk-ZOYXSZ2J.js");
|
|
104
104
|
var import_chunk_GGA2F64G = require("./chunk-GGA2F64G.js");
|
|
105
105
|
var import_chunk_23DZXSTI = require("./chunk-23DZXSTI.js");
|
|
106
|
-
var
|
|
107
|
-
var
|
|
106
|
+
var import_chunk_KDAXJMEP = require("./chunk-KDAXJMEP.js");
|
|
107
|
+
var import_chunk_T25WPL3D = require("./chunk-T25WPL3D.js");
|
|
108
108
|
var import_chunk_SKRR5WT4 = require("./chunk-SKRR5WT4.js");
|
|
109
109
|
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
|
@@ -3,8 +3,8 @@ import type { Command, Commands } from '@prisma/internals';
|
|
|
3
3
|
import { HelpError } from '@prisma/internals';
|
|
4
4
|
export declare class DbCommand implements Command {
|
|
5
5
|
private readonly cmds;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
private readonly cliCommand;
|
|
7
|
+
static new(cmds: Commands, cliCommand: string): DbCommand;
|
|
8
8
|
private constructor();
|
|
9
9
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
10
10
|
help(error?: string): string | HelpError;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbDrop implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): DbDrop;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbExecute implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): DbExecute;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbPull implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): DbPull;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir?: string): Promise<string | Error>;
|
|
7
8
|
private getWarningMessage;
|
|
8
9
|
help(error?: string): string | HelpError;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbPush implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): DbPush;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbSeed implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): DbSeed;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -3,8 +3,8 @@ import type { Command, Commands } from '@prisma/internals';
|
|
|
3
3
|
import { HelpError } from '@prisma/internals';
|
|
4
4
|
export declare class MigrateCommand implements Command {
|
|
5
5
|
private readonly cmds;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
private readonly cliCommand;
|
|
7
|
+
static new(cmds: Commands, cliCommand: string): MigrateCommand;
|
|
8
8
|
private constructor();
|
|
9
9
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
10
10
|
help(error?: string): string | HelpError;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateDeploy implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): MigrateDeploy;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateDev implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): MigrateDev;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
private logResetReason;
|
|
8
9
|
help(error?: string): string | HelpError;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateDiff implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): MigrateDiff;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateReset implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): MigrateReset;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateResolve implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): MigrateResolve;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateStatus implements Command {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
private readonly cliCommand;
|
|
5
|
+
static new(cliCommand: string): MigrateStatus;
|
|
6
|
+
private constructor();
|
|
6
7
|
parse(argv: string[], config: PrismaConfigInternal, baseDir: string): Promise<string | Error>;
|
|
7
8
|
help(error?: string): string | HelpError;
|
|
8
9
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const dbCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const dbExecuteCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const dbPullCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const dbPushCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const dbSeedCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateDeployCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateDevCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateDiffCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateResetCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateResolveCompletion: CommandCompletion;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { CommandCompletion } from '@prisma/internals
|
|
1
|
+
import type { CommandCompletion } from '@prisma/internals';
|
|
2
2
|
export declare const migrateStatusCompletion: CommandCompletion;
|
|
@@ -5,17 +5,17 @@ export declare class NoSchemaFoundError extends Error {
|
|
|
5
5
|
constructor();
|
|
6
6
|
}
|
|
7
7
|
export declare class DbPushIgnoreWarningsWithFlagError extends Error {
|
|
8
|
-
constructor();
|
|
8
|
+
constructor(cliCommand: string);
|
|
9
9
|
}
|
|
10
10
|
export declare class MigrateNeedsForceError extends Error {
|
|
11
|
-
constructor(subcommand: string);
|
|
11
|
+
constructor(subcommand: string, cliCommand: string);
|
|
12
12
|
}
|
|
13
13
|
export declare class MigrateResetEnvNonInteractiveError extends Error {
|
|
14
14
|
constructor();
|
|
15
15
|
}
|
|
16
16
|
export declare class MigrateDevEnvNonInteractiveError extends Error {
|
|
17
|
-
constructor();
|
|
17
|
+
constructor(cliCommand: string);
|
|
18
18
|
}
|
|
19
19
|
export declare class DbDropNeedsForceError extends Error {
|
|
20
|
-
constructor(subcommand: string);
|
|
20
|
+
constructor(subcommand: string, cliCommand: string);
|
|
21
21
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MigrationFeedback } from '../types';
|
|
2
|
-
export declare function handleUnexecutableSteps(unexecutableSteps: MigrationFeedback[], createOnly?: boolean): string | undefined;
|
|
2
|
+
export declare function handleUnexecutableSteps(unexecutableSteps: MigrationFeedback[], cliCommand: string, createOnly?: boolean): string | undefined;
|
package/dist/utils/errors.js
CHANGED
|
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var errors_exports = {};
|
|
20
20
|
__export(errors_exports, {
|
|
21
|
-
ConfigValidationError: () =>
|
|
22
|
-
DbDropNeedsForceError: () =>
|
|
23
|
-
DbPushIgnoreWarningsWithFlagError: () =>
|
|
24
|
-
MigrateDevEnvNonInteractiveError: () =>
|
|
25
|
-
MigrateNeedsForceError: () =>
|
|
26
|
-
MigrateResetEnvNonInteractiveError: () =>
|
|
27
|
-
NoSchemaFoundError: () =>
|
|
21
|
+
ConfigValidationError: () => import_chunk_KYZDCMJW.ConfigValidationError,
|
|
22
|
+
DbDropNeedsForceError: () => import_chunk_KYZDCMJW.DbDropNeedsForceError,
|
|
23
|
+
DbPushIgnoreWarningsWithFlagError: () => import_chunk_KYZDCMJW.DbPushIgnoreWarningsWithFlagError,
|
|
24
|
+
MigrateDevEnvNonInteractiveError: () => import_chunk_KYZDCMJW.MigrateDevEnvNonInteractiveError,
|
|
25
|
+
MigrateNeedsForceError: () => import_chunk_KYZDCMJW.MigrateNeedsForceError,
|
|
26
|
+
MigrateResetEnvNonInteractiveError: () => import_chunk_KYZDCMJW.MigrateResetEnvNonInteractiveError,
|
|
27
|
+
NoSchemaFoundError: () => import_chunk_KYZDCMJW.NoSchemaFoundError
|
|
28
28
|
});
|
|
29
29
|
module.exports = __toCommonJS(errors_exports);
|
|
30
|
-
var
|
|
30
|
+
var import_chunk_KYZDCMJW = require("../chunk-KYZDCMJW.js");
|
|
31
31
|
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
32
32
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var getDatabaseVersionSafe_exports = {};
|
|
20
20
|
__export(getDatabaseVersionSafe_exports, {
|
|
21
|
-
getDatabaseVersionSafe: () =>
|
|
21
|
+
getDatabaseVersionSafe: () => import_chunk_3C5DQOOW.getDatabaseVersionSafe
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getDatabaseVersionSafe_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_3C5DQOOW = require("../chunk-3C5DQOOW.js");
|
|
25
|
+
var import_chunk_ZOYXSZ2J = require("../chunk-ZOYXSZ2J.js");
|
|
26
26
|
var import_chunk_GGA2F64G = require("../chunk-GGA2F64G.js");
|
|
27
27
|
var import_chunk_23DZXSTI = require("../chunk-23DZXSTI.js");
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var import_chunk_KDAXJMEP = require("../chunk-KDAXJMEP.js");
|
|
29
|
+
var import_chunk_T25WPL3D = require("../chunk-T25WPL3D.js");
|
|
30
30
|
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
31
31
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var handleEvaluateDataloss_exports = {};
|
|
20
20
|
__export(handleEvaluateDataloss_exports, {
|
|
21
|
-
handleUnexecutableSteps: () =>
|
|
21
|
+
handleUnexecutableSteps: () => import_chunk_6F7CAPL7.handleUnexecutableSteps
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(handleEvaluateDataloss_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_6F7CAPL7 = require("../chunk-6F7CAPL7.js");
|
|
25
25
|
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
26
26
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|
|
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var introspectSql_exports = {};
|
|
20
20
|
__export(introspectSql_exports, {
|
|
21
|
-
introspectSql: () =>
|
|
21
|
+
introspectSql: () => import_chunk_TKQMAG6L.introspectSql
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(introspectSql_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_TKQMAG6L = require("../chunk-TKQMAG6L.js");
|
|
25
|
+
var import_chunk_ZOYXSZ2J = require("../chunk-ZOYXSZ2J.js");
|
|
26
26
|
var import_chunk_GGA2F64G = require("../chunk-GGA2F64G.js");
|
|
27
27
|
var import_chunk_23DZXSTI = require("../chunk-23DZXSTI.js");
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var import_chunk_KDAXJMEP = require("../chunk-KDAXJMEP.js");
|
|
29
|
+
var import_chunk_T25WPL3D = require("../chunk-T25WPL3D.js");
|
|
30
30
|
var import_chunk_SKRR5WT4 = require("../chunk-SKRR5WT4.js");
|
|
31
31
|
var import_chunk_2ESYSVXG = require("../chunk-2ESYSVXG.js");
|