20 lines
389 B
PL/PgSQL
20 lines
389 B
PL/PgSQL
-- Deploy camper:currency to pg
|
|
-- requires: roles
|
|
-- requires: schema_camper
|
|
-- requires: currency_code
|
|
|
|
begin;
|
|
|
|
set search_path to camper, public;
|
|
|
|
create table currency (
|
|
currency_code currency_code primary key,
|
|
currency_symbol text not null,
|
|
decimal_digits integer not null default 2
|
|
);
|
|
|
|
grant select on table currency to employee;
|
|
grant select on table currency to admin;
|
|
|
|
commit;
|