1 Reply
Someone may have a better one but this is how id do it
then add the uniqe indexes / indexes for your querying needs, probably the follower_user_id and following_user_id and to prevent overlapping follows
follower_user_id
the id of the user who doing the following (currentUser)
following_user_id
the id of the user being followed