Quote:
Originally Posted by elmartino
...is it usual to associate this with only the users table (user_id) or to both the users and the clubs table?
|
the former
let's say you get a situation where a user changes from one club to another
you would normally (no pun intended) just change the user's club link in the users table and you're finished
but if you have linked the threads table to both users and clubs, then you have an
update anomaly -- when a user changes clubs, you would not only have to update the users table, but also the threads table, changing every thread the user is involved in
the pun i made just then was in reference to
normalization -- linking to both users and clubs in the threads table breaks third normal form
