[WIP] Work in progress
This commit is contained in:
1
app/db/library/__init__.py
Normal file
1
app/db/library/__init__.py
Normal file
@@ -0,0 +1 @@
|
||||
from .engine import engine
|
||||
2
app/db/library/config.py
Normal file
2
app/db/library/config.py
Normal file
@@ -0,0 +1,2 @@
|
||||
engine_string = "sqlite://"
|
||||
echo = True
|
||||
4
app/db/library/engine.py
Normal file
4
app/db/library/engine.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from sqlalchemy import create_engine
|
||||
from .config import engine_string, echo
|
||||
|
||||
engine = create_engine(engine_string, echo=echo)
|
||||
Reference in New Issue
Block a user