Refactor index views for resources
Recreate schema