Copied as much as i could from Numerus, and made as few modifications as i could to adapt to this code base; it is, quite frankly, a piece of shit. We need to be able to create invoices from scratch “just in case”, apparently, but it is not yet possible to create an invoice from a booking.
17 lines
304 B
PL/PgSQL
17 lines
304 B
PL/PgSQL
-- Deploy camper:invoice_status to pg
|
|
-- requires: schema_camper
|
|
|
|
begin;
|
|
|
|
set search_path to camper, public;
|
|
|
|
create table invoice_status (
|
|
invoice_status text primary key,
|
|
name text not null
|
|
);
|
|
|
|
grant select on table invoice_status to employee;
|
|
grant select on table invoice_status to admin;
|
|
|
|
commit;
|