From c61f7b63903996573fb9b4b602dc23262d5b2ac6 Mon Sep 17 00:00:00 2001 From: Florian Henry Date: Sat, 25 May 2013 19:48:49 +0200 Subject: [PATCH] Fix [ bug #911 ] Reorder intervention do not work --- htdocs/install/mysql/migration/3.3.0-3.4.0.sql | 2 ++ htdocs/install/mysql/tables/llx_fichinterdet.sql | 1 + 2 files changed, 3 insertions(+) diff --git a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql index 46affb6327a..155e27508fa 100755 --- a/htdocs/install/mysql/migration/3.3.0-3.4.0.sql +++ b/htdocs/install/mysql/migration/3.3.0-3.4.0.sql @@ -376,3 +376,5 @@ create table llx_facture_fourn_extrafields ALTER TABLE llx_facture_fourn_extrafields ADD INDEX idx_facture_fourn_extrafields (fk_object); ALTER TABLE llx_user_clicktodial ADD COLUMN url varchar(255) AFTER fk_user; + +ALTER TABLE llx_fichinterdet ADD COLUMN fk_parent_line integer NULL AFTER fk_fichinter; diff --git a/htdocs/install/mysql/tables/llx_fichinterdet.sql b/htdocs/install/mysql/tables/llx_fichinterdet.sql index ada5557f1de..5fcd1b1d524 100644 --- a/htdocs/install/mysql/tables/llx_fichinterdet.sql +++ b/htdocs/install/mysql/tables/llx_fichinterdet.sql @@ -21,6 +21,7 @@ create table llx_fichinterdet ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_fichinter integer, + fk_parent_line integer NULL, date datetime, -- date de la ligne d'intervention description text, -- description de la ligne d'intervention duree integer, -- duree de la ligne d'intervention