@prisma/migrate 6.13.0-dev.27 → 6.13.0-dev.29
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-MC7EKKS7.js → chunk-HQCYUI4R.js} +5 -5
- package/dist/commands/DbPush.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +10 -10
package/dist/bin.js
CHANGED
|
@@ -43,7 +43,7 @@ var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
|
|
|
43
43
|
var import_chunk_AI6DH66U = require("./chunk-AI6DH66U.js");
|
|
44
44
|
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
45
45
|
var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
46
|
-
var
|
|
46
|
+
var import_chunk_HQCYUI4R = require("./chunk-HQCYUI4R.js");
|
|
47
47
|
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
48
48
|
var import_chunk_DYXEUKV3 = require("./chunk-DYXEUKV3.js");
|
|
49
49
|
var import_chunk_HFXUQT52 = require("./chunk-HFXUQT52.js");
|
|
@@ -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.29";
|
|
74
74
|
process.on("uncaughtException", (e) => {
|
|
75
75
|
console.log(e);
|
|
76
76
|
});
|
|
@@ -102,7 +102,7 @@ async function main() {
|
|
|
102
102
|
db: import_chunk_EJG7GKM7.DbCommand.new({
|
|
103
103
|
execute: import_chunk_QKNAWUSB.DbExecute.new(),
|
|
104
104
|
pull: import_chunk_NO7W63MC.DbPull.new(),
|
|
105
|
-
push:
|
|
105
|
+
push: import_chunk_HQCYUI4R.DbPush.new(),
|
|
106
106
|
// drop: DbDrop.new(),
|
|
107
107
|
seed: import_chunk_DYXEUKV3.DbSeed.new()
|
|
108
108
|
})
|
|
@@ -26,11 +26,11 @@ 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_HQCYUI4R_exports = {};
|
|
30
|
+
__export(chunk_HQCYUI4R_exports, {
|
|
31
31
|
DbPush: () => DbPush
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_HQCYUI4R_exports);
|
|
34
34
|
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
35
35
|
var import_chunk_2FXU5NZQ = require("./chunk-2FXU5NZQ.js");
|
|
36
36
|
var import_chunk_74LUB4XX = require("./chunk-74LUB4XX.js");
|
|
@@ -55,7 +55,7 @@ ${(0, import_chunk_SKRR5WT4.bold)("Options")}
|
|
|
55
55
|
--config Custom path to your Prisma config file
|
|
56
56
|
--schema Custom path to your Prisma schema
|
|
57
57
|
--accept-data-loss Ignore data loss warnings
|
|
58
|
-
--force-reset Force a reset of the database before push
|
|
58
|
+
--force-reset Force a reset of the database before push
|
|
59
59
|
--skip-generate Skip triggering generators (e.g. Prisma Client)
|
|
60
60
|
|
|
61
61
|
${(0, import_chunk_SKRR5WT4.bold)("Examples")}
|
|
@@ -216,7 +216,7 @@ The database is already in sync with the Prisma schema.
|
|
|
216
216
|
const rocketEmoji = process.platform === "win32" ? "" : "\u{1F680} ";
|
|
217
217
|
const migrationSuccessStdMessage = "Your database is now in sync with your Prisma schema.";
|
|
218
218
|
const migrationSuccessMongoMessage = "Your database indexes are now in sync with your Prisma schema.";
|
|
219
|
-
const provider =
|
|
219
|
+
const provider = adapter?.provider ?? schemaContext.primaryDatasource?.activeProvider;
|
|
220
220
|
process.stdout.write(
|
|
221
221
|
`
|
|
222
222
|
${rocketEmoji}${provider === "mongodb" ? migrationSuccessMongoMessage : migrationSuccessStdMessage} ${migrationTimeMessage}
|
package/dist/commands/DbPush.js
CHANGED
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbPush_exports = {};
|
|
20
20
|
__export(DbPush_exports, {
|
|
21
|
-
DbPush: () =>
|
|
21
|
+
DbPush: () => import_chunk_HQCYUI4R.DbPush
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbPush_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_HQCYUI4R = require("../chunk-HQCYUI4R.js");
|
|
25
25
|
var import_chunk_3WC4XD74 = require("../chunk-3WC4XD74.js");
|
|
26
26
|
var import_chunk_2FXU5NZQ = require("../chunk-2FXU5NZQ.js");
|
|
27
27
|
var import_chunk_74LUB4XX = require("../chunk-74LUB4XX.js");
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ __export(index_exports, {
|
|
|
22
22
|
DbDrop: () => import_chunk_Y2VAXPC7.DbDrop,
|
|
23
23
|
DbExecute: () => import_chunk_QKNAWUSB.DbExecute,
|
|
24
24
|
DbPull: () => import_chunk_NO7W63MC.DbPull,
|
|
25
|
-
DbPush: () =>
|
|
25
|
+
DbPush: () => import_chunk_HQCYUI4R.DbPush,
|
|
26
26
|
DbSeed: () => import_chunk_DYXEUKV3.DbSeed,
|
|
27
27
|
EngineResults: () => import_chunk_LVR7W5DD.EngineResults,
|
|
28
28
|
Migrate: () => import_chunk_RGXAEXQZ.Migrate,
|
|
@@ -63,7 +63,7 @@ var import_chunk_JFKDSUIE = require("./chunk-JFKDSUIE.js");
|
|
|
63
63
|
var import_chunk_AI6DH66U = require("./chunk-AI6DH66U.js");
|
|
64
64
|
var import_chunk_AHJ2N6BJ = require("./chunk-AHJ2N6BJ.js");
|
|
65
65
|
var import_chunk_LGYRZ6CV = require("./chunk-LGYRZ6CV.js");
|
|
66
|
-
var
|
|
66
|
+
var import_chunk_HQCYUI4R = require("./chunk-HQCYUI4R.js");
|
|
67
67
|
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
68
68
|
var import_chunk_DYXEUKV3 = require("./chunk-DYXEUKV3.js");
|
|
69
69
|
var import_chunk_HFXUQT52 = require("./chunk-HFXUQT52.js");
|
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.29",
|
|
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.29"
|
|
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-35.361e86d0ea4987e9f53a565309b3eed797a6bcbd",
|
|
58
58
|
"prompts": "2.4.2",
|
|
59
|
-
"@prisma/client-generator-registry": "6.13.0-dev.
|
|
60
|
-
"@prisma/driver-adapter-utils": "6.13.0-dev.
|
|
61
|
-
"@prisma/
|
|
62
|
-
"@prisma/generator": "6.13.0-dev.
|
|
63
|
-
"@prisma/get-platform": "6.13.0-dev.
|
|
64
|
-
"@prisma/
|
|
65
|
-
"@prisma/
|
|
59
|
+
"@prisma/client-generator-registry": "6.13.0-dev.29",
|
|
60
|
+
"@prisma/driver-adapter-utils": "6.13.0-dev.29",
|
|
61
|
+
"@prisma/config": "6.13.0-dev.29",
|
|
62
|
+
"@prisma/generator": "6.13.0-dev.29",
|
|
63
|
+
"@prisma/get-platform": "6.13.0-dev.29",
|
|
64
|
+
"@prisma/internals": "6.13.0-dev.29",
|
|
65
|
+
"@prisma/debug": "6.13.0-dev.29"
|
|
66
66
|
},
|
|
67
67
|
"files": [
|
|
68
68
|
"README.md",
|