Add field task_datehour

This commit is contained in:
Laurent Destailleur 2014-07-03 12:53:26 +02:00
parent ece46a9a85
commit a1b6aedc90
2 changed files with 4 additions and 1 deletions

View File

@ -49,3 +49,5 @@ ALTER TABLE llx_user MODIFY COLUMN accountancy_code varchar(32);
ALTER TABLE llx_bank_account ADD COLUMN accountancy_journal varchar(3) DEFAULT NULL AFTER account_number;
ALTER TABLE llx_projet_task_time ADD COLUMN task_datehour datetime after task_date;

View File

@ -20,7 +20,8 @@ create table llx_projet_task_time
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_task integer NOT NULL,
task_date date,
task_date date, -- only the day
task_datehour datetime, -- day + hour
task_duration double,
fk_user integer,
thm double(24,8),