add missing foreign key indexes.