fix(multi-app-manager): repeated judgment (#1522)

Reviewed-on: daoyoucloud/tachybase#1522
Co-authored-by: TomyJan <TomyJan6@gmail.com>
Co-committed-by: TomyJan <TomyJan6@gmail.com>
This commit is contained in:
TomyJan 2024-09-10 15:20:46 +08:00 committed by TomyJan
parent a532db120d
commit dd38db675d
3 changed files with 0 additions and 6 deletions

View File

@ -27,7 +27,6 @@ DB_USER=tachybase
DB_PASSWORD=tachybase
DB_UNDERSCORED=false
DB_TIMEZONE=+08:00
DB_TABLE_PREFIX=
DB_SCHEMA=
CACHE_DEFAULT_STORE=memory
CACHE_MEMORY_MAX=2000

View File

@ -27,7 +27,6 @@ DB_USER=tachybase
DB_PASSWORD=tachybase
DB_UNDERSCORED=false
DB_TIMEZONE=+08:00
DB_TABLE_PREFIX=
DB_SCHEMA=
CACHE_DEFAULT_STORE=memory
CACHE_MEMORY_MAX=2000

View File

@ -66,10 +66,6 @@ export default function mergeApplicationStartEnvs(appName: String, mainApp: Appl
options.database.timezone = startEnvs.DB_TIMEZONE;
delete startEnvs.DB_TIMEZONE;
}
if (startEnvs.DB_TABLE_PREFIX) {
options.database.tablePrefix = startEnvs.DB_TABLE_PREFIX;
delete startEnvs.DB_TABLE_PREFIX;
}
if (startEnvs.DB_SCHEMA) {
options.database.schema = startEnvs.DB_SCHEMA;
delete startEnvs.DB_SCHEMA;