@prisma/migrate 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.4 → 6.6.0-integration-mcp.1
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 +14 -14
- package/dist/{chunk-EJUXYFV3.js → chunk-BYRRPHGM.js} +206 -3
- package/dist/{chunk-CKRN45WP.js → chunk-FJ22R36R.js} +6 -6
- package/dist/{chunk-B4SUSDC2.js → chunk-GBMQW4HZ.js} +6 -6
- package/dist/{chunk-UWQXMKQO.js → chunk-KF6K4EE5.js} +297 -2135
- package/dist/{chunk-O723A5JE.js → chunk-LVDALRAV.js} +6 -6
- package/dist/{chunk-L53C3AX3.js → chunk-PPOA6UUS.js} +296 -2134
- package/dist/{chunk-TGV6QGEF.js → chunk-QVMYNWAN.js} +191 -37
- package/dist/{chunk-5LKIRKDL.js → chunk-XPJHNEKB.js} +12 -12
- package/dist/{chunk-QJT4H5N6.js → chunk-ZJ4IDCRR.js} +4 -4
- package/dist/commands/DbPull.js +3 -3
- package/dist/commands/DbSeed.js +3 -3
- package/dist/commands/MigrateDev.js +3 -3
- package/dist/commands/MigrateDiff.js +3 -3
- package/dist/commands/MigrateReset.js +3 -3
- package/dist/index.js +14 -17
- package/dist/internals/src/cli/directoryConfig.d.ts +1 -1
- package/dist/internals/src/cli/getSchema.d.ts +3 -28
- package/dist/internals/src/cli/hashes.d.ts +1 -2
- package/dist/internals/src/cli/schemaContext.d.ts +4 -3
- package/dist/internals/src/index.d.ts +1 -1
- package/dist/migrate/src/index.d.ts +0 -1
- package/dist/{multipart-parser-ASKQAOL4-WZ47HU6G.js → multipart-parser-AOASR4DL-AXIJXW2B.js} +702 -228
- package/dist/{multipart-parser-QCI3Y5IB.js → multipart-parser-GQA7KJYT.js} +687 -213
- package/dist/open-KDTCMDK7.js +530 -0
- package/dist/utils/seed.js +3 -3
- package/dist/utils/setupCockroach.js +2 -2
- package/dist/utils/setupMSSQL.js +21636 -30315
- package/dist/utils/setupMongo.js +3327 -834
- package/dist/utils/setupPostgres.js +2 -2
- package/package.json +8 -8
- package/dist/chunk-GKDFIHM2.js +0 -45
- package/dist/migrate/src/utils/getSchemaPathAndPrint.d.ts +0 -10
- package/dist/utils/getSchemaPathAndPrint.js +0 -27
|
@@ -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_LVDALRAV_exports = {};
|
|
30
|
+
__export(chunk_LVDALRAV_exports, {
|
|
31
31
|
MigrateReset: () => MigrateReset
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(chunk_LVDALRAV_exports);
|
|
34
|
+
var import_chunk_XPJHNEKB = require("./chunk-XPJHNEKB.js");
|
|
35
35
|
var import_chunk_KRQEFTDT = require("./chunk-KRQEFTDT.js");
|
|
36
36
|
var import_chunk_PDCXVUV3 = require("./chunk-PDCXVUV3.js");
|
|
37
37
|
var import_chunk_3WC4XD74 = require("./chunk-3WC4XD74.js");
|
|
@@ -147,10 +147,10 @@ ${(0, import_chunk_KRQEFTDT.printFilesFromMigrationIds)("migrations", migrationI
|
|
|
147
147
|
await migrate.tryToRunGenerate(datasourceInfo);
|
|
148
148
|
}
|
|
149
149
|
if (!process.env.PRISMA_MIGRATE_SKIP_SEED && !args["--skip-seed"]) {
|
|
150
|
-
const seedCommandFromPkgJson = await (0,
|
|
150
|
+
const seedCommandFromPkgJson = await (0, import_chunk_XPJHNEKB.getSeedCommandFromPackageJson)(process.cwd());
|
|
151
151
|
if (seedCommandFromPkgJson) {
|
|
152
152
|
process.stdout.write("\n");
|
|
153
|
-
const successfulSeeding = await (0,
|
|
153
|
+
const successfulSeeding = await (0, import_chunk_XPJHNEKB.executeSeedCommand)({ commandFromConfig: seedCommandFromPkgJson });
|
|
154
154
|
if (successfulSeeding) {
|
|
155
155
|
process.stdout.write(`
|
|
156
156
|
${process.platform === "win32" ? "" : "\u{1F331} "}The seed command has been executed.
|