Skip to content

Commit b3fc578

Browse files
committed
fix: supabase_admin authenticator membership snowflake
1 parent d4709ba commit b3fc578

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ begin;
9797
create role supabase_tmp superuser;
9898
set session authorization supabase_tmp;
9999
100+
-- to handle snowflakes that happened in the past
101+
revoke supabase_admin from authenticator;
102+
100103
do $$
101104
begin
102105
if exists (select from pg_extension where extname = 'timescaledb') then

0 commit comments

Comments
 (0)