suppose we have two tables:
- Brands
- Users
i want to design a system where:
- Brands can follow Brands
- Brands can follow Users
- Users can follow Brands
- Users can follow Users
this is what i have done so far:
- ed_id: user_id of the followed
- er_id: user_id of the follower
note: the two tables are different but i haven't written all the attributes to keep things simple
while this works fine among the Users and i can return the followers for each user with some simple queries, i don't know how to establish a relationship between Users and Brands so that they can follow each other.
any help is appreciated!
