From 092b66a7f1273aff1c92b26a738fb90b8a528516 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 4 Sep 2020 13:35:16 +0200 Subject: [PATCH] Add variation_ref_ext field --- htdocs/install/mysql/migration/12.0.0-13.0.0.sql | 1 + .../install/mysql/tables/llx_product_attribute_combination.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/htdocs/install/mysql/migration/12.0.0-13.0.0.sql b/htdocs/install/mysql/migration/12.0.0-13.0.0.sql index 934c8495d03..cc460f5ba42 100644 --- a/htdocs/install/mysql/migration/12.0.0-13.0.0.sql +++ b/htdocs/install/mysql/migration/12.0.0-13.0.0.sql @@ -206,6 +206,7 @@ ALTER TABLE llx_recruitment_recruitmentcandidature ADD UNIQUE INDEX uk_recruitme ALTER TABLE llx_product_attribute ADD COLUMN ref_ext VARCHAR(255) after ref; +ALTER TABLE llx_product_attribute_combination ADD COLUMN variation_ref_ext varchar(255) AFTER variation_weight; CREATE TABLE llx_product_attribute_combination_price_level diff --git a/htdocs/install/mysql/tables/llx_product_attribute_combination.sql b/htdocs/install/mysql/tables/llx_product_attribute_combination.sql index 041ffe5a60e..ce64eafde0e 100644 --- a/htdocs/install/mysql/tables/llx_product_attribute_combination.sql +++ b/htdocs/install/mysql/tables/llx_product_attribute_combination.sql @@ -26,5 +26,6 @@ CREATE TABLE llx_product_attribute_combination variation_price DOUBLE(24,8) NOT NULL, variation_price_percentage INTEGER NULL, variation_weight REAL NOT NULL, + variation_ref_ext VARCHAR(255) NULL, entity INTEGER DEFAULT 1 NOT NULL )ENGINE=innodb;