Fix: Do not increase this as file+note must be small to allow index
This commit is contained in:
parent
ad88a4283d
commit
52c3245e8f
@ -25,7 +25,7 @@ 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 DROP INDEX uk_boxes_def;
|
||||||
ALTER TABLE llx_boxes_def MODIFY file varchar(200) NOT NULL;
|
ALTER TABLE llx_boxes_def MODIFY file varchar(200) NOT NULL;
|
||||||
ALTER TABLE llx_boxes_def MODIFY note varchar(140);
|
ALTER TABLE llx_boxes_def MODIFY note varchar(130);
|
||||||
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity, note);
|
ALTER TABLE llx_boxes_def ADD UNIQUE INDEX uk_boxes_def (file, entity, note);
|
||||||
|
|
||||||
ALTER TABLE llx_notify_def MODIFY fk_contact integer NULL;
|
ALTER TABLE llx_notify_def MODIFY fk_contact integer NULL;
|
||||||
|
|||||||
@ -26,5 +26,5 @@ create table llx_boxes_def
|
|||||||
file varchar(200) NOT NULL, -- Do not increase this as file+note must be small to allow index
|
file varchar(200) NOT NULL, -- Do not increase this as file+note must be small to allow index
|
||||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
tms timestamp,
|
tms timestamp,
|
||||||
note varchar(140) -- Do not increase this as file+note must be small to allow index
|
note varchar(130) -- Do not increase this as file+note must be small to allow index
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user