nix: no SUPERUSER for connection role
Change :USER to :PGUSER in SQL scripts
This commit is contained in:
committed by
Steve Chavez
parent
3b55a27ef3
commit
b0e395f495
Vendored
+1
-2
@@ -1,7 +1,6 @@
|
||||
\set AUTHENTICATOR current_user
|
||||
DROP ROLE IF EXISTS postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author;
|
||||
CREATE ROLE postgrest_test_anonymous;
|
||||
CREATE ROLE postgrest_test_default_role;
|
||||
CREATE ROLE postgrest_test_author;
|
||||
|
||||
GRANT postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author TO :USER;
|
||||
GRANT postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author TO :PGUSER;
|
||||
|
||||
Reference in New Issue
Block a user