From 608ea1615250227a901baab4adff7ba68847b08c Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Tue, 7 Feb 2023 15:34:41 +0100 Subject: [PATCH] Document the requirement between product and tax --- deploy/product.sql | 1 + sqitch.plan | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/product.sql b/deploy/product.sql index cc3618e..7ddef6a 100644 --- a/deploy/product.sql +++ b/deploy/product.sql @@ -1,6 +1,7 @@ -- Deploy numerus:product to pg -- requires: schema_numerus -- requires: company +-- requires: tax begin; diff --git a/sqitch.plan b/sqitch.plan index 222815e..66933bb 100644 --- a/sqitch.plan +++ b/sqitch.plan @@ -39,6 +39,6 @@ company_user [schema_numerus user company] 2023-01-24T17:50:06Z jordi fita mas < tax_rate [schema_numerus] 2023-01-28T11:33:39Z jordi fita mas # Add domain for tax rates tax [schema_numerus company tax_rate] 2023-01-28T11:45:47Z jordi fita mas # Add relation for taxes contact [schema_numerus company extension_vat email extension_pg_libphonenumber extension_uri currency_code currency country_code country] 2023-01-29T12:59:18Z jordi fita mas # Add the relation for contacts -product [schema_numerus company] 2023-02-04T09:17:24Z jordi fita mas # Add relation for products +product [schema_numerus company tax] 2023-02-04T09:17:24Z jordi fita mas # Add relation for products parse_price [schema_public] 2023-02-05T11:04:54Z jordi fita mas # Add function to convert from price to cents to_price [schema_numerus] 2023-02-05T11:46:31Z jordi fita mas # Add function to format cents to prices