Revert "Revert "Revert "Revert "Adding index to table Subcategories pointing to Categories""""

This reverts commit bc1f6cae84db44de26a0f1448237ac1ee8194e0a.