Qual: Suppression tables obsoletes et non utilisees

This commit is contained in:
Laurent Destailleur 2007-06-01 17:24:01 +00:00
parent 487deaef93
commit 88416d51b2
4 changed files with 6 additions and 105 deletions

View File

@ -541,4 +541,9 @@ ALTER TABLE llx_product ADD COLUMN volume_units tinyint DEFAULT NULL after volum
ALTER TABLE llx_product modify ref varchar(32) NOT NULL;
ALTER TABLE `llx_socpeople` CHANGE `fk_user` `fk_user_creat` INT( 11 ) NULL DEFAULT '0';
ALTER TABLE `llx_socpeople` CHANGE `fk_user_create` `fk_user_creat` INT( 11 ) NULL DEFAULT '0';
ALTER TABLE `llx_socpeople` CHANGE `fk_user_create` `fk_user_creat` INT( 11 ) NULL DEFAULT '0';
drop table if exists llx_soc_events;
drop table if exists llx_todocomm.sql;
drop table if exists llx_ventes.sql;

View File

@ -1,32 +0,0 @@
-- ========================================================================
-- Copyright (C) 2002-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- 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 integer AUTO_INCREMENT PRIMARY KEY, -- public id
fk_soc int NOT NULL, --
dateb datetime NOT NULL, -- begin date
datee datetime NOT NULL, -- end date
title varchar(100) NOT NULL,
url varchar(255),
description text
)type=innodb;

View File

@ -1,38 +0,0 @@
-- ========================================================================
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- $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 integer AUTO_INCREMENT PRIMARY KEY,
datea datetime, -- 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
)type=innodb;

View File

@ -1,34 +0,0 @@
-- ===================================================================
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
--
-- 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 integer AUTO_INCREMENT PRIMARY KEY,
fk_soc integer NOT NULL,
fk_product integer NOT NULL,
dated datetime, -- date debut
datef datetime, -- date fin
price real,
author varchar(30),
active smallint DEFAULT 0 NOT NULL,
note varchar(255)
)type=innodb;