From b0167b029f936c0579c88eb501e6d672698ad77a Mon Sep 17 00:00:00 2001 From: pranav-super <50245172+pranav-super@users.noreply.github.com> Date: Mon, 21 Oct 2024 09:59:57 -0700 Subject: [PATCH] update derived_events trigger comment Co-authored-by: Mythicaeda --- deployment/postgres-init-db/sql/views/merlin/derived_events.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/postgres-init-db/sql/views/merlin/derived_events.sql b/deployment/postgres-init-db/sql/views/merlin/derived_events.sql index 76984f97d4..29ca0139b0 100644 --- a/deployment/postgres-init-db/sql/views/merlin/derived_events.sql +++ b/deployment/postgres-init-db/sql/views/merlin/derived_events.sql @@ -87,7 +87,7 @@ begin end; $$; --- events are the most basic source of information, so we have to trigger on their insertion +-- events are the most basic source of information, so update when the set of events changes. create trigger refresh_derived_events_on_external_event after insert or update or delete on merlin.external_event for each statement execute function merlin.refresh_derived_events_on_trigger();