What is a good table structure or database setup for doing favorites or follows like on Twitter?
|
01-26-2013, 09:30 PM
Post: #1
|
|||
|
|||
What is a good table structure or database setup for doing favorites or follows like on Twitter?
I am trying to do a favorites feature where users can add items to their favorites like on Twitter (follows) or Youtube.
Ads |
|||
01-26-2013, 09:38 PM
Post: #2
|
|||
|
|||
Have a table with columns username and following
With each new follow, a new row is created with the username and the name the user is following. Ads |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)