new postgresql tables

This commit is contained in:
opensides 2004-08-24 18:08:03 +00:00
parent 4975ab82b2
commit bb1adc721b
2 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,36 @@
-- ========================================================================
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2000-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_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
)

View File

@ -0,0 +1,37 @@
-- ========================================================================
-- Copyright (C) 2000-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2000-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$
--
-- 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
);