forked from Wavyzz/dolibarr
La table llx_user_param a une contrainte d'unicit sur le tripl
fk_user, page, param La longueur des 3 champs doit etre infrieur 512 sinon boom sous mysql. Vu que le param a largement assez de 64 car, je le passe de 255 64 et plus d'erreur.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- 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,
|
fk_user integer,
|
||||||
page varchar(255),
|
page varchar(255),
|
||||||
param varchar(255),
|
param varchar(64),
|
||||||
value varchar(255),
|
value varchar(255),
|
||||||
UNIQUE (fk_user,page,param)
|
UNIQUE (fk_user,page,param)
|
||||||
)type=innodb;
|
)type=innodb;
|
||||||
|
|||||||
Reference in New Issue
Block a user