coding the model for categories and sub-categories
edited sub_category_category_id_fk foreign key contraint