From 36208d4b1633e57c853ee2632cef584e3be2aa31 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 24 Sep 2010 11:15:22 +0000 Subject: [PATCH] Fix: Do not increase this as file+note must be small to allow index --- htdocs/install/mysql/migration/2.8.0-2.9.0.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql index 33177736382..e97066eddf3 100755 --- a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql +++ b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql @@ -320,7 +320,7 @@ 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 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); -- Fix bad old data