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

50 lines
2.3 KiB
MySQL
Raw Permalink Normal View History

2005-08-21 14:23:34 +02:00
-- ===========================================================================
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
2018-10-27 14:43:12 +02:00
-- Copyright (C) 2010 Regis Houssin <regis.houssin@inodbox.com>
2005-08-21 14:23:34 +02:00
--
-- 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:23:34 +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:23:34 +02:00
--
-- ===========================================================================
create table llx_projet_task
(
2010-01-22 18:49:13 +01:00
rowid integer AUTO_INCREMENT PRIMARY KEY,
ref varchar(50),
2014-02-23 10:24:30 +01:00
entity integer DEFAULT 1 NOT NULL, -- multi company id
2010-01-22 18:49:13 +01:00
fk_projet integer NOT NULL,
fk_task_parent integer DEFAULT 0 NOT NULL,
datec datetime, -- date creation
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, -- last modification date
2010-01-22 18:49:13 +01:00
dateo datetime, -- date start task
datee datetime, -- date end task
datev datetime, -- date validation
label varchar(255) NOT NULL,
2010-01-28 12:08:11 +01:00
description text,
2024-09-26 23:16:08 +02:00
duration_effective real DEFAULT 0, -- DENORMALIZED FIELD. total of time spent on the task. total of lines into llx_element_time
2015-02-28 18:44:06 +01:00
planned_workload real DEFAULT 0,
progress integer DEFAULT 0, -- percentage increase
priority integer DEFAULT 0, -- priority
2021-10-15 10:24:56 +02:00
budget_amount double(24,8),
2010-01-22 18:49:13 +01:00
fk_user_creat integer, -- user who created the task
2017-10-22 15:07:41 +02:00
fk_user_modif integer, -- user who modify the task
2010-01-22 18:49:13 +01:00
fk_user_valid integer, -- user who validated the task
fk_statut smallint DEFAULT 0 NOT NULL, -- status of task
2010-01-22 18:49:13 +01:00
note_private text,
note_public text,
rang integer DEFAULT 0,
model_pdf varchar(255),
2024-09-26 23:16:08 +02:00
import_key varchar(14), -- Import key,
billable smallint DEFAULT 1
2011-02-24 10:57:02 +01:00
)ENGINE=innodb;