numerus/deploy/schema_numerus.sql

15 lines
284 B
PL/PgSQL

-- Deploy numerus:schema_numerus to pg
-- requires: roles
begin;
create schema numerus;
comment on schema numerus is 'The main application schema';
grant usage on schema numerus to guest;
grant usage on schema numerus to invoicer;
grant usage on schema numerus to admin;
commit;