mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
missing import_key field, ref generator parameter must be task not project, import must use css, serious database integrity problem accepting duplicate tasks.
47 lines
2.0 KiB
SQL
47 lines
2.0 KiB
SQL
-- ===========================================================================
|
|
-- Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
-- Copyright (C) 2010 Regis Houssin <regis.houssin@capnetworks.com>
|
|
--
|
|
-- 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
|
|
-- (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
|
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
--
|
|
-- ===========================================================================
|
|
|
|
create table llx_projet_task
|
|
(
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
|
ref varchar(50),
|
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
|
fk_projet integer NOT NULL,
|
|
fk_task_parent integer DEFAULT 0 NOT NULL,
|
|
datec datetime, -- date creation
|
|
tms timestamp, -- date creation/modification
|
|
dateo datetime, -- date start task
|
|
datee datetime, -- date end task
|
|
datev datetime, -- date validation
|
|
label varchar(255) NOT NULL,
|
|
description text,
|
|
duration_effective real DEFAULT 0,
|
|
planned_workload real DEFAULT 0,
|
|
progress integer DEFAULT 0, -- percentage increase
|
|
priority integer DEFAULT 0, -- priority
|
|
fk_user_creat integer, -- user who created the task
|
|
fk_user_valid integer, -- user who validated the task
|
|
fk_statut smallint DEFAULT 0 NOT NULL,
|
|
note_private text,
|
|
note_public text,
|
|
rang integer DEFAULT 0,
|
|
model_pdf varchar(255),
|
|
import_key varchar(14) -- Import key
|
|
)ENGINE=innodb;
|