File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -304,10 +304,6 @@ BEGIN
304304 ) THEN
305305 RAISE WARNING 'Role web_anon already exists. Reassigning owned DB objects to current_user().';
306306 REASSIGN OWNED BY web_anon TO SESSION_USER;
307- -- REVOKE ALL PRIVILEGES ON DATABASE current_database() FROM web_anon;
308- -- REVOKE ALL PRIVILEGES ON SCHEMA "${ opt . schema } " FROM web_anon;
309- -- REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA "${ opt . schema } " FROM web_anon;
310- -- REVOKE ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "${ opt . schema } " FROM web_anon;
311307 ELSE
312308 BEGIN
313309 CREATE ROLE web_anon NOLOGIN NOINHERIT;
@@ -322,10 +318,6 @@ BEGIN
322318 ) THEN
323319 RAISE WARNING 'Role postgrest already exists. Reassigning owned DB objects to current_user().';
324320 REASSIGN OWNED BY postgrest TO SESSION_USER;
325- -- REVOKE ALL PRIVILEGES ON DATABASE current_database() FROM postgrest;
326- -- REVOKE ALL PRIVILEGES ON SCHEMA "${ opt . schema } " FROM postgrest;
327- -- REVOKE ALL PRIVILEGES ON ALL TABLES IN SCHEMA "${ opt . schema } " FROM postgrest;
328- -- REVOKE ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA "${ opt . schema } " FROM postgrest;
329321 ELSE
330322 BEGIN
331323 CREATE ROLE postgrest LOGIN NOINHERIT NOCREATEDB NOCREATEROLE NOSUPERUSER PASSWORD '${ postgrestPassword } ';
You can’t perform that action at this time.
0 commit comments