54367580 add indexes

Merge from master 1.8.1
Migration 010 to add indexes on uuid_resources table