From a0cb1fb8cef4aaea0aff75e245693cef55d695c8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 6 Mar 2004 18:53:29 +0000 Subject: [PATCH] =?UTF-8?q?La=20table=20llx=5Fuser=5Fparam=20a=20une=20con?= =?UTF-8?q?trainte=20d'unicit=E9=20sur=20le=20tripl=E9=20fk=5Fuser,=20page?= =?UTF-8?q?,=20param=20La=20longueur=20des=203=20champs=20doit=20etre=20in?= =?UTF-8?q?f=E9rieur=20=E0=20512=20sinon=20boom=20sous=20mysql.=20Vu=20que?= =?UTF-8?q?=20le=20param=20a=20largement=20assez=20de=2064=20car,=20je=20l?= =?UTF-8?q?e=20passe=20de=20255=20=E0=2064=20et=20plus=20d'erreur.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mysql/tables/llx_user_param.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysql/tables/llx_user_param.sql b/mysql/tables/llx_user_param.sql index e9769ac288f..86556ab6939 100644 --- a/mysql/tables/llx_user_param.sql +++ b/mysql/tables/llx_user_param.sql @@ -1,5 +1,6 @@ -- ============================================================================ -- Copyright (C) 2004 Rodolphe Quiedeville +-- Copyright (C) 2004 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 @@ -24,7 +25,7 @@ create table llx_user_param ( fk_user integer, page varchar(255), - param varchar(255), + param varchar(64), value varchar(255), UNIQUE (fk_user,page,param) )type=innodb;