Re: Many to Many relationship issue

2009-07-15 Thread womble
so in my Database > > mind.. > > > User > > user_profile : user_id, profile_id, follower (set either true/false) > > [if you can follow your own Profile then you'd also add: owner (true/ > > false) ] &g

Re: Many to Many relationship issue

2009-07-15 Thread abhishekh
your own Profile then you'd also add: owner (true/ > false) ] > Profile > > > > -- View this message in context: http://www.nabble.com/Many-to-Many-relationship-issue-tp24466294p24493429.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~

Re: Many to Many relationship issue

2009-07-14 Thread womble
I'm only a cake noob, and I obviously don't know for sure about how your thinking of Users and Profiles. In my mind: User hasOne Profile Follower hasAndBelongsToMany Profiles (or prehaps instead of Profiles its Users) But User and Follower are essentially the same so in my Database mind.

Re: Many to Many relationship issue

2009-07-14 Thread joshua
w thing... I have one more Many to Many relationship > between users & profiles table. i.e followers table. > Questions, is how do i define 2 (profiles_users & followers table)Many to > Many relationship mapping in cakephp??? > -- > View this message in context

Many to Many relationship issue

2009-07-14 Thread abhishekh
relationship between users & profiles table. i.e followers table. Questions, is how do i define 2 (profiles_users & followers table)Many to Many relationship mapping in cakephp??? -- View this message in context: http://www.nabble.com/Many-to-Many-relationship-issue-tp24466294p24466294.html Sent