adaptation pour dolibarr head
This commit is contained in:
parent
e13c50e7e8
commit
c386675aa4
@ -1,4 +1,6 @@
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortiero <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $Id$
|
||||
-- $Source$
|
||||
--
|
||||
@ -29,6 +31,7 @@ create table llx_adherent
|
||||
statut smallint NOT NULL DEFAULT 0,
|
||||
public smallint NOT NULL DEFAULT 0, -- certain champ de la fiche sont ils public ou pas ?
|
||||
fk_adherent_type smallint,
|
||||
morphy CHAR(3) CHECK (morphy ('mor','phy')) NOT NULL, -- personne morale / personne physique
|
||||
datevalid timestamp, -- date de validation
|
||||
datec timestamp, -- date de creation
|
||||
prenom varchar(50),
|
||||
@ -42,7 +45,9 @@ create table llx_adherent
|
||||
login varchar(50) NOT NULL, -- login utilise pour editer sa fiche
|
||||
pass varchar(50), -- pass utilise pour editer sa fiche
|
||||
naiss date, -- date de naissance
|
||||
photo varchar(255), -- url vers la photo de l'adherent
|
||||
fk_user_author integer NOT NULL,
|
||||
fk_user_mod integer NOT NULL,
|
||||
fk_user_valid integer NOT NULL,
|
||||
datefin timestamp NOT NULL, -- date de fin de validité de la cotisation
|
||||
note text
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
create table llx_adherent_options_label
|
||||
(
|
||||
name SERIAL PRIMARY KEY, -- nom de l'attribut
|
||||
name varchar(64) PRIMARY KEY, -- nom de l'attribut
|
||||
tms timestamp,
|
||||
label varchar(255) NOT NULL -- label correspondant a l'attribut
|
||||
);
|
||||
|
||||
@ -24,7 +24,7 @@ create table llx_album
|
||||
tms timestamp,
|
||||
ref varchar(12),
|
||||
title varchar(64),
|
||||
annee smallint, -- pourquoi smallint(64)
|
||||
annee smallint,
|
||||
description text,
|
||||
collectif smallint,
|
||||
fk_user_author integer
|
||||
|
||||
32
pgsql/tables/llx_c_actioncomm.sql
Normal file
32
pgsql/tables/llx_c_actioncomm.sql
Normal file
@ -0,0 +1,32 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $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.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_actioncomm
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(30),
|
||||
todo int
|
||||
);
|
||||
|
||||
|
||||
32
pgsql/tables/llx_c_chargesociales.sql
Normal file
32
pgsql/tables/llx_c_chargesociales.sql
Normal file
@ -0,0 +1,32 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- 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_c_chargesociales
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(80),
|
||||
deductible smallint NOT NULL default 0
|
||||
);
|
||||
|
||||
|
||||
|
||||
28
pgsql/tables/llx_c_effectif.sql
Normal file
28
pgsql/tables/llx_c_effectif.sql
Normal file
@ -0,0 +1,28 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $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.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_effectif
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(30)
|
||||
);
|
||||
|
||||
40
pgsql/tables/llx_c_paiement.sql
Normal file
40
pgsql/tables/llx_c_paiement.sql
Normal file
@ -0,0 +1,40 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- 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$
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
--
|
||||
-- Type :
|
||||
--
|
||||
-- 0 : entrée d'argent
|
||||
-- 1 : sortie d'argent
|
||||
-- 2 : entrée ou sortie d'argent
|
||||
|
||||
create table llx_c_paiement
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(30),
|
||||
type smallint
|
||||
);
|
||||
|
||||
|
||||
|
||||
30
pgsql/tables/llx_c_pays.sql
Normal file
30
pgsql/tables/llx_c_pays.sql
Normal file
@ -0,0 +1,30 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $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.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_pays
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(25),
|
||||
code char(2) NOT NULL
|
||||
);
|
||||
|
||||
|
||||
28
pgsql/tables/llx_c_propalst.sql
Normal file
28
pgsql/tables/llx_c_propalst.sql
Normal file
@ -0,0 +1,28 @@
|
||||
-- ===================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $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.
|
||||
--
|
||||
-- ===================================================================
|
||||
|
||||
create table llx_c_propalst
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
label varchar(30)
|
||||
);
|
||||
|
||||
28
pgsql/tables/llx_c_stcomm.sql
Normal file
28
pgsql/tables/llx_c_stcomm.sql
Normal file
@ -0,0 +1,28 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $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.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_stcomm
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(30)
|
||||
);
|
||||
|
||||
27
pgsql/tables/llx_c_typent.sql
Normal file
27
pgsql/tables/llx_c_typent.sql
Normal file
@ -0,0 +1,27 @@
|
||||
-- ========================================================================
|
||||
-- Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
--
|
||||
-- $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.
|
||||
--
|
||||
-- ========================================================================
|
||||
|
||||
create table llx_c_typent
|
||||
(
|
||||
id SERIAL PRIMARY KEY,
|
||||
libelle varchar(30)
|
||||
);
|
||||
Loading…
Reference in New Issue
Block a user