adminforth 3.0.1 → 3.0.2-next.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.
|
@@ -316,6 +316,7 @@ async function writeTemplateFiles(dirname, cwd, useNpm, includePrismaMigrations,
|
|
|
316
316
|
const packageManagerTemplateData = getPackageManagerTemplateData(useNpm, nodeMajor);
|
|
317
317
|
const resolvedPrismaDbUrl = includePrismaMigrations ? prismaDbUrl : null;
|
|
318
318
|
const resolvedPrismaDbUrlProd = includePrismaMigrations ? prismaDbUrlProd : null;
|
|
319
|
+
const connectorProvider = provider === 'postgresql' ? 'postgres' : provider;
|
|
319
320
|
|
|
320
321
|
// Build a list of files to generate
|
|
321
322
|
const templateTasks = [
|
|
@@ -419,6 +420,7 @@ async function writeTemplateFiles(dirname, cwd, useNpm, includePrismaMigrations,
|
|
|
419
420
|
appName,
|
|
420
421
|
adminforthVersion: adminforthVersion,
|
|
421
422
|
includePrismaMigrations: Boolean(resolvedPrismaDbUrl),
|
|
423
|
+
databaseProvider: connectorProvider,
|
|
422
424
|
},
|
|
423
425
|
},
|
|
424
426
|
{
|