Add indexes to all foreign keys
Merge branch 'indexes'