File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 4
4
DO $$
5
5
BEGIN
6
6
ALTER FUNCTION auth .uid owner to supabase_auth_admin;
7
+ EXCEPTION WHEN OTHERS THEN
8
+ RAISE WARNING ' Error encountered when changing owner of auth.uid to supabase_auth_admin' ;
9
+ END $$;
10
+
11
+ DO $$
12
+ BEGIN
7
13
ALTER FUNCTION auth .role owner to supabase_auth_admin;
14
+ EXCEPTION WHEN OTHERS THEN
15
+ RAISE WARNING ' Error encountered when changing owner of auth.role to supabase_auth_admin' ;
16
+ END $$;
17
+
18
+ DO $$
19
+ BEGIN
8
20
ALTER FUNCTION auth .email owner to supabase_auth_admin;
9
21
EXCEPTION WHEN OTHERS THEN
10
- RAISE WARNING ' Error encountered when changing owner of auth.uid, auth.role or auth. email to supabase_auth_admin' ;
22
+ RAISE WARNING ' Error encountered when changing owner of auth.email to supabase_auth_admin' ;
11
23
END $$;
12
24
-- migrate:down
You can’t perform that action at this time.
0 commit comments