fix: update database URL to point to public directory
- Changed the SQLALCHEMY_DATABASE_URL to use the public directory for the SQLite database file, ensuring proper access and organization of database resources.
This commit is contained in:
parent
e3b3b5a1f6
commit
7cb36eb1af
@ -4,7 +4,7 @@ from sqlalchemy.orm import sessionmaker, relationship
|
|||||||
from datetime import datetime, UTC
|
from datetime import datetime, UTC
|
||||||
import json
|
import json
|
||||||
|
|
||||||
SQLALCHEMY_DATABASE_URL = "sqlite:///./psychoscales.db"
|
SQLALCHEMY_DATABASE_URL = "sqlite:///./public/psychoscales.db"
|
||||||
|
|
||||||
engine = create_engine(
|
engine = create_engine(
|
||||||
SQLALCHEMY_DATABASE_URL,
|
SQLALCHEMY_DATABASE_URL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user