This commit is contained in:
Laurent Destailleur 2022-02-10 19:05:05 +01:00
parent 2c6b6ce4d1
commit 4da2056021
2 changed files with 6 additions and 0 deletions

View File

@ -16,4 +16,7 @@
--
-- ===========================================================================
-- Table used only when PRODUIT_MULTIPRICES is set (prices per level) + PRODUIT_MULTIPRICES_ALLOW_AUTOCALC_PRICELEVEL is set
-- A checkbox become available on product to allow to set price rules
ALTER TABLE llx_product_pricerules ADD CONSTRAINT unique_level UNIQUE (level);

View File

@ -16,6 +16,9 @@
--
-- ===========================================================================
-- Table used only when PRODUIT_MULTIPRICES is set (prices per level) + PRODUIT_MULTIPRICES_ALLOW_AUTOCALC_PRICELEVEL is set
-- A checkbox become available on product to allow to set price rules
CREATE TABLE llx_product_pricerules
(
rowid INTEGER PRIMARY KEY NOT NULL AUTO_INCREMENT,