On comment_post, is the primary key "id" really necessary? Doesn't the unique pairing of both values help cake to figure it out ? .. i mean.. its a pairing of two already unique IDs, so why there should be a need for another unique ID in the JoinTable?


2006/9/25, Daniel Schmitz <[EMAIL PROTECTED]>:

great !

tanks !


On 9/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> HABTM must have an intermediate table that contains the lookup ids of
> the relations.
>
> Post
> id
>
> Comment
> id
>
> comment_post
> id
> post_id
> comment_id
>
>
> >
>


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

Reply via email to