mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
cd test
This commit is contained in:
parent
7feade8b60
commit
d06339cefd
1 changed files with 2 additions and 2 deletions
|
@ -1,9 +1,9 @@
|
|||
from app_config import SQLITE_DIR, USE_MONGO, USE_SQL
|
||||
from app_config import DATA_DIR, SQLITE_DIR, USE_MONGO, USE_SQL
|
||||
|
||||
from db.sql.db_session import globa_init as sql_global_init
|
||||
|
||||
if USE_SQL:
|
||||
db_file = SQLITE_DIR.joinpath("mealie.sqlite")
|
||||
db_file = DATA_DIR.joinpath("mealie.sqlite")
|
||||
sql_global_init(db_file)
|
||||
|
||||
elif USE_MONGO:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue