8 lines
413 B
SQL
8 lines
413 B
SQL
DROP ROLE IF EXISTS postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author, postgrest_test_superuser;
|
|
CREATE ROLE postgrest_test_anonymous;
|
|
CREATE ROLE postgrest_test_default_role;
|
|
CREATE ROLE postgrest_test_author;
|
|
CREATE ROLE postgrest_test_superuser WITH SUPERUSER;
|
|
|
|
GRANT postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author, postgrest_test_superuser TO :PGUSER;
|