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

This commit is contained in:
Regis Houssin 2010-09-24 11:15:24 +00:00
parent ad88a4283d
commit 52c3245e8f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;