From c34176ef8570f44ee1514dddf800eb76ee41709d Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Sat, 7 Oct 2023 13:31:25 +0200 Subject: [PATCH] More context for database todo Signed-off-by: Yannick Bungers --- backend/src/app.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/app.module.ts b/backend/src/app.module.ts index 8035ec71b..0a3f9b04e 100644 --- a/backend/src/app.module.ts +++ b/backend/src/app.module.ts @@ -68,7 +68,8 @@ const routes: Routes = [ password: databaseConfig.password, database: databaseConfig.database, autoLoadEntities: true, - synchronize: true, // ToDo: Remove this before release + synchronize: true, // ToDo: Remove this before release. It should be replaced by database migrations + // https://stackoverflow.com/questions/65222981/typeorm-synchronize-in-production logging: true, logger: logger, };