diff --git a/backend/capellacollab/core/database/__init__.py b/backend/capellacollab/core/database/__init__.py index 12d6a7b91..e88ae49e4 100644 --- a/backend/capellacollab/core/database/__init__.py +++ b/backend/capellacollab/core/database/__init__.py @@ -11,7 +11,8 @@ from capellacollab.config import config engine = sa.create_engine( - config["database"]["url"], connect_args={"connect_timeout": 5} + config["database"]["url"], + connect_args={"connect_timeout": 5, "options": "-c timezone=utc"}, ) SessionLocal = orm.sessionmaker(autocommit=False, autoflush=False, bind=engine)