Trying to work this out on a bit of a hangover day isn't the best idea so I'm asking for some help.
I have 3 tables that I need to relate:
news_item
event_type
whitelabel
news_item is just a table for storing news articles (title, body, etc).
event_type is basically a genre, i.e. music / sport / theatre / comedy / etc
whitelabel is a branded website.
A news item needs to be associated with multiple genres so that it displays in the correct section - i.e. if it's a musical comedy theatre production then it needs to display on the musical, comedy, and theatre pages.
BUT... this is dependent on which whitelabel is displaying the info - e.g. a whitelabel site may want to display it on the muscial and theatre pages but not the comedy page for some reason.
So... what associative tables do I need to link it all in this manner?
I have 3 tables that I need to relate:
news_item
event_type
whitelabel
news_item is just a table for storing news articles (title, body, etc).
event_type is basically a genre, i.e. music / sport / theatre / comedy / etc
whitelabel is a branded website.
A news item needs to be associated with multiple genres so that it displays in the correct section - i.e. if it's a musical comedy theatre production then it needs to display on the musical, comedy, and theatre pages.
BUT... this is dependent on which whitelabel is displaying the info - e.g. a whitelabel site may want to display it on the muscial and theatre pages but not the comedy page for some reason.
So... what associative tables do I need to link it all in this manner?