2004-02-27 15:26:57 +01:00
|
|
|
-- ============================================================================
|
2009-02-02 19:33:44 +01:00
|
|
|
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
2017-12-28 11:16:27 +01:00
|
|
|
-- Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
2018-10-27 14:43:12 +02:00
|
|
|
-- Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
|
2004-02-27 15:26:57 +01:00
|
|
|
--
|
|
|
|
|
-- 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
|
2013-01-16 15:36:08 +01:00
|
|
|
-- the Free Software Foundation; either version 3 of the License, or
|
2004-02-27 15:26:57 +01:00
|
|
|
-- (at your option) any later version.
|
|
|
|
|
--
|
|
|
|
|
-- This program is distributed in the hope that it will be useful,
|
|
|
|
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
-- GNU General Public License for more details.
|
|
|
|
|
--
|
|
|
|
|
-- You should have received a copy of the GNU General Public License
|
2019-09-23 21:55:30 +02:00
|
|
|
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
|
2004-02-27 15:26:57 +01:00
|
|
|
--
|
|
|
|
|
-- ===========================================================================
|
|
|
|
|
|
|
|
|
|
create table llx_user_param
|
|
|
|
|
(
|
2005-08-11 20:43:43 +02:00
|
|
|
fk_user integer NOT NULL,
|
2009-04-27 22:37:50 +02:00
|
|
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
2017-12-28 11:16:27 +01:00
|
|
|
param varchar(180) NOT NULL,
|
2015-10-14 18:48:03 +02:00
|
|
|
value text NOT NULL
|
2011-02-24 10:57:02 +01:00
|
|
|
)ENGINE=innodb;
|
2009-04-27 22:37:50 +02:00
|
|
|
|
|
|
|
|
--
|
|
|
|
|
-- List of codes for the field entity
|
|
|
|
|
--
|
|
|
|
|
-- 1 : first company param
|
|
|
|
|
-- 2 : second company param
|
|
|
|
|
-- 3 : etc...
|
2015-11-09 16:48:30 +01:00
|
|
|
--
|