# Supabase Plugin Custom Schema

**URL:** <https://community.weweb.io/t/supabase-plugin-custom-schema/16653>\
**Category:** Ask us anything\
**Tags:** supabase\
**Created:** [February 19, 2025, 2:27pm UTC](https://community.weweb.io/t/supabase-plugin-custom-schema/16653 "2025-02-19T14:27:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Makki](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/makki/32/12532_2.png) [@Makki](https://community.weweb.io/u/Makki)\
**Post date:** [February 19, 2025, 2:27pm UTC](https://community.weweb.io/t/supabase-plugin-custom-schema/16653/1 "2025-02-19T14:27:05Z")

</div>

Hello everyone,

Im new to WeWeb, trying to figure out if the Supabase data plugin only selects Public schema or can also select, insert etc into custom schemas?

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [February 19, 2025, 3:32pm UTC](https://community.weweb.io/t/supabase-plugin-custom-schema/16653/2 "2025-02-19T15:32:59Z")

</div>

Only public possible at the moment, unless you set it up yourself with a little bit of code.

---

<div class="post-metadata">

**Author:** ![Makki](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/makki/32/12532_2.png) [@Makki](https://community.weweb.io/u/Makki)\
**Post date:** [February 20, 2025, 2:16pm UTC](https://community.weweb.io/t/supabase-plugin-custom-schema/16653/3 "2025-02-20T14:16:46Z")

</div>

Thanks @Broberto

So my options are either code as you suggested or use REST with header as accept-profile=my\_schema

---

<div class="post-metadata">

**Author:** ![andreas.schaefer](https://avatars.discourse-cdn.com/v4/letter/a/cab0a1/32.png) [@andreas.schaefer](https://community.weweb.io/u/andreas.schaefer)\
**Post date:** [April 8, 2025, 1:40pm UTC](https://community.weweb.io/t/supabase-plugin-custom-schema/16653/4 "2025-04-08T13:40:34Z")

</div>

can you explain further… I already adjusted the function they use to return another schema but that doesnt work for collections

---

<div class="post-metadata">

**Author:** ![Yaj](https://avatars.discourse-cdn.com/v4/letter/y/eb8c5e/32.png) [@Yaj](https://community.weweb.io/u/Yaj)\
**Post date:** [April 8, 2025, 10:23pm UTC](https://community.weweb.io/t/supabase-plugin-custom-schema/16653/5 "2025-04-08T22:23:02Z")

</div>

You can create postgres functions in your public database that either calls functions in the other schemas or preforms database actions. You can then either call this on weweb or an edge function.
