fix has_and_belongs_to_many relationship by adding migration for tags_posts table