Don't you just need a field called "parent_type" (or whatever) in the "Comments" table? You'd then be able to query all the comments, all the comments associated with one of the four tables, and (in conjuction with "parent_id") all the comments associated with a specific item in one of the four tables.