forked from Wavyzz/dolibarr
Fix: Error when creating 2 external rss boxes.
This commit is contained in:
@@ -314,3 +314,8 @@ INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (23, '
|
||||
|
||||
delete from llx_const where name='USER_PASSWORD_GENERATED' and value='default';
|
||||
|
||||
|
||||
ALTER TABLE llx_boxes_def DROP INDEX uk_boxes_def;
|
||||
ALTER TABLE llx_boxes_def MODIFY note varchar(255);
|
||||
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity, note);
|
||||
|
||||
|
||||
@@ -18,4 +18,8 @@ alter table llx_product_price add column recuperableonly integer NOT NULL DEFAUL
|
||||
alter table llx_product change column envente tosell tinyint DEFAULT 1;
|
||||
alter table llx_product add column tobuy tinyint DEFAULT 1 after tosell;
|
||||
alter table llx_product_price change column envente tosell tinyint DEFAULT 1;
|
||||
|
||||
|
||||
|
||||
ALTER TABLE llx_boxes_def DROP INDEX uk_boxes_def;
|
||||
ALTER TABLE llx_boxes_def MODIFY note varchar(255);
|
||||
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity, note);
|
||||
|
||||
@@ -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