How do you design a table and model for records which contain 2
references (foreign keys) to the same table?

e.g. users table contains users, friends table contains user1_id and
user2_id, creating a relationship between two users.

--

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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=.


Reply via email to