From 8f866254acd80c2fdece7b25458d7aa3be68392e Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Fri, 19 Feb 2016 15:47:37 +0100 Subject: [PATCH 1/2] add model_pdf fields for edition feature --- htdocs/install/mysql/tables/llx_product.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/install/mysql/tables/llx_product.sql b/htdocs/install/mysql/tables/llx_product.sql index 1f7b7da3c0d..e2ed0a49627 100755 --- a/htdocs/install/mysql/tables/llx_product.sql +++ b/htdocs/install/mysql/tables/llx_product.sql @@ -81,6 +81,7 @@ create table llx_product finished tinyint DEFAULT NULL, -- 1=manufactured product, 0=matiere premiere hidden tinyint DEFAULT 0, -- Not used. Deprecated. import_key varchar(14), -- Import key + model_pdf varchar(255), -- model save dodument used fk_price_expression integer, -- Link to the rule for dynamic price calculation desiredstock integer DEFAULT 0, fk_unit integer DEFAULT NULL, From d96c89afa1e96b85f49097a87f791fdaaf7a69cb Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Fri, 19 Feb 2016 15:55:59 +0100 Subject: [PATCH 2/2] Update 3.9.0-4.0.0.sql --- htdocs/install/mysql/migration/3.9.0-4.0.0.sql | 2 +- 1 file changed, 1 insertion(+), 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 2b38f915869..8268d0a0773 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 @@ -21,7 +21,7 @@ -- -- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user); -- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup); - +ALTER TABLE llx_product ADD COLUMN model_pdf varchar(255) default ''; CREATE TABLE llx_categorie_user (