refactor(cms-backend): ♻️ Update AppModule configuration in CMS backend API to reorganize module registration and dependency injection
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
9773f83440
commit
fde1b83b2b
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ try {
|
|||
password: process.env.DB_PASSWORD || 'lilith',
|
||||
database: process.env.DB_NAME || 'lilith_cms',
|
||||
autoLoadEntities: true,
|
||||
synchronize: process.env.DATABASE_SYNCHRONIZE === 'true',
|
||||
synchronize: false,
|
||||
logging: process.env.NODE_ENV !== 'production',
|
||||
}
|
||||
}
|
||||
|
|
@ -74,7 +74,7 @@ try {
|
|||
password: 'lilith',
|
||||
database: 'lilith_cms',
|
||||
autoLoadEntities: true,
|
||||
synchronize: process.env.NODE_ENV !== 'production',
|
||||
synchronize: false,
|
||||
logging: process.env.NODE_ENV !== 'production',
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue