I need to make a self joining table called Friendships.This table would grab the user ids of those who’ve accepted friend requests from one another and place them in the friendship table as suchfriendId user1_id user2_idBut I can not for the life of me figure how to set this up in my models. Anybody mind helping me out here?
Submitted June 04, 2019 at 04:24PM by reactionjs
No comments:
Post a Comment