Hello,

Since you are adding attributes to a relation, it will not be a pure
"bridge table".
You should create a table called "Ratings" with an attribute and the
relations to musics and users tables, so it could have a view where
you can add the rating attribute. Same for Privacy table.

On 16 mar, 11:02, John Tadros <[email protected]> wrote:
> Hello All,
>
> I currently have 2 tables: users & musics
> I want to have two different Many To Many relations between them:
>
> users_musics_rating which would store the user's rating for a specific
> music
> users_musics_privacy which determines which user should see a specific
> music
>
> how can this be done in cakePHP ? as I found in the documentation many
> to many tables are defined by the name of first table_name of second
> table
>
> So how to hanlde that in my case ?
>
> Best Regards
> John

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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