Could not find a relationship between 'ev_opportunities' and 'sportsbooks' in the schema cache

I just added a foreign key from my ev_opportunities table to my sportsbooks table just as I have done with other tables in the past.

For some reason, i get
{
  code: 'PGRST200',
  details: "Searched for a foreign key relationship between 'ev_opportunities' and 'sportsbooks' in the schema 'public', but no matches were found.",
  hint: null,
  message: "Could not find a relationship between 'ev_opportunities' and 'sportsbooks' in the schema cache"
}
Screenshot_2025-11-30_at_17.29.13.png
Was this page helpful?