From c2a5ad7d9c800c32cadc6cabc0d456d9c6a32358 Mon Sep 17 00:00:00 2001 From: Alexis Algoud Date: Wed, 6 Apr 2016 10:05:03 +0200 Subject: [PATCH] FIX sql --- htdocs/install/mysql/migration/3.9.0-4.0.0.sql | 1 + htdocs/install/mysql/tables/llx_product_fournisseur_price.sql | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql index 298ffda51cf..fd144ec5479 100644 --- a/htdocs/install/mysql/migration/3.9.0-4.0.0.sql +++ b/htdocs/install/mysql/migration/3.9.0-4.0.0.sql @@ -353,3 +353,4 @@ CREATE UNIQUE INDEX uk_bordereau_cheque ON llx_bordereau_cheque (ref, entity); ALTER TABLE llx_societe_rib ADD COLUMN date_rum date after rum; +ALTER TABLE llx_product_fournisseur_price ADD supplier_reputation varchar(10) NULL; diff --git a/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql b/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql index e7cf555d24e..717f0617c83 100755 --- a/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql +++ b/htdocs/install/mysql/tables/llx_product_fournisseur_price.sql @@ -41,5 +41,6 @@ create table llx_product_fournisseur_price fk_user integer, fk_supplier_price_expression integer, -- Link to the rule for dynamic price calculation import_key varchar(14), -- Import key - delivery_time_days integer + delivery_time_days integer, + supplier_reputation varchar(10) )ENGINE=innodb;