dolibarr/htdocs/install/mysql/tables/llx_projet_task_time.sql

36 lines
1.7 KiB
MySQL
Raw Normal View History

2005-08-21 14:24:33 +02:00
-- ===========================================================================
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
2005-08-21 14:24:33 +02:00
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
2019-09-23 21:55:30 +02:00
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
2005-08-21 14:24:33 +02:00
--
-- ===========================================================================
create table llx_projet_task_time
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_task integer NOT NULL,
task_date date, -- only the day
task_datehour datetime, -- day + hour
2015-03-10 15:34:48 +01:00
task_date_withhour integer DEFAULT 0, -- 0 by default, 1 if date was entered with start hour
2006-01-15 00:44:59 +01:00
task_duration double,
2005-08-21 14:24:33 +02:00
fk_user integer,
thm double(24,8),
invoice_id integer DEFAULT NULL, -- If we need to invoice each line of timespent, we can save invoice id here
invoice_line_id integer DEFAULT NULL, -- If we need to invoice each line of timespent, we can save invoice line id here
import_key varchar(14), -- Import key
2017-01-31 14:00:53 +01:00
datec date, -- Date creation time
tms timestamp, -- Date update time
note text -- A comment
2011-02-24 10:57:02 +01:00
)ENGINE=innodb;