From 5db147d8297e604ec4286923353eaf9b304d5468 Mon Sep 17 00:00:00 2001 From: jlb Date: Mon, 10 Feb 2003 17:35:33 +0000 Subject: [PATCH] rajout de la table llx_adherent_options et modif des makefile --- mysql/tables/Makefile | 1 + mysql/tables/drop.sql | 2 ++ mysql/tables/llx_adherent_options.sql | 35 +++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 mysql/tables/llx_adherent_options.sql diff --git a/mysql/tables/Makefile b/mysql/tables/Makefile index 27da449930b..0b3e3d40ece 100644 --- a/mysql/tables/Makefile +++ b/mysql/tables/Makefile @@ -36,6 +36,7 @@ create: $(MYSQL) $(OPTIONS) $(BASE) < c_typent.sql $(MYSQL) $(OPTIONS) $(BASE) < llx_adherent.sql $(MYSQL) $(OPTIONS) $(BASE) < llx_adherent_type.sql + $(MYSQL) $(OPTIONS) $(BASE) < llx_adherent_options.sql $(MYSQL) $(OPTIONS) $(BASE) < llx_bank.sql $(MYSQL) $(OPTIONS) $(BASE) < llx_bank_account.sql $(MYSQL) $(OPTIONS) $(BASE) < llx_bank_categ.sql diff --git a/mysql/tables/drop.sql b/mysql/tables/drop.sql index c7248aea7b0..d101906d2ff 100644 --- a/mysql/tables/drop.sql +++ b/mysql/tables/drop.sql @@ -47,6 +47,8 @@ drop table if exists llx_adherent; drop table if exists llx_adherent_type; +drop table if exists llx_adherent_options; + drop table if exists llx_bank; drop table if exists llx_bank_account; diff --git a/mysql/tables/llx_adherent_options.sql b/mysql/tables/llx_adherent_options.sql new file mode 100644 index 00000000000..c99b5f9b9cb --- /dev/null +++ b/mysql/tables/llx_adherent_options.sql @@ -0,0 +1,35 @@ +-- =================================================================== +-- Copyright (C) 2002-2003 Rodolphe Quiedeville +-- Copyright (C) 2002-2003 Jean-Louis Bergamo +-- +-- 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$ +-- +-- =================================================================== + +-- statut +-- 0 : non adherent +-- 1 : adherent + +create table llx_adherent_options +( + optid integer AUTO_INCREMENT PRIMARY KEY, + tms timestamp, + adhid integer NOT NULL -- id de l'adherent auquel correspond ces attributs optionnel +-- telfixe varchar(15), +-- teljob varchar(15) +);