@prisma/migrate 6.4.0-dev.46 → 6.4.0-dev.48
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 +3 -3
- package/dist/{chunk-U4KYWF55.js → chunk-2TQXDO3C.js} +4 -4
- package/dist/commands/MigrateDiff.js +3 -3
- package/dist/index.js +3 -3
- package/dist/internals/src/cli/types.d.ts +2 -2
- package/dist/internals/src/utils/loadEnvFile.d.ts +2 -2
- package/dist/migrate/src/CLI.d.ts +2 -2
- package/dist/migrate/src/commands/DbCommand.d.ts +2 -2
- package/dist/migrate/src/commands/DbDrop.d.ts +2 -2
- package/dist/migrate/src/commands/DbExecute.d.ts +2 -2
- package/dist/migrate/src/commands/DbPull.d.ts +2 -2
- package/dist/migrate/src/commands/DbPush.d.ts +2 -2
- package/dist/migrate/src/commands/DbSeed.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateCommand.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateDeploy.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateDev.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateDiff.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateReset.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateResolve.d.ts +2 -2
- package/dist/migrate/src/commands/MigrateStatus.d.ts +2 -2
- package/package.json +6 -6
package/dist/bin.js
CHANGED
|
@@ -60,7 +60,7 @@ var import_chunk_YKUZUAXA = require("./chunk-YKUZUAXA.js");
|
|
|
60
60
|
var import_chunk_WOOPRG54 = require("./chunk-WOOPRG54.js");
|
|
61
61
|
var import_chunk_6QFE3AWR = require("./chunk-6QFE3AWR.js");
|
|
62
62
|
var import_chunk_LKTTJWFT = require("./chunk-LKTTJWFT.js");
|
|
63
|
-
var
|
|
63
|
+
var import_chunk_2TQXDO3C = require("./chunk-2TQXDO3C.js");
|
|
64
64
|
var import_chunk_A6PMXMMT = require("./chunk-A6PMXMMT.js");
|
|
65
65
|
var import_chunk_XRTNIFND = require("./chunk-XRTNIFND.js");
|
|
66
66
|
var import_chunk_TKAGMA5K = require("./chunk-TKAGMA5K.js");
|
|
@@ -94,7 +94,7 @@ var require_bin = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
94
94
|
(0, import_chunk_NGDFNKHZ.init_MigrateCommand)();
|
|
95
95
|
(0, import_chunk_FM4XJBEM.init_MigrateDeploy)();
|
|
96
96
|
(0, import_chunk_REKABZBY.init_MigrateDev)();
|
|
97
|
-
(0,
|
|
97
|
+
(0, import_chunk_2TQXDO3C.init_MigrateDiff)();
|
|
98
98
|
(0, import_chunk_EDQWDMXR.init_MigrateReset)();
|
|
99
99
|
(0, import_chunk_T6Y2635A.init_MigrateResolve)();
|
|
100
100
|
(0, import_chunk_KW5YM5ZK.init_MigrateStatus)();
|
|
@@ -126,7 +126,7 @@ var require_bin = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
126
126
|
resolve: import_chunk_T6Y2635A.MigrateResolve.new(),
|
|
127
127
|
reset: import_chunk_EDQWDMXR.MigrateReset.new(),
|
|
128
128
|
deploy: import_chunk_FM4XJBEM.MigrateDeploy.new(),
|
|
129
|
-
diff:
|
|
129
|
+
diff: import_chunk_2TQXDO3C.MigrateDiff.new()
|
|
130
130
|
}),
|
|
131
131
|
db: import_chunk_L5WSTNST.DbCommand.new({
|
|
132
132
|
execute: import_chunk_N3AT4GUM.DbExecute.new(),
|
|
@@ -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_2TQXDO3C_exports = {};
|
|
30
|
+
__export(chunk_2TQXDO3C_exports, {
|
|
31
31
|
MigrateDiff: () => MigrateDiff,
|
|
32
32
|
init_MigrateDiff: () => init_MigrateDiff
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_2TQXDO3C_exports);
|
|
35
35
|
var import_chunk_A6PMXMMT = require("./chunk-A6PMXMMT.js");
|
|
36
36
|
var import_chunk_XRTNIFND = require("./chunk-XRTNIFND.js");
|
|
37
37
|
var import_chunk_TKAGMA5K = require("./chunk-TKAGMA5K.js");
|
|
@@ -11562,7 +11562,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11562
11562
|
"../internals/package.json"(exports, module2) {
|
|
11563
11563
|
module2.exports = {
|
|
11564
11564
|
name: "@prisma/internals",
|
|
11565
|
-
version: "6.4.0-dev.
|
|
11565
|
+
version: "6.4.0-dev.48",
|
|
11566
11566
|
description: "This package is intended for Prisma's internal use",
|
|
11567
11567
|
main: "dist/index.js",
|
|
11568
11568
|
types: "dist/index.d.ts",
|
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var MigrateDiff_exports = {};
|
|
20
20
|
__export(MigrateDiff_exports, {
|
|
21
|
-
MigrateDiff: () =>
|
|
21
|
+
MigrateDiff: () => import_chunk_2TQXDO3C.MigrateDiff
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(MigrateDiff_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_2TQXDO3C = require("../chunk-2TQXDO3C.js");
|
|
25
25
|
var import_chunk_A6PMXMMT = require("../chunk-A6PMXMMT.js");
|
|
26
26
|
var import_chunk_XRTNIFND = require("../chunk-XRTNIFND.js");
|
|
27
27
|
var import_chunk_TKAGMA5K = require("../chunk-TKAGMA5K.js");
|
|
@@ -33,4 +33,4 @@ var import_chunk_CQQQ436N = require("../chunk-CQQQ436N.js");
|
|
|
33
33
|
var import_chunk_AAATUOV6 = require("../chunk-AAATUOV6.js");
|
|
34
34
|
var import_chunk_6TE2RIPN = require("../chunk-6TE2RIPN.js");
|
|
35
35
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
36
|
-
(0,
|
|
36
|
+
(0, import_chunk_2TQXDO3C.init_MigrateDiff)();
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ __export(index_exports, {
|
|
|
29
29
|
MigrateCommand: () => import_chunk_NGDFNKHZ.MigrateCommand,
|
|
30
30
|
MigrateDeploy: () => import_chunk_FM4XJBEM.MigrateDeploy,
|
|
31
31
|
MigrateDev: () => import_chunk_REKABZBY.MigrateDev,
|
|
32
|
-
MigrateDiff: () =>
|
|
32
|
+
MigrateDiff: () => import_chunk_2TQXDO3C.MigrateDiff,
|
|
33
33
|
MigrateReset: () => import_chunk_EDQWDMXR.MigrateReset,
|
|
34
34
|
MigrateResolve: () => import_chunk_T6Y2635A.MigrateResolve,
|
|
35
35
|
MigrateStatus: () => import_chunk_KW5YM5ZK.MigrateStatus,
|
|
@@ -69,7 +69,7 @@ var import_chunk_YKUZUAXA = require("./chunk-YKUZUAXA.js");
|
|
|
69
69
|
var import_chunk_WOOPRG54 = require("./chunk-WOOPRG54.js");
|
|
70
70
|
var import_chunk_6QFE3AWR = require("./chunk-6QFE3AWR.js");
|
|
71
71
|
var import_chunk_LKTTJWFT = require("./chunk-LKTTJWFT.js");
|
|
72
|
-
var
|
|
72
|
+
var import_chunk_2TQXDO3C = require("./chunk-2TQXDO3C.js");
|
|
73
73
|
var import_chunk_A6PMXMMT = require("./chunk-A6PMXMMT.js");
|
|
74
74
|
var import_chunk_XRTNIFND = require("./chunk-XRTNIFND.js");
|
|
75
75
|
var import_chunk_TKAGMA5K = require("./chunk-TKAGMA5K.js");
|
|
@@ -98,7 +98,7 @@ var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
|
98
98
|
(0, import_chunk_NGDFNKHZ.init_MigrateCommand)();
|
|
99
99
|
(0, import_chunk_FM4XJBEM.init_MigrateDeploy)();
|
|
100
100
|
(0, import_chunk_REKABZBY.init_MigrateDev)();
|
|
101
|
-
(0,
|
|
101
|
+
(0, import_chunk_2TQXDO3C.init_MigrateDiff)();
|
|
102
102
|
(0, import_chunk_EDQWDMXR.init_MigrateReset)();
|
|
103
103
|
(0, import_chunk_T6Y2635A.init_MigrateResolve)();
|
|
104
104
|
(0, import_chunk_KW5YM5ZK.init_MigrateStatus)();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
/**
|
|
3
3
|
* Command interface
|
|
4
4
|
*/
|
|
5
5
|
export interface Command {
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* Commands
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
/**
|
|
3
3
|
* Read .env file only if next to schema.prisma
|
|
4
4
|
* .env found: print to console its relative path
|
|
@@ -6,5 +6,5 @@ import type { PrismaConfig } from '@prisma/config';
|
|
|
6
6
|
export declare function loadEnvFile({ schemaPath, config, printMessage, }: {
|
|
7
7
|
schemaPath?: string;
|
|
8
8
|
printMessage?: boolean;
|
|
9
|
-
config:
|
|
9
|
+
config: PrismaConfigInternal;
|
|
10
10
|
}): Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import type { Command, Commands } from '@prisma/internals';
|
|
3
3
|
import { HelpError } from '@prisma/internals';
|
|
4
4
|
/**
|
|
@@ -9,7 +9,7 @@ export declare class CLI implements Command {
|
|
|
9
9
|
private readonly cmds;
|
|
10
10
|
static new(cmds: Commands): CLI;
|
|
11
11
|
private constructor();
|
|
12
|
-
parse(argv: string[], config:
|
|
12
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
13
13
|
help(error?: string): string | HelpError;
|
|
14
14
|
private static help;
|
|
15
15
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import type { Command, Commands } from '@prisma/internals';
|
|
3
3
|
import { HelpError } from '@prisma/internals';
|
|
4
4
|
export declare class DbCommand implements Command {
|
|
@@ -6,6 +6,6 @@ export declare class DbCommand implements Command {
|
|
|
6
6
|
static new(cmds: Commands): DbCommand;
|
|
7
7
|
private static help;
|
|
8
8
|
private constructor();
|
|
9
|
-
parse(argv: string[], config:
|
|
9
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
10
10
|
help(error?: string): string | HelpError;
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbDrop implements Command {
|
|
4
4
|
static new(): DbDrop;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbExecute implements Command {
|
|
4
4
|
static new(): DbExecute;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbPull implements Command {
|
|
4
4
|
static new(): DbPull;
|
|
5
5
|
private static help;
|
|
6
6
|
private urlToDatasource;
|
|
7
|
-
parse(argv: string[], config:
|
|
7
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
8
8
|
private getWarningMessage;
|
|
9
9
|
help(error?: string): string | HelpError;
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbPush implements Command {
|
|
4
4
|
static new(): DbPush;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class DbSeed implements Command {
|
|
4
4
|
static new(): DbSeed;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import type { Command, Commands } from '@prisma/internals';
|
|
3
3
|
import { HelpError } from '@prisma/internals';
|
|
4
4
|
export declare class MigrateCommand implements Command {
|
|
@@ -6,6 +6,6 @@ export declare class MigrateCommand implements Command {
|
|
|
6
6
|
static new(cmds: Commands): MigrateCommand;
|
|
7
7
|
private static help;
|
|
8
8
|
private constructor();
|
|
9
|
-
parse(argv: string[], config:
|
|
9
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
10
10
|
help(error?: string): string | HelpError;
|
|
11
11
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateDeploy implements Command {
|
|
4
4
|
static new(): MigrateDeploy;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateDev implements Command {
|
|
4
4
|
static new(): MigrateDev;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
private confirmReset;
|
|
8
8
|
help(error?: string): string | HelpError;
|
|
9
9
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateDiff implements Command {
|
|
4
4
|
static new(): MigrateDiff;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateReset implements Command {
|
|
4
4
|
static new(): MigrateReset;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateResolve implements Command {
|
|
4
4
|
static new(): MigrateResolve;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
2
|
import { Command, HelpError } from '@prisma/internals';
|
|
3
3
|
export declare class MigrateStatus implements Command {
|
|
4
4
|
static new(): MigrateStatus;
|
|
5
5
|
private static help;
|
|
6
|
-
parse(argv: string[], config:
|
|
6
|
+
parse(argv: string[], config: PrismaConfigInternal): Promise<string | Error>;
|
|
7
7
|
help(error?: string): string | HelpError;
|
|
8
8
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/migrate",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.48",
|
|
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",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@prisma/engines-version": "6.4.0-22.6b762f68259116818698cc00c29790aebfc0e55e",
|
|
59
59
|
"prompts": "2.4.2",
|
|
60
|
-
"@prisma/config": "6.4.0-dev.
|
|
61
|
-
"@prisma/debug": "6.4.0-dev.
|
|
62
|
-
"@prisma/
|
|
63
|
-
"@prisma/
|
|
64
|
-
"@prisma/internals": "6.4.0-dev.
|
|
60
|
+
"@prisma/config": "6.4.0-dev.48",
|
|
61
|
+
"@prisma/debug": "6.4.0-dev.48",
|
|
62
|
+
"@prisma/generator-helper": "6.4.0-dev.48",
|
|
63
|
+
"@prisma/get-platform": "6.4.0-dev.48",
|
|
64
|
+
"@prisma/internals": "6.4.0-dev.48"
|
|
65
65
|
},
|
|
66
66
|
"files": [
|
|
67
67
|
"README.md",
|