Hi CakePHP programmers,

plz help me..

We have two tables - users and services.
services table needs to have two fields (served_by  & served_to) -
both referring to user_id. That case, what should be field names in
services table because as per cakephp file naming conventions "foreign
keys should always be: table_name_in_singular_form_id" and in our case
it should be user_id. But we can't have two fields with same field
name.

Any thoughts on how we should name the two fields for services table ?




regards,
            jiru
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to