From 43a8b9176f233110b006a9577ccf3bbd402f54a5 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 1 Sep 2012 17:55:50 +0200 Subject: [PATCH 1/2] Fix: missing query --- htdocs/install/mysql/migration/3.1.0-3.2.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/install/mysql/migration/3.1.0-3.2.0.sql b/htdocs/install/mysql/migration/3.1.0-3.2.0.sql index 8523fce46c5..3b5bd43e5ad 100755 --- a/htdocs/install/mysql/migration/3.1.0-3.2.0.sql +++ b/htdocs/install/mysql/migration/3.1.0-3.2.0.sql @@ -455,6 +455,8 @@ ALTER TABLE llx_facture_fourn ADD COLUMN extraparams varchar(255) AFTER import_k ALTER TABLE llx_boxes ADD COLUMN maxline integer NULL; +ALTER TABLE llx_commande_fournisseur ADD COLUMN date_livraison date NULL; + ALTER TABLE llx_product_fournisseur_price MODIFY fk_product_fournisseur integer DEFAULT 0; UPDATE llx_product SET canvas = NULL where canvas = 'default@product'; From aa65ebe1364f1af9cf23745f7027875b30d8744e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 1 Sep 2012 18:07:50 +0200 Subject: [PATCH 2/2] Fix: this field is for 3.3 --- htdocs/install/mysql/migration/3.1.0-3.2.0.sql | 2 -- 1 file changed, 2 deletions(-) diff --git a/htdocs/install/mysql/migration/3.1.0-3.2.0.sql b/htdocs/install/mysql/migration/3.1.0-3.2.0.sql index 3b5bd43e5ad..8523fce46c5 100755 --- a/htdocs/install/mysql/migration/3.1.0-3.2.0.sql +++ b/htdocs/install/mysql/migration/3.1.0-3.2.0.sql @@ -455,8 +455,6 @@ ALTER TABLE llx_facture_fourn ADD COLUMN extraparams varchar(255) AFTER import_k ALTER TABLE llx_boxes ADD COLUMN maxline integer NULL; -ALTER TABLE llx_commande_fournisseur ADD COLUMN date_livraison date NULL; - ALTER TABLE llx_product_fournisseur_price MODIFY fk_product_fournisseur integer DEFAULT 0; UPDATE llx_product SET canvas = NULL where canvas = 'default@product';