add indexes for foreing_keys