dolibarr/htdocs/install/mysql/tables/llx_boxes_def.sql

31 lines
1.5 KiB
MySQL
Raw Normal View History

2003-02-13 16:58:52 +01:00
-- ============================================================================
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
2018-10-27 14:43:12 +02:00
-- Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
2010-09-04 12:56:11 +02:00
-- Copyright (C) 2010 Laurent Destailleur <eldy@users.sourceforge.net>
2003-02-13 16:58:52 +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
-- the Free Software Foundation; either version 3 of the License, or
2003-02-13 16:58:52 +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/>.
2003-02-13 16:58:52 +01:00
--
-- ===========================================================================
2022-04-01 09:35:45 +02:00
-- Table
2003-02-13 16:58:52 +01:00
create table llx_boxes_def
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
2010-09-04 12:56:11 +02:00
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
2022-04-01 09:35:45 +02:00
fk_user integer DEFAULT 0 NOT NULL, -- if widget is privte to one user
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
note varchar(130) -- Do not increase this as file+note must be small to allow index
2011-02-24 10:57:02 +01:00
)ENGINE=innodb;