Supabase

S

Supabase

Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.

Join

Creating storage buckets by code (with migrations or config) and seeding files

is there any way to create storage buckets through config or migration SQL? And bonus points if anyone knows how to seed files automatically. Right now when we run supabase db reset we have to recreate the buckets by hand, which isn’t great and sometimes they get set up wrong and cause issues. We also have a few files we always need for running some features of the application, and we’re adding those manually after every reset. Would be awesome if this could all happen automatically like DB migrations/seeds. Anyone done this before?...

Request to reset project keys due to leakage

We have experienced a leakage of sensitive project information: project URL, project ID, anon key, and service_role key have become publicly accessible. We would like to rotate all project keys to ensure that: 1. The old keys are immediately invalid. 2. Access to the database using the old keys is no longer possible....

"Failed to send a request to the Edge Function" - but function got invoked

I just started learning supabase. Following edge function got created without jwt verification. ``` Deno.serve(async () => { const name = "World" const data = {...
No description

Swift SDK 2.37.0 Added Massive New Dependencies, Breaking My Build

I was using 2.36.0 without any issues, but after updating to 2.37.0, my project suddenly pulled in a huge number of new dependencies, including things like Facebook-related frameworks, Cleric, and a bunch of others. After the update, both my macOS project and the app started crashing immediately. For now, I had to pin the SDK back to 2.36.0 to keep everything stable. My questions:...

Cannot access new service role API key from Edge Function runtime

Hi, so, apparently Supabase has deprecated their bad authentication scheme in favor of an even more broken one, while addressing none of the issues with the old one, and not even bumping the major version number to announce the breaking change. Cool - that's the quality I'm used to at this point. One particular pain point with the newly introduced API keys, though, is that I have a bunch of Edge Functions which I only want to be accessible to users that know the service role key. The reasoning is that these Edge Functions perform system maintenance or data import tasks that regular users should not be able to control, and they only get called via an admin curling them....

pgsodium - what do you recommend instead?

Hey there! Just researching how best to store particularly sensitive data per-user in a compliant way. (need to store bank number and sort code, for invoice generation) I notice https://supabase.com/docs/guides/database/extensions/pgsodium is pending deprecation, what is recommended instead?...

Auth and postgrest unhealthy

My users cannot access the application due to authentication issues. I created a ticket yesterday afternoon and it still hasn't been resolved. They tell me that the root is full, and I can't find a way to fix this. I have restarted the project more than once. The error that appears: Your project is about to exhaust its available disk space, and may become unresponsive once fully exhausted You can opt to increase your disk size up to 200GB on the Database Settings page....

How to do HTTP Request on the mart scheme?

Hi everyone, I have a table mart.dim_product inside a custom schema mart. The schema is included in pgrst.schemas (public,mart), and I’ve granted full privileges (USAGE, SELECT, etc.) to postgres, service_role, and authenticated. However, the Supabase REST API still returns "relation 'public.dim_product' does not exist" — it seems PostgREST doesn’t recognize the table in the mart schema even though the configuration looks correct....

Not able to upgrade project from Nano->Micro

I'm trying to upgrade our production project (ptmwvtpfgsscqbnvzwmv) from Nano to Micro. I review the changes and confirm. It says that it is restarting my project and upgrading, but after a few minutes it completes and the project has not been upgraded. Any help appreciated. I've now tried to perform the upgrade 3 times without success. I've tried to check the logs, but don't see any error message. Any help appreciated 🙏...

Used Github to set up my account

I used github login, which is showing me an error now that it's not a primary email. But i cant access it or get through to Github support at all (absolutely no support). How do I re-access my database without my github login, there's no password/user recovery or any such options that I can use. Supabase support is not responding either. It's been 10 days since i had access @supabase #help-and-questions...

legend state realtime with auth

Hey all, I am building a mobile expo app and working on implementing local-first realtime with legend state. I've followed this tutorial. I've successfully implemented a basic local-first realtime for a simple feature in my app with RLS policies disabled. However, when I enable RLS policies it no longer works. ...

Any plans for Supabase frontend UI for user management?

Any plans to have a frontend UI like Auth0 does for at least user login instad of creating it myself

Migrating my existing Supabase DB to Drizzle — possible or not?

Hey! Quick question. I’ve got a pretty big Supabase project where everything was built in the dashboard (tables, RLS, triggers, functions, etc.). I’d love to switch to Drizzle so my whole DB is managed by code. Before I try it: ...

Project Incomplete/Unhealthy 10 Minutes after Recovery

Hello, I just unpaused my project after a few weeks. For some reason, I'm getting a variety of errors, but nothing seems to be progressing at all. It seems to be stuck in a failed state. Does anyone know what to do about this? Do I have to wait a few hours, or is this a known issue?...
No description

RLS compare with ROLE for permission

Hello, how can i compare the ROLE from my profile table to give access to data? I have a profile table like (example): ``` id uuid references auth.users on delete cascade not null, role user_role not null default 'guest',...

Error C# in Unity: "Calling context '' is expected to be a member of or derived from `BaseModel`"

I'm just trying to update one column from a table "users_profile" but I receive this error. I already double checked the case sensitive, it's all matching. I have one trigger in Supabase when a user is registered, it sets the username to empty, idk if this is causing trouble. I get the error in the "var profileUpdate = await Supabase"...
No description

Unable to run supabase link

pnpm --filter web supabase link --debug Using project host: supabase.co Supabase CLI 2.48.3 Loading project ref from file: supabase/.temp/project-ref...

Pgsodium cipher text invalid

After the maintenance several of my vault entries stopped working. When I select them pgsodium returns a cipher text error. This issue could occur when containers start with different timezones. Please check this in your deployments...

Can't access to my supabase account

Hello, i am facing this error and i cannot access to my supabase databses, i want to contact the support but i couldn't. Is there anyone can help me please ?
No description