I think there are some problems in the chapter. In requirement we said we will take that only user will post feed and in db design we are taking entity post also.
In feedItem table , what will be userId and entityId, when
- the user is making a post/
- also how would you identify the type of entity from entity id. there are lot if missing dots.