foreignkeys > index and set up relationships