Updated schema sql to add new pair id indexes