forked from Wavyzz/dolibarr
Fix: Error when creating 2 external rss boxes.
This commit is contained in:
@@ -20,4 +20,5 @@
|
||||
-- ===========================================================================
|
||||
|
||||
|
||||
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity);
|
||||
-- We need to include note to allow several entries for external rss module
|
||||
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity, note);
|
||||
|
||||
@@ -25,11 +25,11 @@ create table llx_boxes_def
|
||||
file varchar(255) NOT NULL,
|
||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||
tms timestamp,
|
||||
note text
|
||||
note varchar(255)
|
||||
)type=innodb;
|
||||
|
||||
--
|
||||
-- List of codes for the field entity
|
||||
-- List of codes for the field "entity"
|
||||
--
|
||||
-- 1 : first company boxes
|
||||
-- 2 : second company boxes
|
||||
|
||||
Reference in New Issue
Block a user