numerus/deploy/tax_rate.sql

15 lines
254 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 country_code is
'A tax rate in the range (-1, 1)';
commit;