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