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