Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

remove legacy trigger drops from note attachments migration

Anibal Svarcas97f8ee7d87f3
diff --git a/supabase/migrations/20260220154000_note_attachments_webhooks.sql b/supabase/migrations/20260220154000_note_attachments_webhooks.sql
index 6b55f01d..becfb29e 100644
--- a/supabase/migrations/20260220154000_note_attachments_webhooks.sql
+++ b/supabase/migrations/20260220154000_note_attachments_webhooks.sql
@@ -1,11 +1,5 @@
CREATE EXTENSION IF NOT EXISTS pg_net;
-DROP TRIGGER IF EXISTS on_contact_notes_deleted_delete_note_attachments
-ON public.contact_notes;
-
-DROP TRIGGER IF EXISTS on_deal_notes_deleted_delete_note_attachments
-ON public.deal_notes;
-
DROP TRIGGER IF EXISTS on_contact_notes_changed_delete_note_attachments
ON public.contact_notes;