add index to foreign key