I am working on an Android/Web app. It allows people to comments content, and now I need to add a "Like" system.
My question is: how can I know who liked a comment ? People and Comments have Id, should I store people's ID in a SQL table for each comment ?
Of course, People cannot like twice a same comment, so I need to store the people's Id somewhere ...