15 lines
329 B
PL/PgSQL
15 lines
329 B
PL/PgSQL
-- Deploy tipus:schema_public to pg
|
|
-- requires: roles
|
|
|
|
begin;
|
|
|
|
revoke create on schema public from public;
|
|
revoke usage on schema public from public;
|
|
|
|
grant usage on schema public to authenticator;
|
|
grant usage on schema public to guest;
|
|
grant usage on schema public to publisher;
|
|
grant usage on schema public to admin;
|
|
|
|
commit;
|