From 4a2b7e1bba1cfecac354327c8f0f30e7bf4d8de4 Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Tue, 23 Aug 2016 11:25:14 +0200 Subject: [PATCH 1/2] add link to commande fourn if resplenish --- htdocs/install/mysql/tables/llx_commandedet.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/install/mysql/tables/llx_commandedet.sql b/htdocs/install/mysql/tables/llx_commandedet.sql index 9608c2ae44b..ee407fe9cff 100644 --- a/htdocs/install/mysql/tables/llx_commandedet.sql +++ b/htdocs/install/mysql/tables/llx_commandedet.sql @@ -57,6 +57,8 @@ create table llx_commandedet fk_unit integer DEFAULT NULL, -- lien vers table des unités import_key varchar(14), + fk_commandefourndet integer NOT NULL, -- link to detail line of commande fourn (resplenish) + fk_multicurrency integer, multicurrency_code varchar(255), multicurrency_subprice double(24,8) DEFAULT 0, From 777b9fe4d8aac4fa7aad1a0c46969e9add900bee Mon Sep 17 00:00:00 2001 From: BENKE Charlie Date: Tue, 23 Aug 2016 11:28:10 +0200 Subject: [PATCH 2/2] Update 4.0.0-5.0.0.sql --- htdocs/install/mysql/migration/4.0.0-5.0.0.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/install/mysql/migration/4.0.0-5.0.0.sql b/htdocs/install/mysql/migration/4.0.0-5.0.0.sql index f5f6a1cdf99..443afa13289 100644 --- a/htdocs/install/mysql/migration/4.0.0-5.0.0.sql +++ b/htdocs/install/mysql/migration/4.0.0-5.0.0.sql @@ -27,6 +27,8 @@ ALTER TABLE llx_user DROP COLUMN phenix_pass; ALTER TABLE llx_societe ADD COLUMN fk_account integer; +ALTER TABLE llx_commandedet ADD COLUMN fk_commandefourndet integer NOT NULL after import_key; -- link to detail line of commande fourn (resplenish) + ALTER TABLE llx_website ADD COLUMN virtualhost varchar(255) after fk_default_home; ALTER TABLE llx_chargesociales ADD COLUMN fk_account integer after fk_type;