From 121aa9d01eb0b0b00930a65c3d6ae13b4d625f60 Mon Sep 17 00:00:00 2001 From: David Badura Date: Wed, 27 Mar 2024 13:20:34 +0100 Subject: [PATCH] fix notify trigger --- src/Store/DoctrineDbalStore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Store/DoctrineDbalStore.php b/src/Store/DoctrineDbalStore.php index cf4b818a2..601076bf4 100644 --- a/src/Store/DoctrineDbalStore.php +++ b/src/Store/DoctrineDbalStore.php @@ -367,7 +367,7 @@ public function setupSubscription(): void <<<'SQL' CREATE OR REPLACE FUNCTION %1$s() RETURNS TRIGGER AS $$ BEGIN - PERFORM pg_notify('%2$s'); + PERFORM pg_notify('%2$s', 'update'); RETURN NEW; END; $$ LANGUAGE plpgsql;