From bb1adc721b47ad17a31ca87c24cb1dafd377c575 Mon Sep 17 00:00:00 2001 From: opensides Date: Tue, 24 Aug 2004 18:08:03 +0000 Subject: [PATCH] new postgresql tables --- pgsql/tables/llx_groupesociete.sql | 36 ++++++++++++++++++++++ pgsql/tables/llx_groupesociete_remise.sql | 37 +++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 pgsql/tables/llx_groupesociete.sql create mode 100644 pgsql/tables/llx_groupesociete_remise.sql diff --git a/pgsql/tables/llx_groupesociete.sql b/pgsql/tables/llx_groupesociete.sql new file mode 100644 index 00000000000..e1b38e4424e --- /dev/null +++ b/pgsql/tables/llx_groupesociete.sql @@ -0,0 +1,36 @@ +-- ======================================================================== +-- Copyright (C) 2000-2004 Rodolphe Quiedeville +-- Copyright (C) 2000-2004 Benoit Mortier +-- +-- 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_groupesociete +( + rowid serial PRIMARY KEY, + parent integer UNIQUE, + tms timestamp, + datec timestamp, -- creation date + nom varchar(60), -- company name + note text, -- + remise real default 0, -- remise systématique pour le client + fk_user_author integer + +) + diff --git a/pgsql/tables/llx_groupesociete_remise.sql b/pgsql/tables/llx_groupesociete_remise.sql new file mode 100644 index 00000000000..ad45254554a --- /dev/null +++ b/pgsql/tables/llx_groupesociete_remise.sql @@ -0,0 +1,37 @@ +-- ======================================================================== +-- Copyright (C) 2000-2004 Rodolphe Quiedeville +-- Copyright (C) 2000-2004 Benoit Mortier +-- +-- 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$ +-- +-- Historique des remises au groupes de societes +-- +-- ======================================================================== + +create table llx_groupesociete_remise +( + rowid serial PRIMARY KEY, + fk_groupe integer NOT NULL, + tms timestamp, + datec timestamp, -- creation date + fk_user_author integer, -- utilisateur qui a créé l'info + remise real default 0, -- remise systématique pour le client + note text + +); +