[WIP] Work in progress

This commit is contained in:
2026-02-08 11:20:42 +01:00
parent bd135f2265
commit a2fa1c7c9b
34 changed files with 159 additions and 2 deletions

0
app/db/__init__.py Normal file
View File

View File

@@ -0,0 +1 @@
from .engine import engine

2
app/db/config/config.py Normal file
View File

@@ -0,0 +1,2 @@
engine_string = "sqlite://"
echo = True

4
app/db/config/engine.py Normal file
View File

@@ -0,0 +1,4 @@
from sqlalchemy import create_engine
from .config import engine_string, echo
engine = create_engine(engine_string, echo=echo)

View File

@@ -0,0 +1 @@
from .engine import engine

2
app/db/library/config.py Normal file
View File

@@ -0,0 +1,2 @@
engine_string = "sqlite://"
echo = True

4
app/db/library/engine.py Normal file
View File

@@ -0,0 +1,4 @@
from sqlalchemy import create_engine
from .config import engine_string, echo
engine = create_engine(engine_string, echo=echo)