Fix error logging issues

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 21:56:28 +00:00
parent b1d9f9c72b
commit 0b4c4c99ef
6 changed files with 413 additions and 69 deletions

View File

@@ -0,0 +1,6 @@
-- Drop old function signatures to prevent overloading issues
DROP FUNCTION IF EXISTS public.log_request_metadata(uuid, uuid, text, text, integer, integer, text, text, text, text, uuid, uuid);
DROP FUNCTION IF EXISTS public.log_request_metadata(uuid, uuid, text, text, integer, integer, text, text, text, text, uuid, uuid, text, text, text);
-- Only the newest version with all parameters (including timezone and referrer) should remain
-- This is already in the database from the previous migration