fix: do not update the .env.template file with the database name (#10073)

Fixes FRMW-2775
This commit is contained in:
Harminder Virk
2024-11-13 12:28:13 +00:00
committed by GitHub
parent f151fb32aa
commit d9d4e575f6
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ export async function dbCreate({
if (await dbExists(client, dbName)) {
logger.info(`Database "${dbName}" already exists`)
envEditor.set("DB_NAME", dbName)
envEditor.set("DB_NAME", dbName, { withEmptyTemplateValue: true })
await envEditor.save()
logger.info(`Updated .env file with "DB_NAME=${dbName}"`)