http://manual.cakephp.org/appendix/conventions

Foreign keys should not affect the naming of a table. Nor would the
number of keys affect the naming of the table or of the fields.

Foreign keys, ideally, should be the name of the model + underscore +
'id'
So multiple foreign keys should not affect each other.

Maybe you forgot to tell us about some part of the scenario, but so
far everything you have stated is pretty normal, and very well covered
in the manual.

regards,
cook


On Apr 2, 11:51 am, "gwoo" <[EMAIL PROTECTED]> wrote:
> tables = plural (posts)
> jointables = alphabetic, (posts_tags)
> foreignKey = singular <tablename>_id (post_id)
> model = singular (Post)


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