[ Index ] |
|
Code source de Dolibarr 2.0.1 |
1 -- Generated from dolibarr_mysql2pgsql 2 -- (c) 2004, PostgreSQL Inc. 3 -- (c) 2005, Laurent Destailleur. 4 5 -- =================================================================== 6 -- Copyright (C) 2002-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> 7 -- Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org> 8 -- 9 -- This program is free software; you can redistribute it and/or modify 10 -- it under the terms of the GNU General Public License as published by 11 -- the Free Software Foundation; either version 2 of the License, or 12 -- (at your option) any later version. 13 -- 14 -- This program is distributed in the hope that it will be useful, 15 -- but WITHOUT ANY WARRANTY; without even the implied warranty of 16 -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 -- GNU General Public License for more details. 18 -- 19 -- You should have received a copy of the GNU General Public License 20 -- along with this program; if not, write to the Free Software 21 -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 -- 23 -- $Id: llx_adherent.sql,v 1.15 2005/12/17 15:31:40 eldy Exp $ 24 -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_adherent.sql,v $ 25 -- 26 -- =================================================================== 27 -- 28 -- statut 29 -- 0 : non adherent 30 -- 1 : adherent 31 32 create table llx_adherent 33 ( 34 rowid SERIAL PRIMARY KEY, 35 "tms" timestamp, 36 "statut" smallint NOT NULL DEFAULT 0, 37 "public" smallint NOT NULL DEFAULT 0, -- certain champ de la fiche sont ils public ou pas ? 38 "fk_adherent_type" smallint, 39 "morphy" varchar(3) CHECK (morphy IN ('mor','phy')) NOT NULL, -- personne morale / personne physique 40 "datevalid" timestamp, -- date de validation 41 "datec" timestamp, -- date de creation 42 "prenom" varchar(50), 43 "nom" varchar(50), 44 "societe" varchar(50), 45 "adresse" text, 46 "cp" varchar(30), 47 "ville" varchar(50), 48 "pays" varchar(50), 49 "email" varchar(255), 50 "login" varchar(50) NOT NULL, -- login utilise pour editer sa fiche 51 "pass" varchar(50), -- pass utilise pour editer sa fiche 52 "naiss" date, -- date de naissance 53 "photo" varchar(255), -- url vers la photo de l'adherent 54 "fk_user_author" integer NOT NULL, 55 "fk_user_mod" integer NOT NULL, 56 "fk_user_valid" integer NOT NULL, 57 "datefin" timestamp, -- date de fin de validité de la cotisation 58 "note" text, 59 60 UNIQUE(login) 61 ); 62 63 CREATE INDEX idx_llx_adherent_login ON llx_adherent (login);
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 12:29:37 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |