From 83908de2e530aa50b56743fe3c482c4676ea7327 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 30 Oct 2006 22:35:37 +0000 Subject: [PATCH] =?UTF-8?q?Modification=20pour=20g=E9rer=20les=20taches=20?= =?UTF-8?q?et=20les=20actions=20sur=20le=20meme=20principe.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/migration/2.0.0-2.1.0.sql | 9 +++++---- mysql/tables/llx_actioncomm.sql | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/mysql/migration/2.0.0-2.1.0.sql b/mysql/migration/2.0.0-2.1.0.sql index 5c6f6f72ef9..c83ed340b7a 100644 --- a/mysql/migration/2.0.0-2.1.0.sql +++ b/mysql/migration/2.0.0-2.1.0.sql @@ -101,10 +101,11 @@ alter table llx_actioncomm add column datep2 datetime after datep; alter table llx_actioncomm add column datea2 datetime after datea; alter table llx_actioncomm add column tms timestamp after datea2; alter table llx_actioncomm add column fk_commande integer after propalrowid; -alter table llx_actioncomm add column fk_parent integer NOT NULL default 0 after fk_contact; -alter table llx_actioncomm add column durationp real after percent; -alter table llx_actioncomm add column durationa real after durationp; -alter table llx_actioncomm add column fk_projet integer after label; +alter table llx_actioncomm add column fk_parent integer NOT NULL default 0 after fk_contact; +alter table llx_actioncomm add column durationp real after percent; +alter table llx_actioncomm add column durationa real after durationp; +alter table llx_actioncomm add column fk_projet integer after label; +alter table llx_actioncomm add column punctual smallint NOT NULL default 1 after priority; update llx_actioncomm set datec = datea where datec is null; diff --git a/mysql/tables/llx_actioncomm.sql b/mysql/tables/llx_actioncomm.sql index 1fbc82589c2..08f27808091 100644 --- a/mysql/tables/llx_actioncomm.sql +++ b/mysql/tables/llx_actioncomm.sql @@ -43,6 +43,7 @@ create table llx_actioncomm fk_user_action integer, -- id de la personne qui doit effectuer l'action fk_user_author integer, -- id de la personne qui a effectuer l'action priority smallint, + punctual smallint NOT NULL default 1, percent smallint NOT NULL default 0, durationp real, -- duree planifiee durationa real, -- duree reellement passee