Skip to content

Commit

Permalink
be more specific in our reference to modified_on
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Jul 24, 2018
1 parent 392170b commit 28ae8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion archiver.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ SELECT rec.visibility, row_to_json(rec) FROM (
labels_agg.data as labels,
mm.created_on as created_on,
sent_on,
modified_on
mm.modified_on as modified_on
FROM msgs_msg mm JOIN contacts_contacturn ccu ON mm.contact_urn_id = ccu.id JOIN orgs_org oo ON ccu.org_id = oo.id
JOIN LATERAL (select uuid, name from contacts_contact cc where cc.id = mm.contact_id AND cc.is_test = FALSE) as contact ON True
LEFT JOIN LATERAL (select uuid, name from channels_channel ch where ch.id = mm.channel_id) as channel ON True
Expand Down

0 comments on commit 28ae8c0

Please sign in to comment.