The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs - custom schemas (#27365)
hallidayo247a57dd54a4
diff --git a/apps/docs/content/guides/api/using-custom-schemas.mdx b/apps/docs/content/guides/api/using-custom-schemas.mdxindex 52cf16c3f5f..8aacc3da614 100644--- a/apps/docs/content/guides/api/using-custom-schemas.mdx+++ b/apps/docs/content/guides/api/using-custom-schemas.mdx@@ -4,7 +4,19 @@ title: 'Using Custom Schemas'description: 'You need additional steps to use custom database schemas with data APIs.'----By default, your database has a `public` schema which is automatically exposed on data APIs. You can also expose custom database schemas - to do so you need to follow these steps:+By default, your database has a `public` schema which is automatically exposed on data APIs.++## Creating custom schemas++You can create your own custom schema/s by running the following SQL, substituting `myschema` with the name you want to use for your schema:++```sql+CREATE SCHEMA myschema;+```++## Exposing custom schemas++You can expose custom database schemas - to do so you need to follow these steps:1. Go to [API settings](https://supabase.com/dashboard/project/_/settings/api) and add your custom schema to "Exposed schemas".2. Run the following SQL, substituting `myschema` with your schema name: