Initial commit: breakpilot-lehrer - Lehrer KI Platform

Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website,
Klausur-Service, School-Service, Voice-Service, Geo-Service,
BreakPilot Drive, Agent-Core

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Boenisch
2026-02-11 23:47:26 +01:00
commit 5a31f52310
1224 changed files with 425430 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
"""
Database Configuration für Alerts Agent.
Nutzt die gleiche PostgreSQL-Instanz und Base wie Classroom Engine.
"""
# Re-export from classroom_engine for consistency
from classroom_engine.database import (
Base,
SessionLocal,
get_db,
engine,
DATABASE_URL,
)
def init_db():
"""Erstellt alle Tabellen (für Entwicklung)."""
from . import models # Import models to register them
Base.metadata.create_all(bind=engine)