Comments
What’s a Blog without comments? With this in mind I’ve created the [data] table as a generic storage for everything. The view [post] will return all classic posts (data_type=’p'), while a planned view [comments] will return all comments (data_type=’c').
The advantage of this is that the search function only has to look in 1 table. We could even add further data types for attachments (’a') and images (’i') later and still have them taggable and searchable.
