What is the recommended way to define the primary key in a join table
for the habtm associations? Should i use the combination of the
foreign-keys as primary key or should i create an extra id column.

The examples of the habtm association in the cake manual (table
posts_tags) uses the combination of the foreing keys as primary key.
But the aros_acos table from the acl script defines a extra id column.
This is very confusing.
So, what is the recommended way to define the primary key in a habtm
association?


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