@prisma/migrate 6.4.0-dev.6 → 6.4.0-dev.60
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/CLI.js +3 -3
- package/dist/Migrate.js +4 -4
- package/dist/SchemaEngine.js +4 -4
- package/dist/bin.js +61 -47
- package/dist/{chunk-HAJNCOW7.js → chunk-26XQQ4AG.js} +25 -23
- package/dist/{chunk-I63N54YI.js → chunk-2RSEPJFX.js} +15 -13
- package/dist/{chunk-77RYI3ZW.js → chunk-4B2LXK4R.js} +14 -12
- package/dist/{chunk-CK5VLKFM.js → chunk-4UJBOCZJ.js} +7 -6
- package/dist/{chunk-43RWRQLU.js → chunk-5HZLCY6X.js} +14 -12
- package/dist/{chunk-AMRGQNRR.js → chunk-75EIHNAH.js} +6 -6
- package/dist/{chunk-Q3SQU7C6.js → chunk-7S3Q4MCN.js} +4 -4
- package/dist/{chunk-G66QFMM5.js → chunk-AOX7CJAS.js} +14 -12
- package/dist/{chunk-GRGGAY6L.js → chunk-CUDKD32S.js} +159 -5
- package/dist/{chunk-CNAS3YE2.js → chunk-DUCG3NRP.js} +76 -42
- package/dist/{chunk-JESW2ENL.js → chunk-FF3526PX.js} +14 -12
- package/dist/{chunk-JZ6FKTWG.js → chunk-FUSFURVP.js} +6 -6
- package/dist/{chunk-CSUAUCRR.js → chunk-GCTCQLOF.js} +15 -13
- package/dist/{chunk-7QAR4NT3.js → chunk-K44VNAFW.js} +15 -13
- package/dist/{chunk-KZEXQFQA.js → chunk-KK5B5L6X.js} +77 -43
- package/dist/{chunk-EYA6AFSF.js → chunk-M5YNQ2NP.js} +5 -5
- package/dist/{chunk-NJUAN6V2.js → chunk-O4BT6W33.js} +7 -6
- package/dist/{chunk-ZKWJDQMB.js → chunk-UVNSK22K.js} +7 -7
- package/dist/{chunk-WJT3IOMB.js → chunk-X6XGFLEF.js} +11 -9
- package/dist/{chunk-E2XKFV2C.js → chunk-YD7GG4WS.js} +8 -6
- package/dist/{chunk-JTNVQIRB.js → chunk-YWWOSXMY.js} +6 -6
- package/dist/commands/DbCommand.js +3 -3
- package/dist/commands/DbDrop.js +3 -3
- package/dist/commands/DbExecute.js +5 -5
- package/dist/commands/DbPull.js +5 -5
- package/dist/commands/DbPush.js +6 -6
- package/dist/commands/DbSeed.js +3 -3
- package/dist/commands/MigrateCommand.js +3 -3
- package/dist/commands/MigrateDeploy.js +6 -6
- package/dist/commands/MigrateDev.js +6 -6
- package/dist/commands/MigrateDiff.js +5 -5
- package/dist/commands/MigrateReset.js +6 -6
- package/dist/commands/MigrateResolve.js +6 -6
- package/dist/commands/MigrateStatus.js +6 -6
- package/dist/index.js +54 -54
- package/dist/internals/src/cli/checkUnsupportedDataProxy.d.ts +2 -1
- package/dist/internals/src/cli/getSchema.d.ts +20 -37
- package/dist/internals/src/cli/hashes.d.ts +2 -1
- package/dist/internals/src/cli/types.d.ts +2 -1
- package/dist/internals/src/index.d.ts +2 -1
- package/dist/internals/src/utils/loadEnvFile.d.ts +4 -2
- package/dist/internals/src/utils/toSchemasContainer.d.ts +1 -1
- package/dist/migrate/src/CLI.d.ts +2 -1
- package/dist/migrate/src/commands/DbCommand.d.ts +2 -1
- package/dist/migrate/src/commands/DbDrop.d.ts +2 -1
- package/dist/migrate/src/commands/DbExecute.d.ts +2 -1
- package/dist/migrate/src/commands/DbPull.d.ts +2 -1
- package/dist/migrate/src/commands/DbPush.d.ts +2 -1
- package/dist/migrate/src/commands/DbSeed.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateCommand.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateDeploy.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateDev.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateDiff.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateReset.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateResolve.d.ts +2 -1
- package/dist/migrate/src/commands/MigrateStatus.d.ts +2 -1
- package/dist/migrate/src/utils/getSchemaPathAndPrint.d.ts +3 -3
- package/dist/migrate/src/utils/setupPostgres.d.ts +1 -1
- package/dist/utils/getDatabaseVersionSafe.js +4 -4
- package/dist/utils/getSchemaPathAndPrint.js +4 -4
- package/dist/utils/introspectSql.js +3 -3
- package/dist/utils/setupPostgres.js +4 -8
- package/dist/utils/spinner.js +3 -3
- package/package.json +7 -6
|
@@ -26,16 +26,16 @@ 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_KK5B5L6X_exports = {};
|
|
30
|
+
__export(chunk_KK5B5L6X_exports, {
|
|
31
31
|
MigrateDiff: () => MigrateDiff,
|
|
32
32
|
init_MigrateDiff: () => init_MigrateDiff
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_KK5B5L6X_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");
|
|
38
|
-
var
|
|
38
|
+
var import_chunk_UVNSK22K = require("./chunk-UVNSK22K.js");
|
|
39
39
|
var import_chunk_CQQQ436N = require("./chunk-CQQQ436N.js");
|
|
40
40
|
var import_chunk_6TE2RIPN = require("./chunk-6TE2RIPN.js");
|
|
41
41
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
@@ -6164,6 +6164,7 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6164
6164
|
__export2(index_exports, {
|
|
6165
6165
|
CompositeFilesResolver: () => CompositeFilesResolver,
|
|
6166
6166
|
InMemoryFilesResolver: () => InMemoryFilesResolver,
|
|
6167
|
+
ensureType: () => ensureType2,
|
|
6167
6168
|
loadRelatedSchemaFiles: () => loadRelatedSchemaFiles,
|
|
6168
6169
|
loadSchemaFiles: () => loadSchemaFiles2,
|
|
6169
6170
|
realFsResolver: () => realFsResolver,
|
|
@@ -6394,6 +6395,24 @@ var require_dist = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
6394
6395
|
}
|
|
6395
6396
|
return void 0;
|
|
6396
6397
|
}
|
|
6398
|
+
var import_promises3 = __toESM22((0, import_chunk_WWAWV7DQ.__require)("node:fs/promises"));
|
|
6399
|
+
async function ensureType2(entryPath, expectedType) {
|
|
6400
|
+
try {
|
|
6401
|
+
const pathStat = await import_promises3.default.stat(entryPath);
|
|
6402
|
+
if (expectedType === "file" && pathStat.isFile()) {
|
|
6403
|
+
return void 0;
|
|
6404
|
+
}
|
|
6405
|
+
if (expectedType === "directory" && pathStat.isDirectory()) {
|
|
6406
|
+
return void 0;
|
|
6407
|
+
}
|
|
6408
|
+
return { kind: "WrongType", path: entryPath, expectedTypes: [expectedType] };
|
|
6409
|
+
} catch (e) {
|
|
6410
|
+
if (e.code === "ENOENT") {
|
|
6411
|
+
return { kind: "NotFound", path: entryPath, expectedType };
|
|
6412
|
+
}
|
|
6413
|
+
throw e;
|
|
6414
|
+
}
|
|
6415
|
+
}
|
|
6397
6416
|
}
|
|
6398
6417
|
});
|
|
6399
6418
|
async function findUp(name, {
|
|
@@ -11543,7 +11562,7 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11543
11562
|
"../internals/package.json"(exports, module2) {
|
|
11544
11563
|
module2.exports = {
|
|
11545
11564
|
name: "@prisma/internals",
|
|
11546
|
-
version: "6.4.0-dev.
|
|
11565
|
+
version: "6.4.0-dev.60",
|
|
11547
11566
|
description: "This package is intended for Prisma's internal use",
|
|
11548
11567
|
main: "dist/index.js",
|
|
11549
11568
|
types: "dist/index.d.ts",
|
|
@@ -11623,12 +11642,13 @@ var require_package = (0, import_chunk_WWAWV7DQ.__commonJS)({
|
|
|
11623
11642
|
yarn: "1.22.22"
|
|
11624
11643
|
},
|
|
11625
11644
|
dependencies: {
|
|
11645
|
+
"@prisma/config": "workspace:*",
|
|
11626
11646
|
"@prisma/debug": "workspace:*",
|
|
11627
11647
|
"@prisma/engines": "workspace:*",
|
|
11628
11648
|
"@prisma/fetch-engine": "workspace:*",
|
|
11629
11649
|
"@prisma/generator-helper": "workspace:*",
|
|
11630
11650
|
"@prisma/get-platform": "workspace:*",
|
|
11631
|
-
"@prisma/prisma-schema-wasm": "6.4.0-
|
|
11651
|
+
"@prisma/prisma-schema-wasm": "6.4.0-29.a9055b89e58b4b5bfb59600785423b1db3d0e75d",
|
|
11632
11652
|
"@prisma/schema-files-loader": "workspace:*",
|
|
11633
11653
|
arg: "5.0.2",
|
|
11634
11654
|
prompts: "2.4.2"
|
|
@@ -11910,8 +11930,8 @@ var init_engine_commands = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
11910
11930
|
init_getConfig();
|
|
11911
11931
|
}
|
|
11912
11932
|
});
|
|
11913
|
-
async function getSchemaWithPath(schemaPathFromArgs, { cwd = process.cwd(), argumentName = "--schema" } = {}) {
|
|
11914
|
-
const result = await getSchemaWithPathInternal(schemaPathFromArgs, { cwd, argumentName });
|
|
11933
|
+
async function getSchemaWithPath(schemaPathFromArgs, schemaPathFromConfig, { cwd = process.cwd(), argumentName = "--schema" } = {}) {
|
|
11934
|
+
const result = await getSchemaWithPathInternal(schemaPathFromArgs, schemaPathFromConfig, { cwd, argumentName });
|
|
11915
11935
|
if (result.ok) {
|
|
11916
11936
|
return result.schema;
|
|
11917
11937
|
}
|
|
@@ -11919,7 +11939,7 @@ async function getSchemaWithPath(schemaPathFromArgs, { cwd = process.cwd(), argu
|
|
|
11919
11939
|
}
|
|
11920
11940
|
async function readSchemaFromSingleFile(schemaPath) {
|
|
11921
11941
|
debug2("Reading schema from single file", schemaPath);
|
|
11922
|
-
const typeError = await ensureType(schemaPath, "file");
|
|
11942
|
+
const typeError = await (0, import_schema_files_loader.ensureType)(schemaPath, "file");
|
|
11923
11943
|
if (typeError) {
|
|
11924
11944
|
return { ok: false, error: typeError };
|
|
11925
11945
|
}
|
|
@@ -11932,7 +11952,7 @@ async function readSchemaFromSingleFile(schemaPath) {
|
|
|
11932
11952
|
}
|
|
11933
11953
|
async function readSchemaFromDirectory(schemaPath) {
|
|
11934
11954
|
debug2("Reading schema from multiple files", schemaPath);
|
|
11935
|
-
const typeError = await ensureType(schemaPath, "directory");
|
|
11955
|
+
const typeError = await (0, import_schema_files_loader.ensureType)(schemaPath, "directory");
|
|
11936
11956
|
if (typeError) {
|
|
11937
11957
|
return { ok: false, error: typeError };
|
|
11938
11958
|
}
|
|
@@ -11948,23 +11968,6 @@ async function readSchemaFromDirectory(schemaPath) {
|
|
|
11948
11968
|
}
|
|
11949
11969
|
return { ok: true, schema: { schemaPath, schemaRootDir: schemaPath, schemas: files } };
|
|
11950
11970
|
}
|
|
11951
|
-
async function ensureType(entryPath, expectedType) {
|
|
11952
|
-
try {
|
|
11953
|
-
const pathStat = await stat(entryPath);
|
|
11954
|
-
if (expectedType === "file" && pathStat.isFile()) {
|
|
11955
|
-
return void 0;
|
|
11956
|
-
}
|
|
11957
|
-
if (expectedType === "directory" && pathStat.isDirectory()) {
|
|
11958
|
-
return void 0;
|
|
11959
|
-
}
|
|
11960
|
-
return { kind: "WrongType", path: entryPath, expectedTypes: [expectedType] };
|
|
11961
|
-
} catch (e) {
|
|
11962
|
-
if (e.code === "ENOENT") {
|
|
11963
|
-
return { kind: "NotFound", path: entryPath, expectedType };
|
|
11964
|
-
}
|
|
11965
|
-
throw e;
|
|
11966
|
-
}
|
|
11967
|
-
}
|
|
11968
11971
|
async function readSchemaFromFileOrDirectory(schemaPath) {
|
|
11969
11972
|
let stats;
|
|
11970
11973
|
try {
|
|
@@ -11983,7 +11986,7 @@ async function readSchemaFromFileOrDirectory(schemaPath) {
|
|
|
11983
11986
|
}
|
|
11984
11987
|
return { ok: false, error: { kind: "WrongType", path: schemaPath, expectedTypes: ["file", "directory"] } };
|
|
11985
11988
|
}
|
|
11986
|
-
async function getSchemaWithPathInternal(schemaPathFromArgs, { cwd, argumentName }) {
|
|
11989
|
+
async function getSchemaWithPathInternal(schemaPathFromArgs, schemaPathFromConfig, { cwd, argumentName }) {
|
|
11987
11990
|
if (schemaPathFromArgs) {
|
|
11988
11991
|
const absPath = import_path.default.resolve(cwd, schemaPathFromArgs);
|
|
11989
11992
|
const customSchemaResult = await readSchemaFromFileOrDirectory(absPath);
|
|
@@ -11997,6 +12000,10 @@ async function getSchemaWithPathInternal(schemaPathFromArgs, { cwd, argumentName
|
|
|
11997
12000
|
}
|
|
11998
12001
|
return customSchemaResult;
|
|
11999
12002
|
}
|
|
12003
|
+
const prismaConfigResult = await readSchemaFromPrismaConfigBasedLocation(schemaPathFromConfig);
|
|
12004
|
+
if (prismaConfigResult.ok) {
|
|
12005
|
+
return prismaConfigResult;
|
|
12006
|
+
}
|
|
12000
12007
|
const pkgJsonResult = await getSchemaFromPackageJson(cwd);
|
|
12001
12008
|
if (pkgJsonResult.ok) {
|
|
12002
12009
|
return pkgJsonResult;
|
|
@@ -12052,6 +12059,31 @@ async function getPrismaConfigFromPackageJson(cwd) {
|
|
|
12052
12059
|
packagePath: pkgJson.path
|
|
12053
12060
|
};
|
|
12054
12061
|
}
|
|
12062
|
+
async function readSchemaFromPrismaConfigBasedLocation(schemaPathFromConfig) {
|
|
12063
|
+
if (!schemaPathFromConfig) {
|
|
12064
|
+
return {
|
|
12065
|
+
ok: false,
|
|
12066
|
+
error: { kind: "PrismaConfigNotConfigured" }
|
|
12067
|
+
};
|
|
12068
|
+
}
|
|
12069
|
+
let schemaResult;
|
|
12070
|
+
if (schemaPathFromConfig.kind === "single") {
|
|
12071
|
+
schemaResult = await readSchemaFromSingleFile(schemaPathFromConfig.filePath);
|
|
12072
|
+
if (!schemaResult.ok) {
|
|
12073
|
+
throw new Error(
|
|
12074
|
+
`Could not load schema from file \`${schemaPathFromConfig.filePath}\` provided by "prisma.config.ts"\`: ${renderLookupError(schemaResult.error)}`
|
|
12075
|
+
);
|
|
12076
|
+
}
|
|
12077
|
+
} else {
|
|
12078
|
+
schemaResult = await readSchemaFromDirectory(schemaPathFromConfig.folderPath);
|
|
12079
|
+
if (!schemaResult.ok) {
|
|
12080
|
+
throw new Error(
|
|
12081
|
+
`Could not load schema from folder \`${schemaPathFromConfig.folderPath}\` provided by "prisma.config.ts"\`: ${renderLookupError(schemaResult.error)}`
|
|
12082
|
+
);
|
|
12083
|
+
}
|
|
12084
|
+
}
|
|
12085
|
+
return schemaResult;
|
|
12086
|
+
}
|
|
12055
12087
|
async function getSchemaFromPackageJson(cwd) {
|
|
12056
12088
|
const prismaConfig = await getPrismaConfigFromPackageJson(cwd);
|
|
12057
12089
|
debug2("prismaConfig", prismaConfig);
|
|
@@ -12165,7 +12197,7 @@ var init_MigrateDiff = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
12165
12197
|
import_fs_jetpack = (0, import_chunk_WWAWV7DQ.__toESM)(require_main());
|
|
12166
12198
|
(0, import_chunk_6TE2RIPN.init_colors)();
|
|
12167
12199
|
init_getSchema();
|
|
12168
|
-
(0,
|
|
12200
|
+
(0, import_chunk_UVNSK22K.init_Migrate)();
|
|
12169
12201
|
(0, import_chunk_TKAGMA5K.init_captureStdout)();
|
|
12170
12202
|
debug3 = (0, import_debug3.default)("prisma:migrate:diff");
|
|
12171
12203
|
helpOptions = (0, import_internals.format)(
|
|
@@ -12176,6 +12208,7 @@ var init_MigrateDiff = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
12176
12208
|
${(0, import_chunk_6TE2RIPN.bold)("Options")}
|
|
12177
12209
|
|
|
12178
12210
|
-h, --help Display this help message
|
|
12211
|
+
--config Custom path to your Prisma config file
|
|
12179
12212
|
-o, --output Writes to a file instead of stdout
|
|
12180
12213
|
|
|
12181
12214
|
${(0, import_chunk_6TE2RIPN.italic)("From and To inputs (1 `--from-...` and 1 `--to-...` must be provided):")}
|
|
@@ -12209,7 +12242,7 @@ ${(0, import_chunk_6TE2RIPN.bold)("Flags")}
|
|
|
12209
12242
|
static new() {
|
|
12210
12243
|
return new _MigrateDiff2();
|
|
12211
12244
|
}
|
|
12212
|
-
async parse(argv) {
|
|
12245
|
+
async parse(argv, config) {
|
|
12213
12246
|
const args = (0, import_internals.arg)(
|
|
12214
12247
|
argv,
|
|
12215
12248
|
{
|
|
@@ -12235,14 +12268,15 @@ ${(0, import_chunk_6TE2RIPN.bold)("Flags")}
|
|
|
12235
12268
|
"--shadow-database-url": String,
|
|
12236
12269
|
"--script": Boolean,
|
|
12237
12270
|
"--exit-code": Boolean,
|
|
12238
|
-
"--telemetry-information": String
|
|
12271
|
+
"--telemetry-information": String,
|
|
12272
|
+
"--config": String
|
|
12239
12273
|
},
|
|
12240
12274
|
false
|
|
12241
12275
|
);
|
|
12242
12276
|
if ((0, import_internals.isError)(args)) {
|
|
12243
12277
|
return this.help(args.message);
|
|
12244
12278
|
}
|
|
12245
|
-
await (0, import_internals.checkUnsupportedDataProxy)("migrate diff", args, false);
|
|
12279
|
+
await (0, import_internals.checkUnsupportedDataProxy)("migrate diff", args, config.schema, false);
|
|
12246
12280
|
if (args["--help"]) {
|
|
12247
12281
|
return this.help();
|
|
12248
12282
|
}
|
|
@@ -12269,17 +12303,17 @@ ${(0, import_chunk_6TE2RIPN.bold)("Flags")}
|
|
|
12269
12303
|
tag: "empty"
|
|
12270
12304
|
};
|
|
12271
12305
|
} else if (args["--from-schema-datasource"]) {
|
|
12272
|
-
await (0, import_internals.loadEnvFile)({ schemaPath: args["--from-schema-datasource"], printMessage: false });
|
|
12273
|
-
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--from-schema-datasource"]), {
|
|
12306
|
+
await (0, import_internals.loadEnvFile)({ schemaPath: args["--from-schema-datasource"], printMessage: false, config });
|
|
12307
|
+
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--from-schema-datasource"]), config.schema, {
|
|
12274
12308
|
argumentName: "--from-schema-datasource"
|
|
12275
12309
|
});
|
|
12276
|
-
const
|
|
12310
|
+
const engineConfig = await (0, import_internals.getConfig)({ datamodel: schema.schemas });
|
|
12277
12311
|
from = {
|
|
12278
12312
|
tag: "schemaDatasource",
|
|
12279
|
-
...(0, import_internals.toSchemasWithConfigDir)(schema,
|
|
12313
|
+
...(0, import_internals.toSchemasWithConfigDir)(schema, engineConfig)
|
|
12280
12314
|
};
|
|
12281
12315
|
} else if (args["--from-schema-datamodel"]) {
|
|
12282
|
-
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--from-schema-datamodel"]), {
|
|
12316
|
+
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--from-schema-datamodel"]), config.schema, {
|
|
12283
12317
|
argumentName: "--from-schema-datamodel"
|
|
12284
12318
|
});
|
|
12285
12319
|
from = {
|
|
@@ -12309,17 +12343,17 @@ ${(0, import_chunk_6TE2RIPN.bold)("Flags")}
|
|
|
12309
12343
|
tag: "empty"
|
|
12310
12344
|
};
|
|
12311
12345
|
} else if (args["--to-schema-datasource"]) {
|
|
12312
|
-
await (0, import_internals.loadEnvFile)({ schemaPath: args["--to-schema-datasource"], printMessage: false });
|
|
12313
|
-
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--to-schema-datasource"]), {
|
|
12346
|
+
await (0, import_internals.loadEnvFile)({ schemaPath: args["--to-schema-datasource"], printMessage: false, config });
|
|
12347
|
+
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--to-schema-datasource"]), config.schema, {
|
|
12314
12348
|
argumentName: "--to-schema-datasource"
|
|
12315
12349
|
});
|
|
12316
|
-
const
|
|
12350
|
+
const engineConfig = await (0, import_internals.getConfig)({ datamodel: schema.schemas });
|
|
12317
12351
|
to = {
|
|
12318
12352
|
tag: "schemaDatasource",
|
|
12319
|
-
...(0, import_internals.toSchemasWithConfigDir)(schema,
|
|
12353
|
+
...(0, import_internals.toSchemasWithConfigDir)(schema, engineConfig)
|
|
12320
12354
|
};
|
|
12321
12355
|
} else if (args["--to-schema-datamodel"]) {
|
|
12322
|
-
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--to-schema-datamodel"]), {
|
|
12356
|
+
const schema = await getSchemaWithPath(import_path2.default.resolve(args["--to-schema-datamodel"]), config.schema, {
|
|
12323
12357
|
argumentName: "--to-schema-datamodel"
|
|
12324
12358
|
});
|
|
12325
12359
|
to = {
|
|
@@ -12343,7 +12377,7 @@ ${(0, import_chunk_6TE2RIPN.bold)("Flags")}
|
|
|
12343
12377
|
url: `file:${d1Database}`
|
|
12344
12378
|
};
|
|
12345
12379
|
}
|
|
12346
|
-
const migrate = new
|
|
12380
|
+
const migrate = new import_chunk_UVNSK22K.Migrate();
|
|
12347
12381
|
const captureStdout = new import_chunk_TKAGMA5K.CaptureStdout();
|
|
12348
12382
|
const outputPath = args["--output"];
|
|
12349
12383
|
const isOutputDefined = Boolean(outputPath);
|
|
@@ -26,19 +26,19 @@ 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_M5YNQ2NP_exports = {};
|
|
30
|
+
__export(chunk_M5YNQ2NP_exports, {
|
|
31
31
|
getSchemaPathAndPrint: () => getSchemaPathAndPrint,
|
|
32
32
|
init_getSchemaPathAndPrint: () => init_getSchemaPathAndPrint,
|
|
33
33
|
printSchemaLoadedMessage: () => printSchemaLoadedMessage
|
|
34
34
|
});
|
|
35
|
-
module.exports = __toCommonJS(
|
|
35
|
+
module.exports = __toCommonJS(chunk_M5YNQ2NP_exports);
|
|
36
36
|
var import_chunk_6TE2RIPN = require("./chunk-6TE2RIPN.js");
|
|
37
37
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
38
38
|
var import_internals = require("@prisma/internals");
|
|
39
39
|
var import_path = __toESM(require("path"));
|
|
40
|
-
async function getSchemaPathAndPrint(schemaPathProvided, options) {
|
|
41
|
-
const schemaPathResult = await (0, import_internals.getSchemaWithPath)(schemaPathProvided, options);
|
|
40
|
+
async function getSchemaPathAndPrint(schemaPathProvided, schemaPathFromConfig, options) {
|
|
41
|
+
const schemaPathResult = await (0, import_internals.getSchemaWithPath)(schemaPathProvided, schemaPathFromConfig, options);
|
|
42
42
|
printSchemaLoadedMessage(schemaPathResult.schemaPath);
|
|
43
43
|
return schemaPathResult;
|
|
44
44
|
}
|
|
@@ -16,12 +16,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_O4BT6W33_exports = {};
|
|
20
|
+
__export(chunk_O4BT6W33_exports, {
|
|
21
21
|
DbCommand: () => DbCommand,
|
|
22
22
|
init_DbCommand: () => init_DbCommand
|
|
23
23
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
24
|
+
module.exports = __toCommonJS(chunk_O4BT6W33_exports);
|
|
25
25
|
var import_chunk_6TE2RIPN = require("./chunk-6TE2RIPN.js");
|
|
26
26
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
27
27
|
var import_internals = require("@prisma/internals");
|
|
@@ -36,11 +36,11 @@ var init_DbCommand = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
36
36
|
static new(cmds) {
|
|
37
37
|
return new _DbCommand2(cmds);
|
|
38
38
|
}
|
|
39
|
-
|
|
40
|
-
async parse(argv) {
|
|
39
|
+
async parse(argv, config) {
|
|
41
40
|
const args = (0, import_internals.arg)(argv, {
|
|
42
41
|
"--help": Boolean,
|
|
43
42
|
"-h": "--help",
|
|
43
|
+
"--config": String,
|
|
44
44
|
"--preview-feature": Boolean,
|
|
45
45
|
"--telemetry-information": String
|
|
46
46
|
});
|
|
@@ -53,7 +53,7 @@ var init_DbCommand = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
53
53
|
const cmd = this.cmds[args._[0]];
|
|
54
54
|
if (cmd) {
|
|
55
55
|
const argsForCmd = args["--preview-feature"] ? [...args._.slice(1), `--preview-feature`] : args._.slice(1);
|
|
56
|
-
return cmd.parse(argsForCmd);
|
|
56
|
+
return cmd.parse(argsForCmd, config);
|
|
57
57
|
}
|
|
58
58
|
return (0, import_internals.unknownCommand)(_DbCommand2.help, args._[0]);
|
|
59
59
|
}
|
|
@@ -76,6 +76,7 @@ ${(0, import_chunk_6TE2RIPN.bold)("Usage")}
|
|
|
76
76
|
${(0, import_chunk_6TE2RIPN.bold)("Options")}
|
|
77
77
|
|
|
78
78
|
-h, --help Display this help message
|
|
79
|
+
--config Custom path to your Prisma config file
|
|
79
80
|
--schema Custom path to your Prisma schema
|
|
80
81
|
|
|
81
82
|
${(0, import_chunk_6TE2RIPN.bold)("Commands")}
|
|
@@ -26,14 +26,14 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_UVNSK22K_exports = {};
|
|
30
|
+
__export(chunk_UVNSK22K_exports, {
|
|
31
31
|
Migrate: () => Migrate,
|
|
32
32
|
init_Migrate: () => init_Migrate
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
34
|
+
module.exports = __toCommonJS(chunk_UVNSK22K_exports);
|
|
35
35
|
var import_chunk_6C7ESGWY = require("./chunk-6C7ESGWY.js");
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_7S3Q4MCN = require("./chunk-7S3Q4MCN.js");
|
|
37
37
|
var import_chunk_6TE2RIPN = require("./chunk-6TE2RIPN.js");
|
|
38
38
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
39
39
|
var import_engines_version = require("@prisma/engines-version");
|
|
@@ -543,19 +543,19 @@ var init_Migrate = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
543
543
|
"src/Migrate.ts"() {
|
|
544
544
|
(0, import_chunk_6TE2RIPN.init_colors)();
|
|
545
545
|
import_log_update = (0, import_chunk_WWAWV7DQ.__toESM)(require_log_update());
|
|
546
|
-
(0,
|
|
546
|
+
(0, import_chunk_7S3Q4MCN.init_SchemaEngine)();
|
|
547
547
|
packageJson = eval(`require('../package.json')`);
|
|
548
548
|
Migrate = class {
|
|
549
549
|
constructor(schemaPath, enabledPreviewFeatures) {
|
|
550
550
|
if (schemaPath) {
|
|
551
551
|
this.schemaPath = import_path.default.resolve(process.cwd(), schemaPath);
|
|
552
552
|
this.migrationsDirectoryPath = import_path.default.join(import_path.default.dirname(this.schemaPath), "migrations");
|
|
553
|
-
this.engine = new
|
|
553
|
+
this.engine = new import_chunk_7S3Q4MCN.SchemaEngine({
|
|
554
554
|
schemaPath: this.schemaPath,
|
|
555
555
|
enabledPreviewFeatures
|
|
556
556
|
});
|
|
557
557
|
} else {
|
|
558
|
-
this.engine = new
|
|
558
|
+
this.engine = new import_chunk_7S3Q4MCN.SchemaEngine({
|
|
559
559
|
enabledPreviewFeatures
|
|
560
560
|
});
|
|
561
561
|
}
|
|
@@ -26,14 +26,14 @@ 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_X6XGFLEF_exports = {};
|
|
30
|
+
__export(chunk_X6XGFLEF_exports, {
|
|
31
31
|
DbDrop: () => DbDrop
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
33
|
+
module.exports = __toCommonJS(chunk_X6XGFLEF_exports);
|
|
34
34
|
var import_chunk_WLJHGKMK = require("./chunk-WLJHGKMK.js");
|
|
35
35
|
var import_chunk_U374EXYQ = require("./chunk-U374EXYQ.js");
|
|
36
|
-
var
|
|
36
|
+
var import_chunk_M5YNQ2NP = require("./chunk-M5YNQ2NP.js");
|
|
37
37
|
var import_chunk_Q7ACZDDT = require("./chunk-Q7ACZDDT.js");
|
|
38
38
|
var import_chunk_XJQP3B4W = require("./chunk-XJQP3B4W.js");
|
|
39
39
|
var import_chunk_6TE2RIPN = require("./chunk-6TE2RIPN.js");
|
|
@@ -42,13 +42,13 @@ var import_prompts = __toESM(require("prompts"));
|
|
|
42
42
|
(0, import_chunk_6TE2RIPN.init_colors)();
|
|
43
43
|
(0, import_chunk_XJQP3B4W.init_ensureDatabaseExists)();
|
|
44
44
|
(0, import_chunk_U374EXYQ.init_errors)();
|
|
45
|
-
(0,
|
|
45
|
+
(0, import_chunk_M5YNQ2NP.init_getSchemaPathAndPrint)();
|
|
46
46
|
(0, import_chunk_Q7ACZDDT.init_printDatasource)();
|
|
47
47
|
var _DbDrop = class _DbDrop2 {
|
|
48
48
|
static new() {
|
|
49
49
|
return new _DbDrop2();
|
|
50
50
|
}
|
|
51
|
-
async parse(argv) {
|
|
51
|
+
async parse(argv, config) {
|
|
52
52
|
const args = (0, import_internals.arg)(argv, {
|
|
53
53
|
"--help": Boolean,
|
|
54
54
|
"-h": "--help",
|
|
@@ -56,20 +56,21 @@ var _DbDrop = class _DbDrop2 {
|
|
|
56
56
|
"--force": Boolean,
|
|
57
57
|
"-f": "--force",
|
|
58
58
|
"--schema": String,
|
|
59
|
+
"--config": String,
|
|
59
60
|
"--telemetry-information": String
|
|
60
61
|
});
|
|
61
62
|
if ((0, import_internals.isError)(args)) {
|
|
62
63
|
return this.help(args.message);
|
|
63
64
|
}
|
|
64
|
-
await (0, import_internals.checkUnsupportedDataProxy)("db drop", args, true);
|
|
65
|
+
await (0, import_internals.checkUnsupportedDataProxy)("db drop", args, config.schema, true);
|
|
65
66
|
if (args["--help"]) {
|
|
66
67
|
return this.help();
|
|
67
68
|
}
|
|
68
69
|
if (!args["--preview-feature"]) {
|
|
69
70
|
throw new import_chunk_WLJHGKMK.PreviewFlagError();
|
|
70
71
|
}
|
|
71
|
-
await (0, import_internals.loadEnvFile)({ schemaPath: args["--schema"], printMessage: true });
|
|
72
|
-
const { schemaPath } = await (0,
|
|
72
|
+
await (0, import_internals.loadEnvFile)({ schemaPath: args["--schema"], printMessage: true, config });
|
|
73
|
+
const { schemaPath } = await (0, import_chunk_M5YNQ2NP.getSchemaPathAndPrint)(args["--schema"], config.schema);
|
|
73
74
|
const datasourceInfo = await (0, import_chunk_XJQP3B4W.getDatasourceInfo)({ schemaPath, throwIfEnvError: true });
|
|
74
75
|
(0, import_chunk_Q7ACZDDT.printDatasource)({ datasourceInfo });
|
|
75
76
|
process.stdout.write("\n");
|
|
@@ -124,6 +125,7 @@ ${(0, import_chunk_6TE2RIPN.bold)("Usage")}
|
|
|
124
125
|
${(0, import_chunk_6TE2RIPN.bold)("Options")}
|
|
125
126
|
|
|
126
127
|
-h, --help Display this help message
|
|
128
|
+
--config Custom path to your Prisma config file
|
|
127
129
|
--schema Custom path to your Prisma schema
|
|
128
130
|
-f, --force Skip the confirmation prompt
|
|
129
131
|
|
|
@@ -16,12 +16,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var chunk_YD7GG4WS_exports = {};
|
|
20
|
+
__export(chunk_YD7GG4WS_exports, {
|
|
21
21
|
DbSeed: () => DbSeed,
|
|
22
22
|
init_DbSeed: () => init_DbSeed
|
|
23
23
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
24
|
+
module.exports = __toCommonJS(chunk_YD7GG4WS_exports);
|
|
25
25
|
var import_chunk_YKUZUAXA = require("./chunk-YKUZUAXA.js");
|
|
26
26
|
var import_chunk_6TE2RIPN = require("./chunk-6TE2RIPN.js");
|
|
27
27
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
@@ -179,13 +179,14 @@ var init_DbSeed = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
|
179
179
|
static new() {
|
|
180
180
|
return new _DbSeed2();
|
|
181
181
|
}
|
|
182
|
-
async parse(argv) {
|
|
182
|
+
async parse(argv, config) {
|
|
183
183
|
const args = (0, import_internals.arg)(
|
|
184
184
|
argv,
|
|
185
185
|
{
|
|
186
186
|
"--help": Boolean,
|
|
187
187
|
"-h": "--help",
|
|
188
188
|
"--schema": String,
|
|
189
|
+
"--config": String,
|
|
189
190
|
"--telemetry-information": String
|
|
190
191
|
},
|
|
191
192
|
false
|
|
@@ -201,10 +202,10 @@ ${(0, import_chunk_6TE2RIPN.dim)("$")} prisma db seed -- --arg1 value1 --arg2 va
|
|
|
201
202
|
if (args["--help"]) {
|
|
202
203
|
return this.help();
|
|
203
204
|
}
|
|
204
|
-
await (0, import_internals.loadEnvFile)({ schemaPath: args["--schema"], printMessage: true });
|
|
205
|
+
await (0, import_internals.loadEnvFile)({ schemaPath: args["--schema"], printMessage: true, config });
|
|
205
206
|
const seedCommandFromPkgJson = await (0, import_chunk_YKUZUAXA.getSeedCommandFromPackageJson)(process.cwd());
|
|
206
207
|
if (!seedCommandFromPkgJson) {
|
|
207
|
-
const schemaResult = await (0, import_internals.getSchemaWithPath)(args["--schema"]);
|
|
208
|
+
const schemaResult = await (0, import_internals.getSchemaWithPath)(args["--schema"], config.schema);
|
|
208
209
|
const message = await (0, import_chunk_YKUZUAXA.verifySeedConfigAndReturnMessage)(schemaResult?.schemaPath ?? null);
|
|
209
210
|
if (message) {
|
|
210
211
|
throw new Error(message);
|
|
@@ -239,6 +240,7 @@ ${(0, import_chunk_6TE2RIPN.bold)("Usage")}
|
|
|
239
240
|
${(0, import_chunk_6TE2RIPN.bold)("Options")}
|
|
240
241
|
|
|
241
242
|
-h, --help Display this help message
|
|
243
|
+
--config Custom path to your Prisma config file
|
|
242
244
|
|
|
243
245
|
${(0, import_chunk_6TE2RIPN.bold)("Examples")}
|
|
244
246
|
|
|
@@ -26,20 +26,20 @@ 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_YWWOSXMY_exports = {};
|
|
30
|
+
__export(chunk_YWWOSXMY_exports, {
|
|
31
31
|
getDatabaseVersionSafe: () => getDatabaseVersionSafe,
|
|
32
32
|
init_getDatabaseVersionSafe: () => init_getDatabaseVersionSafe
|
|
33
33
|
});
|
|
34
|
-
module.exports = __toCommonJS(
|
|
35
|
-
var
|
|
34
|
+
module.exports = __toCommonJS(chunk_YWWOSXMY_exports);
|
|
35
|
+
var import_chunk_7S3Q4MCN = require("./chunk-7S3Q4MCN.js");
|
|
36
36
|
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
|
37
37
|
var import_debug = __toESM(require("@prisma/debug"));
|
|
38
38
|
async function getDatabaseVersionSafe(args) {
|
|
39
39
|
let engine;
|
|
40
40
|
let dbVersion;
|
|
41
41
|
try {
|
|
42
|
-
engine = new
|
|
42
|
+
engine = new import_chunk_7S3Q4MCN.SchemaEngine({});
|
|
43
43
|
dbVersion = await engine.getDatabaseVersion(args);
|
|
44
44
|
} catch (e) {
|
|
45
45
|
debug(e);
|
|
@@ -53,7 +53,7 @@ async function getDatabaseVersionSafe(args) {
|
|
|
53
53
|
var debug;
|
|
54
54
|
var init_getDatabaseVersionSafe = (0, import_chunk_WWAWV7DQ.__esm)({
|
|
55
55
|
"src/utils/getDatabaseVersionSafe.ts"() {
|
|
56
|
-
(0,
|
|
56
|
+
(0, import_chunk_7S3Q4MCN.init_SchemaEngine)();
|
|
57
57
|
debug = (0, import_debug.default)("prisma:cli");
|
|
58
58
|
}
|
|
59
59
|
});
|
|
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbCommand_exports = {};
|
|
20
20
|
__export(DbCommand_exports, {
|
|
21
|
-
DbCommand: () =>
|
|
21
|
+
DbCommand: () => import_chunk_O4BT6W33.DbCommand
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbCommand_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_O4BT6W33 = require("../chunk-O4BT6W33.js");
|
|
25
25
|
var import_chunk_6TE2RIPN = require("../chunk-6TE2RIPN.js");
|
|
26
26
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
27
|
-
(0,
|
|
27
|
+
(0, import_chunk_O4BT6W33.init_DbCommand)();
|
package/dist/commands/DbDrop.js
CHANGED
|
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbDrop_exports = {};
|
|
20
20
|
__export(DbDrop_exports, {
|
|
21
|
-
DbDrop: () =>
|
|
21
|
+
DbDrop: () => import_chunk_X6XGFLEF.DbDrop
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbDrop_exports);
|
|
24
|
-
var
|
|
24
|
+
var import_chunk_X6XGFLEF = require("../chunk-X6XGFLEF.js");
|
|
25
25
|
var import_chunk_WLJHGKMK = require("../chunk-WLJHGKMK.js");
|
|
26
26
|
var import_chunk_U374EXYQ = require("../chunk-U374EXYQ.js");
|
|
27
|
-
var
|
|
27
|
+
var import_chunk_M5YNQ2NP = require("../chunk-M5YNQ2NP.js");
|
|
28
28
|
var import_chunk_Q7ACZDDT = require("../chunk-Q7ACZDDT.js");
|
|
29
29
|
var import_chunk_XJQP3B4W = require("../chunk-XJQP3B4W.js");
|
|
30
30
|
var import_chunk_KPUNMK5W = require("../chunk-KPUNMK5W.js");
|
|
@@ -18,16 +18,16 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbExecute_exports = {};
|
|
20
20
|
__export(DbExecute_exports, {
|
|
21
|
-
DbExecute: () =>
|
|
21
|
+
DbExecute: () => import_chunk_AOX7CJAS.DbExecute
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbExecute_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_AOX7CJAS = require("../chunk-AOX7CJAS.js");
|
|
25
|
+
var import_chunk_UVNSK22K = require("../chunk-UVNSK22K.js");
|
|
26
26
|
var import_chunk_6C7ESGWY = require("../chunk-6C7ESGWY.js");
|
|
27
27
|
var import_chunk_J46BJQHT = require("../chunk-J46BJQHT.js");
|
|
28
|
-
var
|
|
28
|
+
var import_chunk_7S3Q4MCN = require("../chunk-7S3Q4MCN.js");
|
|
29
29
|
var import_chunk_CQQQ436N = require("../chunk-CQQQ436N.js");
|
|
30
30
|
var import_chunk_AAATUOV6 = require("../chunk-AAATUOV6.js");
|
|
31
31
|
var import_chunk_6TE2RIPN = require("../chunk-6TE2RIPN.js");
|
|
32
32
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
33
|
-
(0,
|
|
33
|
+
(0, import_chunk_AOX7CJAS.init_DbExecute)();
|
package/dist/commands/DbPull.js
CHANGED
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var DbPull_exports = {};
|
|
20
20
|
__export(DbPull_exports, {
|
|
21
|
-
DbPull: () =>
|
|
21
|
+
DbPull: () => import_chunk_26XQQ4AG.DbPull
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(DbPull_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_26XQQ4AG = require("../chunk-26XQQ4AG.js");
|
|
25
|
+
var import_chunk_CUDKD32S = require("../chunk-CUDKD32S.js");
|
|
26
26
|
var import_chunk_ILJRJJ3S = require("../chunk-ILJRJJ3S.js");
|
|
27
27
|
var import_chunk_YUCPBDWV = require("../chunk-YUCPBDWV.js");
|
|
28
28
|
var import_chunk_RM5LJIEV = require("../chunk-RM5LJIEV.js");
|
|
@@ -35,7 +35,7 @@ var import_chunk_GN5BY5N2 = require("../chunk-GN5BY5N2.js");
|
|
|
35
35
|
var import_chunk_LKTTJWFT = require("../chunk-LKTTJWFT.js");
|
|
36
36
|
var import_chunk_6C7ESGWY = require("../chunk-6C7ESGWY.js");
|
|
37
37
|
var import_chunk_J46BJQHT = require("../chunk-J46BJQHT.js");
|
|
38
|
-
var
|
|
38
|
+
var import_chunk_7S3Q4MCN = require("../chunk-7S3Q4MCN.js");
|
|
39
39
|
var import_chunk_CQQQ436N = require("../chunk-CQQQ436N.js");
|
|
40
40
|
var import_chunk_AAATUOV6 = require("../chunk-AAATUOV6.js");
|
|
41
41
|
var import_chunk_U374EXYQ = require("../chunk-U374EXYQ.js");
|
|
@@ -44,4 +44,4 @@ var import_chunk_XJQP3B4W = require("../chunk-XJQP3B4W.js");
|
|
|
44
44
|
var import_chunk_KPUNMK5W = require("../chunk-KPUNMK5W.js");
|
|
45
45
|
var import_chunk_6TE2RIPN = require("../chunk-6TE2RIPN.js");
|
|
46
46
|
var import_chunk_WWAWV7DQ = require("../chunk-WWAWV7DQ.js");
|
|
47
|
-
(0,
|
|
47
|
+
(0, import_chunk_26XQQ4AG.init_DbPull)();
|