numerus/deploy/tax_rate.sql

15 lines
256 B
PL/PgSQL

-- Deploy numerus:tax_rate to pg
-- requires: schema_numerus
begin;
set search_path to numerus, public;
create domain tax_rate as numeric
check (value > -1 and value < 1);
comment on domain tax_rate is
'A rate for taxes in the range (-1, 1)';
commit;