Fix actioncomm_ressource column name

This commit is contained in:
Florian Henry 2013-11-04 19:27:59 +01:00
parent 35c0695513
commit c465cc621d
2 changed files with 4 additions and 4 deletions

View File

@ -325,8 +325,9 @@ create table llx_actioncomm_resources
fk_actioncomm integer NOT NULL,
element_type varchar(50) NOT NULL,
fk_element integer NOT NULL,
fk_c_element_role integer NOT NULL,
fk_c_element_status varchar(32) NULL
answer_status varchar(50) NULL,
mandatory smallint,
transparent smallint
) ENGINE=innodb;
ALTER TABLE llx_actioncomm_resources ADD UNIQUE INDEX idx_actioncomm_resources_idx1 (fk_actioncomm, element_type, fk_element);
ALTER TABLE llx_actioncomm_resources ADD INDEX idx_actioncomm_resources_fk_element (fk_element);

View File

@ -26,8 +26,7 @@ create table llx_actioncomm_resources
fk_actioncomm integer NOT NULL,
element_type varchar(50) NOT NULL,
fk_element integer NOT NULL,
fk_c_element_role integer NOT NULL,
fk_c_element_status varchar(32) NULL,
answer_status varchar(50) NULL,
mandatory smallint,
transparent smallint
) ENGINE=innodb;