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