Created
September 25, 2014 15:33
-
-
Save brannn/7f5e8010fe181b432d19 to your computer and use it in GitHub Desktop.
postgresql update timestamp trigger
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 update_last_request BEFORE UPDATE | |
| ON requests FOR EACH ROW EXECUTE PROCEDURE | |
| update_modified_ctimestamp(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment