I am creating an app where users can create content, other users can like, comment those posts, now I want to implement sharing feature. I want to know what would the best way to implement this. Following is the table structure for posts
| post_id | post_content | post_user | post_date |
Users can see post only from people they are following.
First of all I thought I would add another row to the above posts table but that would create unnecessary duplication of data, then I thought of adding rows to my user_action table in which I am storing post likes and comments, but thats making the system complicated..
I searched over SO, but couldn't find anything, or may be my search terms were not reachable to those questions.
Is there any better way for achieving this?