Skip to content

Commit

Permalink
Merge pull request #557 from patchlevel/fix-notify-trigger
Browse files Browse the repository at this point in the history
fix notify trigger
  • Loading branch information
DavidBadura authored Mar 27, 2024
2 parents 8b0a476 + 121aa9d commit b774028
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 b774028

Please sign in to comment.