campingmontagut/deploy/booking_status.sql
jordi fita mas d945f55096 Add “part” of the bookings’ management
“Part”, because it is not possible to add or actually manage any
booking yet, but it has the export feature that we need to validate the
project.
2024-01-18 21:05:30 +01:00

18 lines
332 B
PL/PgSQL

-- Deploy camper:booking_status to pg
-- requires: roles
-- requires: schema_camper
begin;
set search_path to camper, public;
create table booking_status (
booking_status text not null primary key,
name text not null
);
grant select on table booking_status to employee;
grant select on table booking_status to admin;
commit;