Skip to content

Commit 054dbc1

Browse files
committed
fix: handle supabase_admin authenticator membership snowflake
1 parent 3cf6055 commit 054dbc1

File tree

1 file changed

+3
-0
lines changed
  • ansible/files/admin_api_scripts/pg_upgrade_scripts

1 file changed

+3
-0
lines changed

ansible/files/admin_api_scripts/pg_upgrade_scripts/common.sh

+3
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ begin;
106106
create role supabase_tmp superuser;
107107
set session authorization supabase_tmp;
108108
109+
-- to handle snowflakes that happened in the past
110+
revoke supabase_admin from authenticator;
111+
109112
do $$
110113
begin
111114
if exists (select from pg_extension where extname = 'timescaledb') then

0 commit comments

Comments
 (0)