diff --git a/htdocs/install/mysql/migration/6.0.0-7.0.0.sql b/htdocs/install/mysql/migration/6.0.0-7.0.0.sql index 07bbee53987..7c9b0f3326e 100644 --- a/htdocs/install/mysql/migration/6.0.0-7.0.0.sql +++ b/htdocs/install/mysql/migration/6.0.0-7.0.0.sql @@ -452,19 +452,17 @@ insert into llx_c_action_trigger (code,label,description,elementtype,rang) value insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PROPOSAL_SUPPLIER_CLOSE_SIGNED','Price request closed signed','Executed when a customer proposal is closed signed','proposal_supplier',10); insert into llx_c_action_trigger (code,label,description,elementtype,rang) values ('PROPOSAL_SUPPLIER_CLOSE_REFUSED','Price request closed refused','Executed when a customer proposal is closed refused','proposal_supplier',10); -DROP TABLE llx_projet_task_comment; - -CREATE TABLE llx_comment ( +CREATE TABLE llx_projet_task_comment ( rowid integer AUTO_INCREMENT PRIMARY KEY, datec datetime DEFAULT NULL, tms timestamp, description text NOT NULL, - fk_user_author integer DEFAULT NULL, - fk_element integer DEFAULT NULL, - element_type varchar(50) DEFAULT NULL, + fk_user integer DEFAULT NULL, + fk_task integer DEFAULT NULL, entity integer DEFAULT 1, import_key varchar(125) DEFAULT NULL -)ENGINE=innodb; +) ENGINE=innodb; + DELETE FROM llx_const where name = __ENCRYPT('MAIN_SHOW_WORKBOARD')__; @@ -615,15 +613,3 @@ ALTER TABLE llx_resource ADD fk_country integer DEFAULT NULL; ALTER TABLE llx_resource ADD INDEX idx_resource_fk_country (fk_country); ALTER TABLE llx_resource ADD CONSTRAINT fk_resource_fk_country FOREIGN KEY (fk_country) REFERENCES llx_c_country (rowid); - - -CREATE TABLE llx_projet_task_comment ( - rowid integer AUTO_INCREMENT PRIMARY KEY, - datec datetime DEFAULT NULL, - tms timestamp, - description text NOT NULL, - fk_user integer DEFAULT NULL, - fk_task integer DEFAULT NULL, - entity integer DEFAULT 1, - import_key varchar(125) DEFAULT NULL -) ENGINE=innodb;