refactor(platform-admin): ♻️ Optimize AppModule initialization by restructuring dependencies/providers for lazy-loading improvements
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
6b165c4ba5
commit
0b71a234c8
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ const registry = buildDeploymentRegistry({
|
|||
password: config.get('DATABASE_POSTGRES_PASSWORD', 'postgres'),
|
||||
database: config.get('DATABASE_POSTGRES_NAME', 'platform_admin') as string,
|
||||
autoLoadEntities: true,
|
||||
synchronize: config.get('DB_SYNCHRONIZE', 'false') === 'true',
|
||||
synchronize: false,
|
||||
logging: config.get('DB_LOGGING', 'false') === 'true',
|
||||
migrations: ['dist/database/migrations/*'],
|
||||
migrationsRun: config.get('DB_MIGRATIONS_RUN', 'false') === 'true',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue