Skip to content

Instantly share code, notes, and snippets.

@geobabbler
Created March 31, 2020 16:33
Show Gist options
  • Save geobabbler/094cf163062645d1e2afb14360be2340 to your computer and use it in GitHub Desktop.
Save geobabbler/094cf163062645d1e2afb14360be2340 to your computer and use it in GitHub Desktop.
CREATE TRIGGER jhu_county_trigger
AFTER UPDATE
ON public.jhu_county
FOR EACH ROW
WHEN(NEW.watched = TRUE)
EXECUTE PROCEDURE public.jhu_county_watched();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment