Closed iamranger closed 5 years ago
Done
this feature reuses confa_reports table - a record is created when message is first viewed, and confa_posts.views is only updated if such record does not exist.
Needs additional work:
We no longer reset views on edit, instead.
instead of simply total number of reads.
we'll need an extra table intersecting posts and users, but who cares?
first read inserts into the table, all subsequent reads only increase the counter if there is no such record.