Skip to content

Commit

Permalink
fix notify trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Mar 27, 2024
1 parent 8b0a476 commit 121aa9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store/DoctrineDbalStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 121aa9d

Please sign in to comment.