Fix error message and migration
This commit is contained in:
parent
ebdbddb7fd
commit
db91a88c59
@ -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_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);
|
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_projet_task_comment (
|
||||||
|
|
||||||
CREATE TABLE llx_comment (
|
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
datec datetime DEFAULT NULL,
|
datec datetime DEFAULT NULL,
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
description text NOT NULL,
|
description text NOT NULL,
|
||||||
fk_user_author integer DEFAULT NULL,
|
fk_user integer DEFAULT NULL,
|
||||||
fk_element integer DEFAULT NULL,
|
fk_task integer DEFAULT NULL,
|
||||||
element_type varchar(50) DEFAULT NULL,
|
|
||||||
entity integer DEFAULT 1,
|
entity integer DEFAULT 1,
|
||||||
import_key varchar(125) DEFAULT NULL
|
import_key varchar(125) DEFAULT NULL
|
||||||
)ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
|
||||||
DELETE FROM llx_const where name = __ENCRYPT('MAIN_SHOW_WORKBOARD')__;
|
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 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);
|
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;
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user