Powered by
How to connect to custom schema? I did: ```js cre...
# javascript
r
Relisora
07/08/2022, 10:53 PM
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 ?
Relisora
07/08/2022, 10:55 PM
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 🙂
Previous
Next