aboutsummaryrefslogtreecommitdiffstats
path: root/api/app/core/db.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/app/core/db.py')
-rw-r--r--api/app/core/db.py5
1 files changed, 5 insertions, 0 deletions
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