18 lines
340 B
PL/PgSQL
18 lines
340 B
PL/PgSQL
-- Deploy numerus:expense_status to pg
|
|
-- requires: schema_numerus
|
|
-- requires: roles
|
|
|
|
begin;
|
|
|
|
set search_path to numerus, public;
|
|
|
|
create table expense_status (
|
|
expense_status text primary key,
|
|
name text not null
|
|
);
|
|
|
|
grant select on table expense_status to invoicer;
|
|
grant select on table expense_status to admin;
|
|
|
|
commit;
|