anyone can tell me for sure whether i should be using a separate id
field for join tables or whether the primary key should be a compound
key made up of the foreign keys?

i.e.

posts_tags
PK id
      post_id
      tag_id

OR

posts_tags
PK post_id + tag_id

if both are possible i would like to know what are the advantages of
using one over the other tnx


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to