16 lines
350 B
MySQL
16 lines
350 B
MySQL
|
-- Deploy numerus:schema_public to pg
|
||
|
-- requires: roles
|
||
|
|
||
|
begin;
|
||
|
|
||
|
revoke create on schema public from public;
|
||
|
revoke usage on schema public from public;
|
||
|
|
||
|
alter default privileges revoke execute on functions from public;
|
||
|
|
||
|
grant usage on schema public to guest;
|
||
|
grant usage on schema public to invoicer;
|
||
|
grant usage on schema public to admin;
|
||
|
|
||
|
commit;
|