In my opinion, the better way is defining these two tables with their business name separately. e.g. profiles_followings profiles_followersAnd there is another way to fix this is add a 'type' column to distinct follower and following in one table.
On Wed, Jul 15, 2009 at 7:35 AM, abhishekh <[email protected]> wrote: > > > Hi, I have a quick question about Many to Many relationship works in > cakephp. > I have two priamry tables. 1)users 2)profiles. There is Many to Many > relationship between these tables i.e profiles_users table. Till here its > fine. > Now, here is a new 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: > http://www.nabble.com/Many-to-Many-relationship-issue-tp24466294p24466294.html > Sent from the CakePHP mailing list archive at Nabble.com. > > > > > -- Thanks Joshua 5span Inc. <https://www.5span.com> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
