From 8624c38fd0b7e08d30a87f853ab02a37c90c08f8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 1 Jun 2007 17:27:32 +0000 Subject: [PATCH] Qual: Suppression tables obsoletes et non utilisees --- mysql/migration/2.1.0-2.2.0.sql | 1 + pgsql/tables/llx_soc_events.sql | 36 ---------------------------- pgsql/tables/llx_todocomm.sql | 42 --------------------------------- pgsql/tables/llx_ventes.sql | 38 ----------------------------- 4 files changed, 1 insertion(+), 116 deletions(-) delete mode 100644 pgsql/tables/llx_soc_events.sql delete mode 100644 pgsql/tables/llx_todocomm.sql delete mode 100644 pgsql/tables/llx_ventes.sql diff --git a/mysql/migration/2.1.0-2.2.0.sql b/mysql/migration/2.1.0-2.2.0.sql index eab4d50d73a..47108629244 100644 --- a/mysql/migration/2.1.0-2.2.0.sql +++ b/mysql/migration/2.1.0-2.2.0.sql @@ -547,3 +547,4 @@ ALTER TABLE `llx_socpeople` CHANGE `fk_user_create` `fk_user_creat` INT( 11 ) NU drop table if exists llx_soc_events; drop table if exists llx_todocomm.sql; drop table if exists llx_ventes.sql; +drop table if exists llx_pointmort.sql; diff --git a/pgsql/tables/llx_soc_events.sql b/pgsql/tables/llx_soc_events.sql deleted file mode 100644 index 337efe12b06..00000000000 --- a/pgsql/tables/llx_soc_events.sql +++ /dev/null @@ -1,36 +0,0 @@ --- Generated from dolibarr_mysql2pgsql --- (c) 2004, PostgreSQL Inc. --- (c) 2005, Laurent Destailleur. - --- ======================================================================== --- Copyright (C) 2002-2003 Rodolphe Quiedeville --- --- 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 2 of the License, or --- (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 --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- $Id$ --- $Source$ --- --- ======================================================================== - -create table llx_soc_events -( - rowid SERIAL PRIMARY KEY, -- public id - "fk_soc" int NOT NULL, -- - "dateb" timestamp NOT NULL, -- begin date - "datee" timestamp NOT NULL, -- end date - "title" varchar(100) NOT NULL, - "url" varchar(255), - "description" text -); diff --git a/pgsql/tables/llx_todocomm.sql b/pgsql/tables/llx_todocomm.sql deleted file mode 100644 index 81095846edb..00000000000 --- a/pgsql/tables/llx_todocomm.sql +++ /dev/null @@ -1,42 +0,0 @@ --- Generated from dolibarr_mysql2pgsql --- (c) 2004, PostgreSQL Inc. --- (c) 2005, Laurent Destailleur. - --- ======================================================================== --- Copyright (C) 2001-2002 Rodolphe Quiedeville --- --- $Id$ --- $Source$ --- --- --- 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 2 of the License, or --- (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 --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- Actions commerciales a effectuer --- --- ======================================================================== - -create table llx_todocomm -( - id SERIAL PRIMARY KEY, - "datea" timestamp, -- date de l'action - "label" varchar(50), -- libelle de l'action - "fk_user_action" integer, -- id de la personne qui doit effectuer l'action - "fk_user_author" integer, -- id auteur de l'action - "fk_soc" integer, -- id de la societe auquel est rattachee l'action - "fk_contact" integer, -- id du contact sur laquelle l'action - -- doit etre effectuee - "note" text -); - diff --git a/pgsql/tables/llx_ventes.sql b/pgsql/tables/llx_ventes.sql deleted file mode 100644 index 3d7f4210fee..00000000000 --- a/pgsql/tables/llx_ventes.sql +++ /dev/null @@ -1,38 +0,0 @@ --- Generated from dolibarr_mysql2pgsql --- (c) 2004, PostgreSQL Inc. --- (c) 2005, Laurent Destailleur. - --- =================================================================== --- Copyright (C) 2002 Rodolphe Quiedeville --- --- 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 2 of the License, or --- (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 --- along with this program; if not, write to the Free Software --- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. --- --- $Id$ --- $Source$ --- --- =================================================================== - -create table llx_ventes -( - rowid SERIAL PRIMARY KEY, - "fk_soc" integer NOT NULL, - "fk_product" integer NOT NULL, - "dated" timestamp, -- date debut - "datef" timestamp, -- date fin - "price" real, - "author" varchar(30), - "active" smallint DEFAULT 0 NOT NULL, - "note" varchar(255) -);