From 9f6dff142bf6cd361df18c87ee761700e8695056 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 8 Mar 2009 23:39:02 +0000 Subject: [PATCH] Prepare select of type of line --- mysql/migration/2.5.0-2.6.0.sql | 4 ++++ mysql/tables/llx_facture_fourn_det.sql | 2 ++ 2 files changed, 6 insertions(+) diff --git a/mysql/migration/2.5.0-2.6.0.sql b/mysql/migration/2.5.0-2.6.0.sql index d9f56813c3b..6ddef63ca8a 100644 --- a/mysql/migration/2.5.0-2.6.0.sql +++ b/mysql/migration/2.5.0-2.6.0.sql @@ -83,6 +83,10 @@ delete from llx_document_model where nom = 'huitre' and type = 'invoice'; drop table llx_don_projet; +alter table llx_facture_fourn_det add column date_start datetime DEFAULT NULL; +alter table llx_facture_fourn_det add column date_end datetime DEFAULT NULL; + + -- V4.1 delete from llx_projet_task where fk_projet not in (select rowid from llx_projet); -- V4.1 ALTER TABLE llx_projet_task ADD CONSTRAINT fk_projet_task_fk_projet FOREIGN KEY (fk_projet) REFERENCES llx_projet (rowid); diff --git a/mysql/tables/llx_facture_fourn_det.sql b/mysql/tables/llx_facture_fourn_det.sql index bc6d89987d3..b68ea821f85 100644 --- a/mysql/tables/llx_facture_fourn_det.sql +++ b/mysql/tables/llx_facture_fourn_det.sql @@ -32,5 +32,7 @@ create table llx_facture_fourn_det tva double(24,8) DEFAULT 0, total_ttc double(24,8) DEFAULT 0, product_type integer DEFAULT 0, + date_start datetime DEFAULT NULL, -- date debut si service + date_end datetime DEFAULT NULL, -- date fin si service import_key varchar(14) )type=innodb;