sync - added week menus

This commit is contained in:
2025-09-27 16:25:40 -07:00
parent f4cea0c072
commit 2b70ec4adb
2 changed files with 1 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ import requests
from fastapi import File, UploadFile
# Database setup - Use SQLite for easier setup
DATABASE_URL = "sqlite:///./meal_planner.db"
DATABASE_URL = "sqlite:///data/meal_planner.db"
# For production, use PostgreSQL: DATABASE_URL = "postgresql://username:password@localhost/meal_planner"
engine = create_engine(DATABASE_URL, connect_args={"check_same_thread": False} if "sqlite" in DATABASE_URL else {})