added reference to type in posts table for comments