I have one table with USERS and another table with RSS FEED URLS. Both are InnoDB type.
Each user may be subscribed to any number of the feeds.
I'm trying to figure out the best way to keep record of which feeds users are subscribed to.
One way is to have a feed_ids varchar column in users table and separate each. Is there a better way or is this ok?
USERS TABLE
+---+----------+
|id | feed_ids |
+---+----------+
|1 | 1,2,3 |
+---+----------+
|2 | 2,3 |
+---+----------+
|3 | 1,2 |
+---+----------+