Skip to content
Snippets Groups Projects
Commit 52c3245e authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: Do not increase this as file+note must be small to allow index

parent ad88a428
No related branches found
No related tags found
No related merge requests found
......@@ -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 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_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
entity integer DEFAULT 1 NOT NULL, -- multi company id
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment