numerus/deploy/new_quote_product.sql

20 lines
319 B
PL/PgSQL

-- Deploy numerus:new_quote_product to pg
-- requires: schema_numerus
-- requires: discount_rate
begin;
set search_path to numerus, public;
create type new_quote_product as (
product_id integer,
name text,
description text,
price text,
quantity integer,
discount_rate discount_rate,
tax integer[]
);
commit;