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

41 lines
1.5 KiB
MySQL
Raw Permalink Normal View History

2006-05-06 08:12:49 +00:00
-- ===================================================================
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
2018-10-27 12:43:12 +00:00
-- Copyright (C) 2009 Regis Houssin <regis.houssin@inodbox.com>
2006-05-06 08:12:49 +00: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
2006-05-06 08:12:49 +00: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 19:55:30 +00:00
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
2006-05-06 08:12:49 +00:00
--
--
-- Table with list of document templates for document generation (odt/pdf/...)
2006-05-06 08:12:49 +00:00
-- ===================================================================
2006-05-06 13:57:20 +00:00
create table llx_document_model
2006-05-06 08:12:49 +00:00
(
2009-12-10 13:08:19 +00:00
rowid integer AUTO_INCREMENT PRIMARY KEY,
nom varchar(50),
entity integer DEFAULT 1 NOT NULL, -- multi company id
2020-06-01 14:44:22 +00:00
type varchar(64) NOT NULL,
2009-12-10 13:08:19 +00:00
libelle varchar(255),
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
2009-12-10 13:08:19 +00:00
description text
2011-02-24 09:57:02 +00:00
)ENGINE=innodb;
--
-- List of codes for the field entity
--
-- 1 : first company document model
-- 2 : second company document model
-- 3 : etc...
2019-09-23 19:55:30 +00:00
--