From 4ea3a099b05fa910498bfbf1b2d7387118355472 Mon Sep 17 00:00:00 2001 From: "Ole Mathias Aa. Heggem" Date: Sun, 13 Apr 2025 07:18:45 +0200 Subject: Upgrade bootstrap and rewrite API (#230) --- api/app/core/db.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 api/app/core/db.py (limited to 'api/app/core/db.py') diff --git a/api/app/core/db.py b/api/app/core/db.py new file mode 100644 index 0000000..b67ca87 --- /dev/null +++ b/api/app/core/db.py @@ -0,0 +1,5 @@ +from sqlmodel import create_engine +from app.core.config import settings + + +engine = create_engine(str(settings.SQLALCHEMY_DATABASE_URI)) \ No newline at end of file -- cgit v1.2.3