Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created July 6, 2016 15:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save robinsmidsrod/c678c4a710170d6cc642d1f8dacf4252 to your computer and use it in GitHub Desktop.
select *
from history
where trigger_table = 'object'
and trigger_old->>'object_id' = '155c705d-7c21-4828-ba6f-15172046a169'
order by triggered_at desc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment