Skip to content

Commit ce49a14

Browse files
committed
fix: set default_txn_read_only on supabase_read_only_user
1 parent 198cf69 commit ce49a14

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- migrate:up
2+
alter role supabase_read_only_user set default_transaction_read_only = on;
3+
4+
-- migrate:down

nix/tests/expected/roles.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ order by rolname;
8686
supabase_admin | {"search_path=\"$user\", public, auth, extensions",log_statement=none}
8787
supabase_auth_admin | {search_path=auth,idle_in_transaction_session_timeout=60000,log_statement=none}
8888
supabase_functions_admin |
89-
supabase_read_only_user |
89+
supabase_read_only_user | {default_transaction_read_only=on}
9090
supabase_replication_admin |
9191
supabase_storage_admin | {search_path=storage,log_statement=none}
9292
(29 rows)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy