I think the point here is, why not create a standard primary key? If
you ever want manual control over the join table it is expedient; It
is a database SAP and there is no healthy or clear reason to deviate
from it. ("because you can" is not a reason.)

On Jul 23, 7:54 am, rtanz <[EMAIL PROTECTED]> wrote:
> I have read in the manual the following:
>
> -- Table structure for table `posts_tags`
> --
>
> CREATE TABLE `posts_tags` (
>   `post_id` int(10) unsigned NOT NULL default '0',
>   `tag_id` int(10) unsigned NOT NULL default '0',
>   PRIMARY KEY  (`post_id`,`tag_id`)
> ) TYPE=MyISAM;
>
> Seems to say that i should not use the id field in the join tables, so
> im not sure now what to use whether follow the manual's advice or the
> advice in felix's article


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