OK , so asuming the db should store data about multiple types of posts (simple posts and complex preformated posts with many form fields ) . It's clear that the data for these posts should be stored in distinct tables .
The problem is that all these post tables should have some extra likes/comments tables that link to them . This will mean more and more tables/querying ...
Would you recommend polymorphic associations like in this answer? https://stackoverflow.com/a/2003042/997178 or this image :
But there is another problem with polymorphic assoc , not all posts (entities) can have comments. And if i would have to do a search to find a post knowing only it's objectid (fk from comments table) , i would have to search all posts table to find it ...
Or you would recommend the concrete aproach and have alot more tables and querying ?
http://martinfowler.com/eaaCatalog/concreteTableInheritance.html
P.S. : any tips will be greatly apreciated :)