adding indexes on tables in migration scripts

missed one migration script in last commit

remove some empty lines

using the belongs_to index option to be more concise
Merge pull request #16258 from mattwarrenrnp/master

adding indexes on tables in migration scripts [ci skip]