remplace par les definitions commencants par llx_
This commit is contained in:
parent
44869cc29d
commit
3780321f48
@ -1,33 +0,0 @@
|
|||||||
-- ========================================================================
|
|
||||||
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
|
||||||
--
|
|
||||||
-- $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 soc_events
|
|
||||||
(
|
|
||||||
rowid SERIAL,
|
|
||||||
fk_soc int NOT NULL, --
|
|
||||||
dateb timestamp NOT NULL, -- begin date
|
|
||||||
datee timestamp NOT NULL, -- end date
|
|
||||||
title varchar(100) NOT NULL,
|
|
||||||
url varchar(255),
|
|
||||||
description text
|
|
||||||
);
|
|
||||||
@ -1,53 +0,0 @@
|
|||||||
-- ========================================================================
|
|
||||||
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
|
||||||
--
|
|
||||||
-- $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 societe
|
|
||||||
(
|
|
||||||
idp SERIAL,
|
|
||||||
id varchar(32), -- private id
|
|
||||||
active smallint default 0, --
|
|
||||||
parent integer default 0, --
|
|
||||||
tms timestamp,
|
|
||||||
datec timestamp, -- creation date
|
|
||||||
datea timestamp, -- activation date
|
|
||||||
nom varchar(60), -- company name
|
|
||||||
address varchar(255), -- company adresse
|
|
||||||
cp varchar(10), -- zipcode
|
|
||||||
ville varchar(50), -- town
|
|
||||||
fk_pays integer default 0, --
|
|
||||||
tel varchar(20), -- phone number
|
|
||||||
fax varchar(20), -- fax number
|
|
||||||
url varchar(255), --
|
|
||||||
fk_secteur integer default 0, --
|
|
||||||
fk_effectif integer default 0, --
|
|
||||||
fk_typent integer default 0, --
|
|
||||||
siren varchar(9), --
|
|
||||||
description text, --
|
|
||||||
fk_stcomm smallint default 0, -- commercial statut
|
|
||||||
note text, --
|
|
||||||
services integer default 0, --
|
|
||||||
prefix_comm varchar(5), -- prefix commercial
|
|
||||||
client smallint default 0, -- client oui/non
|
|
||||||
fournisseur smallint default 0 -- fournisseur oui/non
|
|
||||||
);
|
|
||||||
|
|
||||||
create unique index societe_prefix_comm on societe(prefix_comm);
|
|
||||||
@ -1,36 +0,0 @@
|
|||||||
-- ============================================================================
|
|
||||||
-- Copyright (C) 2001-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
|
||||||
--
|
|
||||||
-- $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 socpeople
|
|
||||||
(
|
|
||||||
idp SERIAL,
|
|
||||||
datec timestamp,
|
|
||||||
fk_soc integer,
|
|
||||||
name varchar(50),
|
|
||||||
firstname varchar(50),
|
|
||||||
address varchar(255),
|
|
||||||
poste varchar(80),
|
|
||||||
phone varchar(30),
|
|
||||||
fax varchar(30),
|
|
||||||
email varchar(255),
|
|
||||||
note text
|
|
||||||
);
|
|
||||||
@ -1,30 +0,0 @@
|
|||||||
-- ========================================================================
|
|
||||||
-- Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
-- Copyright (C) 2002-2003 Éric Seigne <erics@rycks.com>
|
|
||||||
--
|
|
||||||
-- $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 socstatutlog
|
|
||||||
(
|
|
||||||
id SERIAL,
|
|
||||||
datel timestamp,
|
|
||||||
fk_soc integer,
|
|
||||||
fk_statut integer,
|
|
||||||
author varchar(30)
|
|
||||||
);
|
|
||||||
@ -1,37 +0,0 @@
|
|||||||
-- ===================================================================
|
|
||||||
-- 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 transaction_bplc
|
|
||||||
(
|
|
||||||
rowid SERIAL,
|
|
||||||
tms timestamp,
|
|
||||||
|
|
||||||
ipclient varchar(20),
|
|
||||||
num_transaction varchar(10),
|
|
||||||
date_transaction varchar(10),
|
|
||||||
heure_transaction varchar(10),
|
|
||||||
num_autorisation varchar(10),
|
|
||||||
cle_acceptation varchar(5),
|
|
||||||
code_retour varchar(4),
|
|
||||||
|
|
||||||
ref_commande integer
|
|
||||||
|
|
||||||
);
|
|
||||||
Loading…
Reference in New Issue
Block a user