I need to set up a HABTM association between two tables: users and
teams.

The problem I'm having is that the primary key in the users table is
called "user_id", not "id". (I am not allowed to change this).

How do I set up my join table and association so it associates Team.id
with User.user_id, not User.id?

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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