https://supabase.com/ logo
How to connect to custom schema? I did: ```js cre...
# javascript
r
How to connect to custom schema? I did:
Copy code
js
createClient(
  'xxx.supabase.co',
  'xxx',
  { schema: 'otherschema' }
)
But now every request gives me an error 406,
Not Acceptable
. Am I missing something ?
Nevermind, I quickly found a solution as asking the question gave me another idea. I had to expose the schema in the supabase console under settings -> api Hope it can help someone in the future 🙂