A full-featured CRM built with React, shadcn/ui, and Supabase.
Harden SECURITY DEFINER search path for note attachment cleanup trigger
Anibal Svarcas835220a4008c
diff --git a/supabase/migrations/20260220154000_note_attachments_webhooks.sql b/supabase/migrations/20260220154000_note_attachments_webhooks.sqlindex 7d972d52..e748d094 100644--- a/supabase/migrations/20260220154000_note_attachments_webhooks.sql+++ b/supabase/migrations/20260220154000_note_attachments_webhooks.sql@@ -67,7 +67,7 @@ BEGINRETURNS triggerLANGUAGE plpgsqlSECURITY DEFINER- SET search_path = public+ SET search_path TO ''AS $function$DECLAREpayload jsonb;