Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Adjusted search_path for postgres user

Scott Pritchardb882b96bac6c
diff --git a/docker/dockerfiles/postgres/auth-schema.sql b/docker/dockerfiles/postgres/auth-schema.sql
index 5f94a5dd281..1fab810cb39 100644
--- a/docker/dockerfiles/postgres/auth-schema.sql
+++ b/docker/dockerfiles/postgres/auth-schema.sql
@@ -88,6 +88,6 @@ $$ language sql stable;
GRANT ALL PRIVILEGES ON SCHEMA auth TO postgres;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA auth TO postgres;
GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA auth TO postgres;
-ALTER ROLE postgres SET search_path = "$user", public, auth;
+ALTER ROLE postgres SET search_path = "$user", auth, public;
GRANT USAGE ON SCHEMA auth TO anon, authenticated, service_role;