I have a comments table and allow people to edit their comments. Instead of overwriting comments I create a new comment and associate it to its "parent". Additionally, I add the child information to the parent.
id, user_id, comment_id__parent, comment_id__child, comment, created_dt
Now my problem is that I would like to get all comments of a specific user but only the latest update of a comment.
This is giving me a huge headache for a while and I would appreciate very much your input!