If you do a social network, then how should the database be arranged. I think that there are at least 4 tables:
- Stores id and custom settings
- Stores id and data (Name, surname, university, etc.)
- Stores id and posts on the wall
- Stores id and subscriptions
All tables are linked by id foreign key
Is this structure normal? If you are in the news, then after 4 tables by id takes out all the subscriptions and takes from each message from 3 tables?