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;