This commit is contained in:
Team3
2026-06-06 17:40:06 +02:00
parent c84fbbb484
commit b2486a73a1
13 changed files with 203 additions and 342 deletions

View File

@@ -10,8 +10,7 @@ from routes import router
@asynccontextmanager
async def lifespan(app: FastAPI):
(STORAGE_DIR / "guides").mkdir(parents=True, exist_ok=True)
(STORAGE_DIR / "bausteine").mkdir(parents=True, exist_ok=True)
(STORAGE_DIR / "themen").mkdir(parents=True, exist_ok=True)
await init_db()
yield
await close_db()