Just want to make sure I'm doing this correctly.
These are my tables:
table 1: members (user_id, username, firstname, lastname)
table 2: events (event_id, event_title, start_date, end_date)
table 3: member_feed (feed_id, feed_field, feed_date
When I want to pull information from table 2 or 3 to display on the website & ensure it is from the correct user_id from table 1, am I duplicatiing my user_id field in each table and setting it as a foreign key?
Or, is there a different way I should be doing it?
Thanks!