7 lines
192 B
Python
7 lines
192 B
Python
from pathlib import Path
|
|
|
|
# Database configuration
|
|
DB_DIR = Path("/app") / "storage" / "db"
|
|
DB_DIR.mkdir(parents=True, exist_ok=True)
|
|
|
|
SQLALCHEMY_DATABASE_URL = f"sqlite:///{DB_DIR}/db.sqlite" |