code:"PGRST200"details:"Searched for a foreign key relationship between 'channels' and 'agents' in the schema 'public', but no matches were found."hint:"Perhaps you meant 'agent_channel' instead of 'agents'."message:"Could not find a relationship between 'channels' and 'agents' in the schema cache"
code:"PGRST200"details:"Searched for a foreign key relationship between 'channels' and 'agents' in the schema 'public', but no matches were found."hint:"Perhaps you meant 'agent_channel' instead of 'agents'."message:"Could not find a relationship between 'channels' and 'agents' in the schema cache"
What am I doing wrong here? The only thing I can see is that it's a naming issue
id
id
vs
uuid
uuid
- is this a requirement?
Incidentally, the type inference is correct. If I hover
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.