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

40 lines
1.5 KiB
MySQL
Raw Normal View History

2006-05-06 10:12:49 +02:00
-- ===================================================================
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
2018-10-27 14:43:12 +02:00
-- Copyright (C) 2009 Regis Houssin <regis.houssin@inodbox.com>
2006-05-06 10:12:49 +02: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 10:12:49 +02: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/>.
2006-05-06 10:12:49 +02:00
--
--
-- Table with list of document templates for document generation (odt/pdf/...)
2006-05-06 10:12:49 +02:00
-- ===================================================================
2006-05-06 15:57:20 +02:00
create table llx_document_model
2006-05-06 10:12:49 +02:00
(
2009-12-10 14:08:19 +01:00
rowid integer AUTO_INCREMENT PRIMARY KEY,
nom varchar(50),
entity integer DEFAULT 1 NOT NULL, -- multi company id
2020-06-01 16:44:22 +02:00
type varchar(64) NOT NULL,
2009-12-10 14:08:19 +01:00
libelle varchar(255),
description text
2011-02-24 10:57:02 +01: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 21:55:30 +02:00
--