On Mar 1, 5:12 am, "[email protected]" <[email protected]>
wrote:
> I have the following 2 tables:
>
> users
> assets
>
> each user has many assets, but any users can allow other users to
> access their assets

You could set up a HasAndBelongsToMany relationship between the two
models. You would still need to create a third table for this kind of
relationship though.
--~--~---------~--~----~------------~-------~--~----~
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