Skip to content

Instantly share code, notes, and snippets.

@KamilLelonek
Created September 16, 2018 16:37
Show Gist options
  • Save KamilLelonek/7cecc57dd83f271c93eb691358b156b8 to your computer and use it in GitHub Desktop.
Save KamilLelonek/7cecc57dd83f271c93eb691358b156b8 to your computer and use it in GitHub Desktop.
CREATE TRIGGER accounts_changed
AFTER INSERT OR UPDATE
ON accounts
FOR EACH ROW
EXECUTE PROCEDURE notify_account_changes()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment