From 7364d8a7dd318fd3f57ea709069dd625b6616f6d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 4 Sep 2010 10:56:11 +0000 Subject: [PATCH] Fix: Error with mysql 4.1 --- htdocs/install/mysql/tables/llx_boxes_def.sql | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/htdocs/install/mysql/tables/llx_boxes_def.sql b/htdocs/install/mysql/tables/llx_boxes_def.sql index be558cd247d..c97a4fffe25 100644 --- a/htdocs/install/mysql/tables/llx_boxes_def.sql +++ b/htdocs/install/mysql/tables/llx_boxes_def.sql @@ -1,6 +1,7 @@ -- ============================================================================ -- Copyright (C) 2003 Rodolphe Quiedeville -- Copyright (C) 2005-2009 Regis Houssin +-- Copyright (C) 2010 Laurent Destailleur -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by @@ -22,16 +23,8 @@ create table llx_boxes_def ( rowid integer AUTO_INCREMENT PRIMARY KEY, - file varchar(255) NOT NULL, + 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(255) + tms timestamp, + note varchar(140) -- Do not increase this as file+note must be small to allow index )type=innodb; - --- --- List of codes for the field "entity" --- --- 1 : first company boxes --- 2 : second company boxes --- 3 : etc... --- \ No newline at end of file