Expose Schema via SQL Query
Hey guys,
I was wondering if Supabase allows us to expose a newly created schema via SQL query to the Data API.
We’d need this for our automated onboarding process.
3 Replies
Using Custom Schemas | Supabase Docs
You need additional steps to use custom database schemas with data APIs.
I assume you mean expose the schema for the API calls. In addition to setting up permissions (link provided by fieryduck), expose the schema using management api https://supabase.com/docs/reference/api/v1-update-postgrest-service-config
You'll have to provide the schema names which are already exposed as well. For example
Thats exactly what i meant, thank you!