open-webui/backend/apps/web/internal/db.py