Created
August 28, 2022 09:27
-
-
Save MarshalOfficial/e3d7c54cdd694b7c527d64f172e11df3 to your computer and use it in GitHub Desktop.
create trigger to run after insert update delete on a table and call specific function for each row
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE TRIGGER user_changes AFTER INSERT OR UPDATE OR DELETE ON public.users FOR EACH ROW EXECUTE PROCEDURE change_trigger(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment