From 28a12a26a9a5a601b30d6d629ebd7c4985c59c28 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 29 Apr 2006 00:37:41 +0000 Subject: [PATCH] =?UTF-8?q?Uniformisation=20du=20code:=20Tous=20les=20modu?= =?UTF-8?q?les=20de=20g=E9n=E9ration=20de=20document=20PDF=20s'active=20da?= =?UTF-8?q?ns=20la=20table=20llx=5Fdocument=5Fmodel=20plutot=20que=20les?= =?UTF-8?q?=20n=20tables=20llx=5Fxxxx=5Fmodel=5Fpdf.=20Cela=20r=E9duit=20l?= =?UTF-8?q?e=20nombres=20de=20tables=20et=20permet=20plus=20de=20mutualisa?= =?UTF-8?q?tion=20du=20code.=20Ainsi,=20tous=20les=20modules=20peuvent=20a?= =?UTF-8?q?voir=20maintenant=20plusieurs=20mod=E8le=20actifs,=20et=201=20m?= =?UTF-8?q?od=E8le=20d=E9faut.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tables/llx_document_model.sql | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) rename pgsql/tables/llx_propal_model_pdf.sql => mysql/tables/llx_document_model.sql (75%) diff --git a/pgsql/tables/llx_propal_model_pdf.sql b/mysql/tables/llx_document_model.sql similarity index 75% rename from pgsql/tables/llx_propal_model_pdf.sql rename to mysql/tables/llx_document_model.sql index 451e36da0c8..8c465b372b1 100644 --- a/pgsql/tables/llx_propal_model_pdf.sql +++ b/mysql/tables/llx_document_model.sql @@ -1,9 +1,6 @@ --- Generated from dolibarr_mysql2pgsql --- (c) 2004, PostgreSQL Inc. --- (c) 2005, Laurent Destailleur. - -- =================================================================== -- Copyright (C) 2001-2003 Rodolphe Quiedeville +-- Copyright (C) 2006 Laurent Destailleur -- -- 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 @@ -22,13 +19,14 @@ -- $Id$ -- $Source$ -- --- Liste des modeles de propale pdf disponibles +-- Liste des modeles de document disponibles -- -- =================================================================== -create table llx_propal_model_pdf +create table document_model ( - nom varchar(50) PRIMARY KEY, - "libelle" varchar(255), - "description" text -); + nom varchar(50) PRIMARY KEY, + type varchar(12) NOT NULL, + "libelle" varchar(255), + "description" text +); \ No newline at end of file