# DB model helpers — used in Phase 3 for logging # Schema defined in database.py