CREATE OR REPLACE FUNCTION public.fn_log_session_notification(p_session_id integer, p_email text, p_event_type text)
 RETURNS void
 LANGUAGE sql
AS $function$
  INSERT INTO public.session_notifications_log (session_id, participant_email, event_type)
  VALUES (p_session_id, p_email, p_event_type);
$function$
;
