""" 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)