Last active
August 29, 2015 14:00
-
-
Save qpfiffer/380ab72dd9a6535f8ad9 to your computer and use it in GitHub Desktop.
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
select * from django_snailtracker_action as ac | |
join django_snailtracker_snailtrack as st on st.id = ac.snailtrack_id | |
join django_content_type as ct on st.content_type_id = ct.id | |
where ct.model = 'supplier' and '"invoiced"' in (select value::text from json_array_elements(columns_changed::json)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment