2023-01-28 13:18:58 +00:00
|
|
|
-- 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);
|
|
|
|
|
2023-02-10 18:00:08 +00:00
|
|
|
comment on domain tax_rate is
|
|
|
|
'A rate for taxes in the range (-1, 1)';
|
2023-01-28 13:18:58 +00:00
|
|
|
|
|
|
|
commit;
|