added in the foreign key index to the migrations