Closed barryoneill closed 6 years ago
Issue #14 - Add 'hasAttachments' flag to /rest/messages model. Decided against patching existing data, as the simplest patch:
update message set has_attachments=1 where message_body like '%Content-Disposition: attachment%';
could be too expensive for those with gigs of attachments. (I.e. that chap that complains about performance of his large DB).
Also: :football: :football: GO EAGLES :football: :football:
Issue #14 - Add 'hasAttachments' flag to /rest/messages model. Decided against patching existing data, as the simplest patch:
update message set has_attachments=1 where message_body like '%Content-Disposition: attachment%';
could be too expensive for those with gigs of attachments. (I.e. that chap that complains about performance of his large DB).
Also: :football: :football: GO EAGLES :football: :football: