Prefixes all roles used in test suite with postgrest_test

This commit is contained in:
Diogo Biazus
2015-12-08 12:03:46 -05:00
parent 8b4cb4be6e
commit 4cc0189ac9
4 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
DROP ROLE IF EXISTS postgrest_test_authenticator, postgrest_anonymous, test_default_role, postgrest_test_author;
DROP ROLE IF EXISTS postgrest_test_authenticator, postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author;
CREATE ROLE postgrest_test_authenticator WITH login;
CREATE ROLE postgrest_anonymous;
CREATE ROLE test_default_role;
CREATE ROLE postgrest_test_anonymous;
CREATE ROLE postgrest_test_default_role;
CREATE ROLE postgrest_test_author;
GRANT postgrest_anonymous, test_default_role, postgrest_test_author TO postgrest_test_authenticator;
GRANT postgrest_test_anonymous, postgrest_test_default_role, postgrest_test_author TO postgrest_test_authenticator;