I’m currently creating a simple (at least so I thought) structure of
user favorites. Basically users can add certain ‘objects’ to their
list of favorites.
Here is my current structure (simplified)
The table favorite just has a two fields : user_id, book_id
Is this how you would do it? What method would you have in User to get
a list of favorite books?
Thanks for reading and any thoughts you may have of this!