From fde1b83b2bdd423c6fd54fe9ffe93d782df6d87e Mon Sep 17 00:00:00 2001 From: Lilith Date: Sat, 28 Feb 2026 16:13:48 -0800 Subject: [PATCH] =?UTF-8?q?refactor(cms-backend):=20=E2=99=BB=EF=B8=8F=20U?= =?UTF-8?q?pdate=20AppModule=20configuration=20in=20CMS=20backend=20API=20?= =?UTF-8?q?to=20reorganize=20module=20registration=20and=20dependency=20in?= =?UTF-8?q?jection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- features/cms/backend-api/src/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/cms/backend-api/src/app.module.ts b/features/cms/backend-api/src/app.module.ts index 5ad48f099..e4b0e1335 100644 --- a/features/cms/backend-api/src/app.module.ts +++ b/features/cms/backend-api/src/app.module.ts @@ -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', } },