From de5fb3328f7b23891a8021424b8b10e65536d368 Mon Sep 17 00:00:00 2001 From: extreme4all <40169115+extreme4all@users.noreply.github.com> Date: Fri, 22 Sep 2023 23:55:56 +0200 Subject: [PATCH] bug fix --- src/core/database/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/database/database.py b/src/core/database/database.py index 7122746f..d40eac02 100644 --- a/src/core/database/database.py +++ b/src/core/database/database.py @@ -6,7 +6,7 @@ from src.core.config import settings # Create an async SQLAlchemy engine -engine = create_async_engine(settings.DATABASE_URL, echo=(settings.ENV == "PRD")) +engine = create_async_engine(settings.DATABASE_URL, echo=(settings.ENV != "PRD")) # Create a session factory SessionFactory = sessionmaker(