@prisma/migrate 6.13.0-dev.20 → 6.13.0-dev.22
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
CHANGED
|
@@ -70,7 +70,7 @@ var import_config = require("@prisma/config");
|
|
|
70
70
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
71
71
|
var import_engines_version = require("@prisma/engines-version");
|
|
72
72
|
var import_internals = require("@prisma/internals");
|
|
73
|
-
var version = "6.13.0-dev.
|
|
73
|
+
var version = "6.13.0-dev.22";
|
|
74
74
|
process.on("uncaughtException", (e) => {
|
|
75
75
|
console.log(e);
|
|
76
76
|
});
|
|
@@ -93,15 +93,7 @@ export declare class SchemaEngineWasm implements SchemaEngine {
|
|
|
93
93
|
* By default, we output a human-readable diff. If you want an executable script, pass the "script": true param.
|
|
94
94
|
*/
|
|
95
95
|
migrateDiff(input: SchemaEngineInput<'diff'>): Promise<{
|
|
96
|
-
exitCode: number;
|
|
97
|
-
* Compares two databases schemas from two arbitrary sources,
|
|
98
|
-
* and display the difference as either a human-readable summary,
|
|
99
|
-
* or an executable script that can be passed to dbExecute.
|
|
100
|
-
* Connection to a shadow database is only necessary when either the from or the to params is a migrations directory.
|
|
101
|
-
* Diffs have a direction. Which source is from and which is to matters.
|
|
102
|
-
* The resulting diff should be thought of as a migration from the schema in `args.from` to the schema in `args.to`.
|
|
103
|
-
* By default, we output a human-readable diff. If you want an executable script, pass the "script": true param.
|
|
104
|
-
*/
|
|
96
|
+
exitCode: number;
|
|
105
97
|
}>;
|
|
106
98
|
/**
|
|
107
99
|
* Mark a migration as applied in the migrations table.
|
|
@@ -70,14 +70,14 @@ export declare namespace EngineArgs {
|
|
|
70
70
|
*/
|
|
71
71
|
export interface ApplyMigrationsInput {
|
|
72
72
|
migrationsList: MigrateTypes.MigrationList;
|
|
73
|
-
filters: MigrateTypes.SchemaFilter
|
|
73
|
+
filters: MigrateTypes.SchemaFilter;
|
|
74
74
|
}
|
|
75
75
|
export interface CreateMigrationInput {
|
|
76
76
|
migrationsList: MigrateTypes.MigrationList;
|
|
77
77
|
schema: MigrateTypes.SchemasContainer;
|
|
78
78
|
draft: boolean;
|
|
79
79
|
migrationName: string;
|
|
80
|
-
filters: MigrateTypes.SchemaFilter
|
|
80
|
+
filters: MigrateTypes.SchemaFilter;
|
|
81
81
|
}
|
|
82
82
|
export interface CreateDatabaseInput {
|
|
83
83
|
datasource: MigrateTypes.DatasourceParam;
|
|
@@ -114,12 +114,12 @@ export declare namespace EngineArgs {
|
|
|
114
114
|
}
|
|
115
115
|
export interface DevDiagnosticInput {
|
|
116
116
|
migrationsList: MigrateTypes.MigrationList;
|
|
117
|
-
filters: MigrateTypes.SchemaFilter
|
|
117
|
+
filters: MigrateTypes.SchemaFilter;
|
|
118
118
|
}
|
|
119
119
|
export interface DiagnoseMigrationHistoryInput {
|
|
120
120
|
migrationsList: MigrateTypes.MigrationList;
|
|
121
121
|
optInToShadowDatabase: boolean;
|
|
122
|
-
filters: MigrateTypes.SchemaFilter
|
|
122
|
+
filters: MigrateTypes.SchemaFilter;
|
|
123
123
|
}
|
|
124
124
|
export interface EnsureConnectionValidityInput {
|
|
125
125
|
datasource: MigrateTypes.DatasourceParam;
|
|
@@ -127,7 +127,7 @@ export declare namespace EngineArgs {
|
|
|
127
127
|
export interface EvaluateDataLossInput {
|
|
128
128
|
migrationsList: MigrateTypes.MigrationList;
|
|
129
129
|
schema: MigrateTypes.SchemasContainer;
|
|
130
|
-
filters: MigrateTypes.SchemaFilter
|
|
130
|
+
filters: MigrateTypes.SchemaFilter;
|
|
131
131
|
}
|
|
132
132
|
export interface ListMigrationDirectoriesInput {
|
|
133
133
|
migrationsDirectoryPath: string;
|
|
@@ -153,12 +153,12 @@ export declare namespace EngineArgs {
|
|
|
153
153
|
script: boolean;
|
|
154
154
|
shadowDatabaseUrl: string | null;
|
|
155
155
|
exitCode: boolean | null;
|
|
156
|
-
filters: MigrateTypes.SchemaFilter
|
|
156
|
+
filters: MigrateTypes.SchemaFilter;
|
|
157
157
|
}
|
|
158
158
|
export interface SchemaPushInput {
|
|
159
159
|
schema: MigrateTypes.SchemasContainer;
|
|
160
160
|
force: boolean;
|
|
161
|
-
filters: MigrateTypes.SchemaFilter
|
|
161
|
+
filters: MigrateTypes.SchemaFilter;
|
|
162
162
|
}
|
|
163
163
|
export interface IntrospectSqlParams {
|
|
164
164
|
url: string;
|
|
@@ -169,7 +169,7 @@ export declare namespace EngineArgs {
|
|
|
169
169
|
source: string;
|
|
170
170
|
}
|
|
171
171
|
export interface MigrateResetInput {
|
|
172
|
-
filter: MigrateTypes.SchemaFilter
|
|
172
|
+
filter: MigrateTypes.SchemaFilter;
|
|
173
173
|
}
|
|
174
174
|
export {};
|
|
175
175
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/migrate",
|
|
3
|
-
"version": "6.13.0-dev.
|
|
3
|
+
"version": "6.13.0-dev.22",
|
|
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",
|
|
@@ -48,21 +48,21 @@
|
|
|
48
48
|
"ts-pattern": "5.6.2",
|
|
49
49
|
"typescript": "5.4.5",
|
|
50
50
|
"wrangler": "3.111.0",
|
|
51
|
-
"@prisma/adapter-libsql": "6.13.0-dev.
|
|
51
|
+
"@prisma/adapter-libsql": "6.13.0-dev.22"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@prisma/internals": "*"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@prisma/engines-version": "6.13.0-
|
|
57
|
+
"@prisma/engines-version": "6.13.0-29.6fa05d5450d42acad5f90a1d02c7d1f4fc88d300",
|
|
58
58
|
"prompts": "2.4.2",
|
|
59
|
-
"@prisma/
|
|
60
|
-
"@prisma/client-generator-registry": "6.13.0-dev.
|
|
61
|
-
"@prisma/
|
|
62
|
-
"@prisma/
|
|
63
|
-
"@prisma/
|
|
64
|
-
"@prisma/
|
|
65
|
-
"@prisma/internals": "6.13.0-dev.
|
|
59
|
+
"@prisma/config": "6.13.0-dev.22",
|
|
60
|
+
"@prisma/client-generator-registry": "6.13.0-dev.22",
|
|
61
|
+
"@prisma/debug": "6.13.0-dev.22",
|
|
62
|
+
"@prisma/driver-adapter-utils": "6.13.0-dev.22",
|
|
63
|
+
"@prisma/generator": "6.13.0-dev.22",
|
|
64
|
+
"@prisma/get-platform": "6.13.0-dev.22",
|
|
65
|
+
"@prisma/internals": "6.13.0-dev.22"
|
|
66
66
|
},
|
|
67
67
|
"files": [
|
|
68
68
|
"README.md",
|