Skip to content

Instantly share code, notes, and snippets.

@QiMata
Created June 18, 2020 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QiMata/7f7ea3929029bd815821bdcddf444182 to your computer and use it in GitHub Desktop.
Save QiMata/7f7ea3929029bd815821bdcddf444182 to your computer and use it in GitHub Desktop.
A function for creating the trigger
CREATE TRIGGER address_versioning_trigger
BEFORE UPDATE OR DELETE ON location.address
FOR EACH ROW EXECUTE PROCEDURE address_trigger_function();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment