When I look at the examples in the cakephp tutorial the table
posts_tags has a primary key defined of POST_ID and TAG_ID.
But the table- definition of the table aros_acos from the acl scripts
has a primary key defined of only one attribute,  ID. It is not using
the combination of the foreign keys as a primary key.

Is it neccessary to define a primary key in de jointable of a habtm
assocation defined of only one column (ID) or is it ok to use
combination of the foreignkeys as primary key? What is the recommended
way to define the primary key in the habtm asscociation?


--~--~---------~--~----~------------~-------~--~----~
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