mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Add search_path parameter to supabase-auth env
To prevent querying wrong `users` table when public schema has table named `users`
This commit is contained in:
1 parent
a99a89937a
commit
1f0820fcbd
1 file changed
+1
-1
@@ -42,7 +42,7 @@ services:
|
||||
GOTRUE_MAILER_AUTOCONFIRM: 'true'
|
||||
GOTRUE_LOG_LEVEL: DEBUG
|
||||
GOTRUE_OPERATOR_TOKEN: ${OPERATOR_TOKEN}
|
||||
DATABASE_URL: 'postgres://postgres:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/postgres?sslmode=disable'
|
||||
DATABASE_URL: 'postgres://postgres:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/postgres?sslmode=disable&search_path=auth'
|
||||
|
||||
rest:
|
||||
container_name: supabase-rest
|
||||
|
||||
Reference in new issue
Block a user