add index to category_id on posts