forked from Wavyzz/dolibarr
Nettoyage script sql pour release
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
English Dolibarr changelog
|
English Dolibarr changelog
|
||||||
|
|
||||||
|
|
||||||
***** Changelog for 2.2 compared to 2.1 *****
|
***** Changelog for 2.2 compared to 2.1 *****
|
||||||
|
|
||||||
- Add more statistics on main page.
|
- Add more statistics on main page.
|
||||||
|
|||||||
@@ -144,6 +144,8 @@ foreach my $file (keys %filelist) {
|
|||||||
|
|
||||||
# comments or empty lines
|
# comments or empty lines
|
||||||
if (/^-- \$Id/) {
|
if (/^-- \$Id/) {
|
||||||
|
$_ =~ s/\$//g;
|
||||||
|
print OUT $_;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
# comments or empty lines
|
# comments or empty lines
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,8 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_accountingaccount.key.sql,v 1.2 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_accountingaccount.sql,v 1.2 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_accountingaccount
|
create table llx_accountingaccount
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_accountingdebcred.sql,v 1.2 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_accountingdebcred
|
create table llx_accountingdebcred
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_accountingsystem.sql,v 1.3 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_accountingsystem
|
create table llx_accountingsystem
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_accountingtransaction.sql,v 1.3 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_accountingtransaction
|
create table llx_accountingtransaction
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -21,15 +21,13 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_action_def.sql,v 1.7 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_action_def
|
create table llx_action_def
|
||||||
(
|
(
|
||||||
rowid integer NOT NULL PRIMARY KEY,
|
rowid integer NOT NULL PRIMARY KEY,
|
||||||
"code" varchar(24) UNIQUE NOT NULL,
|
"code" varchar(28) UNIQUE NOT NULL,
|
||||||
"tms" timestamp,
|
"tms" timestamp,
|
||||||
"titre" varchar(255) NOT NULL,
|
"titre" varchar(255) NOT NULL,
|
||||||
"description" text,
|
"description" text,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_actioncomm.key.sql,v 1.2 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,8 +20,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- Actions commerciales
|
-- Id: llx_actioncomm.sql,v 1.11 2007/12/02 21:51:12 eldy Exp
|
||||||
--
|
--
|
||||||
|
-- Actions commerciales
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -21,9 +21,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_adherent.sql,v 1.21 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
--
|
--
|
||||||
-- statut
|
-- statut
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_adherent_options.sql,v 1.6 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_adherent_options_label.sql,v 1.3 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_adherent_options_label
|
create table llx_adherent_options_label
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_adherent_type.key.sql,v 1.3 2007/05/05 16:08:12 eldy Exp $
|
-- Id: llx_adherent_type.key.sql,v 1.4 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_adherent_type.key.sql,v $
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_adherent_type.sql,v 1.10 2007/12/02 21:51:12 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
--
|
--
|
||||||
-- statut
|
-- statut
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_appro.sql,v 1.3 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_appro
|
create table llx_appro
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2000-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2000-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_bank.sql,v 1.11 2007/12/02 21:53:28 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_bank
|
create table llx_bank
|
||||||
@@ -31,7 +29,7 @@ create table llx_bank
|
|||||||
"datec" timestamp,
|
"datec" timestamp,
|
||||||
"datev" date, -- date de valeur
|
"datev" date, -- date de valeur
|
||||||
"dateo" date, -- date operation
|
"dateo" date, -- date operation
|
||||||
"amount" real NOT NULL default 0,
|
"amount" real(24,8) NOT NULL default 0,
|
||||||
"label" varchar(255),
|
"label" varchar(255),
|
||||||
"fk_account" integer,
|
"fk_account" integer,
|
||||||
"fk_user_author" integer,
|
"fk_user_author" integer,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_bank_account.key.sql,v 1.2 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,14 +20,11 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_bank_account.sql,v 1.28 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
-- =============================================================================
|
||||||
--
|
|
||||||
--
|
|
||||||
-- courant : type de compte: 0 epargne, 1 courant, 2 caisse
|
-- courant : type de compte: 0 epargne, 1 courant, 2 caisse
|
||||||
-- clos : le compte est-il clos ou encore ouvert
|
-- clos : le compte est-il clos ou encore ouvert
|
||||||
--
|
|
||||||
-- =============================================================================
|
|
||||||
|
|
||||||
create table llx_bank_account
|
create table llx_bank_account
|
||||||
(
|
(
|
||||||
@@ -42,7 +39,9 @@ create table llx_bank_account
|
|||||||
"number" varchar(255),
|
"number" varchar(255),
|
||||||
"cle_rib" varchar(5),
|
"cle_rib" varchar(5),
|
||||||
"bic" varchar(11),
|
"bic" varchar(11),
|
||||||
"iban_prefix" varchar(5),
|
"iban_prefix" varchar(50), -- Code IBAN
|
||||||
|
"country_iban" varchar(2),
|
||||||
|
"cle_iban" varchar(2),
|
||||||
"domiciliation" varchar(255),
|
"domiciliation" varchar(255),
|
||||||
"proprio" varchar(60),
|
"proprio" varchar(60),
|
||||||
"adresse_proprio" varchar(255),
|
"adresse_proprio" varchar(255),
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_bank_categ.sql,v 1.4 2007/12/02 21:53:28 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_bank_categ
|
create table llx_bank_categ
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_bank_class.sql,v 1.5 2007/12/02 21:53:28 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_bank_url.key.sql,v 1.4 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_bank_url.sql,v 1.9 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_bank_url
|
create table llx_bank_url
|
||||||
@@ -32,5 +30,5 @@ create table llx_bank_url
|
|||||||
"url_id" integer,
|
"url_id" integer,
|
||||||
"url" varchar(255),
|
"url" varchar(255),
|
||||||
"label" varchar(255),
|
"label" varchar(255),
|
||||||
"type" varchar(16) CHECK (type IN ('?','company','payment','payment_supplier','member','subscription','donation','sc','payment_sc')) NOT NULL
|
"type" varchar(20) NOT NULL
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_bookmark.key.sql,v 1.2 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- $Id$
|
-- Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -20,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_bookmark.sql,v 1.8 2007/12/02 21:53:28 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_bookmark
|
create table llx_bookmark
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_bookmark4u_login.sql,v 1.2 2007/12/02 21:53:28 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- $Id: llx_bordereau_cheque.sql,v 1.4 2007/08/26 19:21:40 eldy Exp $
|
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_bordereau_cheque.sql,v $
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,7 +19,10 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
--
|
||||||
|
-- Id: llx_bordereau_cheque.sql,v 1.6 2007/12/02 21:53:28 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Bordereaux de remise de cheque
|
-- Bordereaux de remise de cheque
|
||||||
--
|
--
|
||||||
@@ -30,12 +30,12 @@ create table llx_bordereau_cheque
|
|||||||
(
|
(
|
||||||
rowid SERIAL PRIMARY KEY,
|
rowid SERIAL PRIMARY KEY,
|
||||||
"datec" timestamp,
|
"datec" timestamp,
|
||||||
"date_bordereau" date,
|
"date_bordereau" date, -- A quoi sert cette date ?
|
||||||
"number" integer,
|
"number" varchar(16) NOT NULL,
|
||||||
"amount" float(12,2),
|
"amount" real(24,8) NOT NULL,
|
||||||
"nbcheque" smallint DEFAULT 0,
|
"nbcheque" smallint NOT NULL,
|
||||||
"fk_bank_account" integer,
|
"fk_bank_account" integer,
|
||||||
"fk_user_author" integer,
|
"fk_user_author" integer,
|
||||||
"note" text,
|
"note" text,
|
||||||
"statut" int2 DEFAULT 0
|
"statut" int2 NOT NULL DEFAULT 0
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,14 +19,14 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_boxes.key.sql,v 1.3 2006/11/01 15:15:15 eldy Exp $
|
-- Id: llx_boxes.key.sql,v 1.4 2007/12/02 14:46:08 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_boxes.key.sql,v $
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
-- Supprimme orphelins pour permettre mont<6E>e de la cl<63>
|
ALTER TABLE llx_boxes ADD UNIQUE INDEX uk_boxes (box_id, position, fk_user);
|
||||||
-- V4 DELETE llx_boxes FROM llx_boxes LEFT JOIN llx_boxes_def ON llx_boxes.box_id = llx_boxes_def.rowid WHERE llx_boxes_def.rowid IS NULL;
|
|
||||||
|
|
||||||
|
-- Supprime orphelins pour permettre mont<6E>e de la cl<63>
|
||||||
|
-- V4 DELETE llx_boxes FROM llx_boxes LEFT JOIN llx_boxes_def ON llx_boxes.box_id = llx_boxes_def.rowid WHERE llx_boxes_def.rowid IS NULL;
|
||||||
ALTER TABLE llx_boxes ADD INDEX idx_boxes_boxid (box_id);
|
ALTER TABLE llx_boxes ADD INDEX idx_boxes_boxid (box_id);
|
||||||
ALTER TABLE llx_boxes ADD CONSTRAINT fk_boxes_box_id FOREIGN KEY (box_id) REFERENCES llx_boxes_def (rowid);
|
ALTER TABLE llx_boxes ADD CONSTRAINT fk_boxes_box_id FOREIGN KEY (box_id) REFERENCES llx_boxes_def (rowid);
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,10 +20,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_boxes.sql,v 1.9 2007/12/02 21:53:29 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- position : 0=index.php
|
-- position : 0=index.php
|
||||||
-- box_order : Box sort order
|
-- box_order : Box sort order
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_boxes_def.sql,v 1.5 2007/12/02 21:53:29 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
create table llx_boxes_def
|
create table llx_boxes_def
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_actioncomm.sql,v 1.8 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_actioncomm
|
create table llx_c_actioncomm
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_ape.sql,v 1.7 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_c_chargesociales.sql,v 1.8 2007/12/02 21:57:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_chargesociales
|
create table llx_c_chargesociales
|
||||||
@@ -30,7 +28,8 @@ create table llx_c_chargesociales
|
|||||||
id SERIAL PRIMARY KEY,
|
id SERIAL PRIMARY KEY,
|
||||||
"libelle" varchar(80),
|
"libelle" varchar(80),
|
||||||
"deductible" smallint DEFAULT 0 NOT NULL,
|
"deductible" smallint DEFAULT 0 NOT NULL,
|
||||||
"active" smallint DEFAULT 1 NOT NULL
|
"active" smallint DEFAULT 1 NOT NULL,
|
||||||
|
"actioncompta" varchar(12) NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,8 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_c_civilite.sql,v 1.6 2007/12/02 21:57:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_civilite
|
create table llx_c_civilite
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_currencies.key.sql,v 1.2 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_currencies.sql,v 1.3 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_currencies
|
create table llx_c_currencies
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_c_departements.key.sql,v 1.3 2007/12/02 21:57:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_departements.sql,v 1.9 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_departements
|
create table llx_c_departements
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2007 R<>gis Houssin <regis@dolibarr.fr>
|
-- Copyright (C) 2007 R<>gis Houssin <regis@dolibarr.fr>
|
||||||
--
|
--
|
||||||
-- $Id: llx_c_ecotaxe.sql,v 1.2 2007/09/01 15:03:40 hregis Exp $
|
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_c_ecotaxe.sql,v $
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_ecotaxe.sql,v 1.7 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_ecotaxe
|
create table llx_c_ecotaxe
|
||||||
@@ -29,7 +27,7 @@ create table llx_c_ecotaxe
|
|||||||
rowid SERIAL PRIMARY KEY,
|
rowid SERIAL PRIMARY KEY,
|
||||||
"code" varchar(64) UNIQUE NOT NULL, -- Code servant <20> la traduction et <20> la r<>f<EFBFBD>rence interne
|
"code" varchar(64) UNIQUE NOT NULL, -- Code servant <20> la traduction et <20> la r<>f<EFBFBD>rence interne
|
||||||
"libelle" varchar(255), -- Description
|
"libelle" varchar(255), -- Description
|
||||||
"price" real(16,8), -- Montant HT
|
"price" real(24,8), -- Montant HT
|
||||||
"organization" varchar(255), -- Organisme g<>rant le bar<61>me tarifaire
|
"organization" varchar(255), -- Organisme g<>rant le bar<61>me tarifaire
|
||||||
"fk_pays" integer NOT NULL, -- Pays correspondant
|
"fk_pays" integer NOT NULL, -- Pays correspondant
|
||||||
"active" smallint DEFAULT 1 NOT NULL
|
"active" smallint DEFAULT 1 NOT NULL
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_effectif.sql,v 1.6 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_effectif
|
create table llx_c_effectif
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_c_forme_juridique.sql,v 1.8 2007/12/02 21:57:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_methode_commande_fournisseur.sql,v 1.5 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,11 +20,10 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_c_paiement.sql,v 1.8 2007/12/02 21:57:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
--
|
|
||||||
|
|
||||||
-- Type :
|
-- Type :
|
||||||
--
|
--
|
||||||
-- 0 : entr<74>e d'argent
|
-- 0 : entr<74>e d'argent
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_pays.key.sql,v 1.2 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_pays.sql,v 1.12 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_pays
|
create table llx_c_pays
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_propalst.sql,v 1.6 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_c_propalst
|
create table llx_c_propalst
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_regions.key.sql,v 1.4 2007/12/02 21:57:09 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_regions.sql,v 1.11 2007/12/02 21:57:10 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_regions
|
create table llx_c_regions
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2001-2002,2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_stcomm.sql,v 1.6 2007/12/02 21:57:10 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_stcomm
|
create table llx_c_stcomm
|
||||||
|
|||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_tva.sql,v 1.3 2007/12/02 21:57:10 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2005 Patrick Rouillon <patrick.rouillon.net>
|
-- Copyright (C) 2005 Patrick Rouillon <patrick.rouillon.net>
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -23,6 +20,8 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_type_contact.key.sql,v 1.3 2007/12/02 21:57:10 eldy Exp
|
||||||
|
-- ========================================================================
|
||||||
-- Defini les types de contact d'un element sert de reference pour
|
-- Defini les types de contact d'un element sert de reference pour
|
||||||
-- la table llx_element_contact
|
-- la table llx_element_contact
|
||||||
--
|
--
|
||||||
@@ -30,8 +29,7 @@
|
|||||||
-- i.e. contact, facture, projet, societe (sans le llx_ devant).
|
-- i.e. contact, facture, projet, societe (sans le llx_ devant).
|
||||||
-- Libelle est un texte d<>crivant le type de contact.
|
-- Libelle est un texte d<>crivant le type de contact.
|
||||||
-- active pr<70>cide si cette valeur est active ou 'archiv<69>'.
|
-- active pr<70>cide si cette valeur est active ou 'archiv<69>'.
|
||||||
--
|
|
||||||
-- ========================================================================
|
|
||||||
|
|
||||||
|
|
||||||
ALTER TABLE llx_c_type_contact
|
ALTER TABLE llx_c_type_contact
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -6,9 +6,6 @@
|
|||||||
-- Copyright (C) 2005 Patrick Rouillon <patrick.rouillon.net>
|
-- Copyright (C) 2005 Patrick Rouillon <patrick.rouillon.net>
|
||||||
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -31,6 +28,7 @@
|
|||||||
-- Libelle est un texte d<>crivant le type de contact.
|
-- Libelle est un texte d<>crivant le type de contact.
|
||||||
-- active pr<70>cide si cette valeur est active ou 'archiv<69>'.
|
-- active pr<70>cide si cette valeur est active ou 'archiv<69>'.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_c_type_contact.sql,v 1.5 2007/12/02 21:57:10 eldy Exp
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,12 +20,20 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_c_typent.sql,v 1.6 2007/12/02 21:57:10 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
create table llx_c_typent
|
CREATE TABLE llx_surveys_answers_summary (
|
||||||
|
fk_question integer PRIMARY KEY,
|
||||||
|
"nb_rep1" decimal(10,0) NOT NULL default '0',
|
||||||
|
"nb_rep2" decimal(10,0) default NULL,
|
||||||
|
"nb_rep3" decimal(10,0) default NULL,
|
||||||
|
"nb_rep4" decimal(10,0) default NULL,
|
||||||
|
"tot_rep1" decimal(10,0) NOT NULL default '0',
|
||||||
|
"tot_rep2" decimal(10,0) default NULL,
|
||||||
|
"tot_rep3" decimal(10,0) default NULL,
|
||||||
|
"tot_rep4" decimal(10,0) default NULL
|
||||||
|
")""create" table llx_c_typent
|
||||||
(
|
(
|
||||||
id integer PRIMARY KEY,
|
id integer PRIMARY KEY,
|
||||||
"code" varchar(12) UNIQUE NOT NULL,
|
"code" varchar(12) UNIQUE NOT NULL,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_categorie.key.sql,v 1.4 2007/12/02 22:03:22 eldy Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
ALTER TABLE llx_categorie ADD UNIQUE INDEX uk_categorie_ref (label,type);
|
ALTER TABLE llx_categorie ADD UNIQUE INDEX uk_categorie_ref (label,type);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -21,9 +21,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_categorie.sql,v 1.6 2007/12/02 22:03:22 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_categorie
|
create table llx_categorie
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_categorie_association.key.sql,v 1.4 2007/12/02 22:03:22 eldy Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_categorie_association.sql,v 1.2 2007/12/02 22:03:22 eldy Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_categorie_association
|
create table llx_categorie_association
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_categorie_fournisseur.sql,v 1.2 2006/12/06 15:10:38 rodolphe Exp $
|
-- Id: llx_categorie_fournisseur.sql,v 1.3 2007/12/02 22:03:22 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_categorie_fournisseur.sql,v $
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_categorie_fournisseur
|
create table llx_categorie_fournisseur
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_categorie_product.key.sql,v 1.4 2007/12/02 22:03:22 eldy Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
ALTER TABLE llx_categorie_product ADD PRIMARY KEY (fk_categorie, fk_product);
|
ALTER TABLE llx_categorie_product ADD PRIMARY KEY (fk_categorie, fk_product);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_categorie_product.sql,v 1.2 2007/12/02 22:03:22 eldy Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_categorie_product
|
create table llx_categorie_product
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_compta.sql,v 1.4 2004/10/09 10:47:16 opensides Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
ALTER TABLE llx_categorie_societe ADD PRIMARY KEY (fk_categorie, fk_societe);
|
ALTER TABLE llx_categorie_societe ADD PRIMARY KEY (fk_categorie, fk_societe);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_compta.sql,v 1.4 2004/10/09 10:47:16 opensides Exp
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_categorie_societe
|
create table llx_categorie_societe
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_chargesociales.sql,v 1.7 2007/11/27 05:20:53 eldy Exp
|
||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
@@ -28,8 +28,8 @@ create table llx_chargesociales
|
|||||||
(
|
(
|
||||||
rowid SERIAL PRIMARY KEY,
|
rowid SERIAL PRIMARY KEY,
|
||||||
"date_ech" timestamp, -- date d'echeance
|
"date_ech" timestamp, -- date d'echeance
|
||||||
"libelle" varchar(80),
|
"libelle" varchar(80) NOT NULL,
|
||||||
"fk_type" integer,
|
"fk_type" integer NOT NULL,
|
||||||
"amount" real default 0 NOT NULL,
|
"amount" real default 0 NOT NULL,
|
||||||
"paye" smallint default 0 NOT NULL,
|
"paye" smallint default 0 NOT NULL,
|
||||||
"periode" date
|
"periode" date
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_co_fa.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_co_pr.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_co_pr
|
create table llx_co_pr
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,8 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_comfourn_facfourn.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commande.key.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commande.sql,v 1.15 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -48,9 +46,9 @@ create table llx_commande
|
|||||||
"remise_percent" real default 0,
|
"remise_percent" real default 0,
|
||||||
"remise_absolue" real default 0,
|
"remise_absolue" real default 0,
|
||||||
"remise" real default 0,
|
"remise" real default 0,
|
||||||
"tva" real(16,8) default 0,
|
"tva" real(24,8) default 0,
|
||||||
"total_ht" real(16,8) default 0,
|
"total_ht" real(24,8) default 0,
|
||||||
"total_ttc" real(16,8) default 0,
|
"total_ttc" real(24,8) default 0,
|
||||||
"note" text,
|
"note" text,
|
||||||
"note_public" text,
|
"note_public" text,
|
||||||
"model_pdf" varchar(50),
|
"model_pdf" varchar(50),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commande_fournisseur.key.sql,v 1.4 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commande_fournisseur.sql,v 1.8 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -46,9 +44,9 @@ create table llx_commande_fournisseur
|
|||||||
"amount_ht" real default 0,
|
"amount_ht" real default 0,
|
||||||
"remise_percent" real default 0,
|
"remise_percent" real default 0,
|
||||||
"remise" real default 0,
|
"remise" real default 0,
|
||||||
"tva" real(16,8) default 0,
|
"tva" real(24,8) default 0,
|
||||||
"total_ht" real(16,8) default 0,
|
"total_ht" real(24,8) default 0,
|
||||||
"total_ttc" real(16,8) default 0,
|
"total_ttc" real(24,8) default 0,
|
||||||
"note" text,
|
"note" text,
|
||||||
"note_public" text,
|
"note_public" text,
|
||||||
"model_pdf" varchar(50),
|
"model_pdf" varchar(50),
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_commande_fournisseur_dispatch.key.sql,v 1.1 2006/12/11 17:39:39 rodolphe Exp $
|
-- Id: llx_commande_fournisseur_dispatch.key.sql,v 1.2 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_commande_fournisseur_dispatch.key.sql,v $
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX (fk_commande);
|
ALTER TABLE llx_commande_fournisseur_dispatch ADD INDEX (fk_commande);
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_commande_fournisseur_dispatch.sql,v 1.1 2006/12/11 17:42:13 rodolphe Exp $
|
-- Id: llx_commande_fournisseur_dispatch.sql,v 1.2 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_commande_fournisseur_dispatch.sql,v $
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_commande_fournisseur_dispatch
|
create table llx_commande_fournisseur_dispatch
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commande_fournisseur_log.sql,v 1.2 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_commande_fournisseur_log
|
create table llx_commande_fournisseur_log
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,26 +20,25 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commande_fournisseurdet.sql,v 1.8 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_commande_fournisseurdet
|
create table llx_commande_fournisseurdet
|
||||||
(
|
(
|
||||||
rowid SERIAL PRIMARY KEY,
|
rowid SERIAL PRIMARY KEY,
|
||||||
"fk_commande" integer,
|
"fk_commande" integer NOT NULL,
|
||||||
"fk_product" integer,
|
"fk_product" integer NOT NULL,
|
||||||
"ref" varchar(50),
|
"ref" varchar(50),
|
||||||
"label" varchar(255),
|
"label" varchar(255),
|
||||||
"description" text,
|
"description" text,
|
||||||
"tva_tx" real(6,3), -- taux tva
|
"tva_tx" real(6,3) DEFAULT 0, -- taux tva
|
||||||
"qty" real, -- quantit<69>
|
"qty" real, -- quantit<69>
|
||||||
"remise_percent" real DEFAULT 0, -- pourcentage de remise
|
"remise_percent" real DEFAULT 0, -- pourcentage de remise
|
||||||
"remise" real DEFAULT 0, -- montant de la remise
|
"remise" real DEFAULT 0, -- montant de la remise
|
||||||
"price" real, -- prix final
|
"price" real, -- prix final
|
||||||
"subprice" real(16,8), -- prix unitaire
|
"subprice" real(24,8) DEFAULT 0, -- prix unitaire
|
||||||
"total_ht" real(16,8), -- Total HT de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_ht" real(24,8) DEFAULT 0, -- Total HT de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"total_tva" real(16,8), -- Total TVA de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_tva" real(24,8) DEFAULT 0, -- Total TVA de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"total_ttc" real(16,8), -- Total TTC de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_ttc" real(24,8) DEFAULT 0, -- Total TTC de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"info_bits" integer DEFAULT 0 -- TVA NPR ou non
|
"info_bits" integer DEFAULT 0 -- TVA NPR ou non
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_commandedet.key.sql,v 1.2 2006/11/01 15:15:15 eldy Exp $
|
-- Id: llx_commandedet.key.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_commandedet.key.sql,v $
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,8 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_commandedet.sql,v 1.15 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_commandedet
|
create table llx_commandedet
|
||||||
@@ -36,13 +35,13 @@ create table llx_commandedet
|
|||||||
"remise" real DEFAULT 0, -- montant de la remise
|
"remise" real DEFAULT 0, -- montant de la remise
|
||||||
"fk_remise_except" integer NULL, -- Lien vers table des remises fixes
|
"fk_remise_except" integer NULL, -- Lien vers table des remises fixes
|
||||||
"price" real, -- prix final
|
"price" real, -- prix final
|
||||||
"subprice" real(16,8), -- prix unitaire
|
"subprice" real(24,8) DEFAULT 0, -- prix unitaire
|
||||||
"total_ht" real(16,8), -- Total HT de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_ht" real(24,8) DEFAULT 0, -- Total HT de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"total_tva" real(16,8), -- Total TVA de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_tva" real(24,8) DEFAULT 0, -- Total TVA de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"total_ttc" real(16,8), -- Total TTC de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_ttc" real(24,8) DEFAULT 0, -- Total TTC de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"info_bits" integer DEFAULT 0, -- TVA NPR ou non
|
"info_bits" integer DEFAULT 0, -- TVA NPR ou non
|
||||||
"marge_tx" real, -- taux de marge (marge sur prix d'achat)
|
"marge_tx" real(6,3) DEFAULT 0, -- taux de marge (marge sur prix d'achat)
|
||||||
"marque_tx" real, -- taux de marque (marge sur prix de vente)
|
"marque_tx" real(6,3) DEFAULT 0, -- taux de marque (marge sur prix de vente)
|
||||||
"special_code" int2 DEFAULT 0, -- code pour les lignes speciales
|
"special_code" int2 DEFAULT 0, -- code pour les lignes speciales
|
||||||
"rang" integer DEFAULT 0
|
"rang" integer DEFAULT 0
|
||||||
);
|
);
|
||||||
@@ -51,4 +50,5 @@ create table llx_commandedet
|
|||||||
-- Liste des codes pour special_code
|
-- Liste des codes pour special_code
|
||||||
--
|
--
|
||||||
-- 1 : frais de port
|
-- 1 : frais de port
|
||||||
|
-- 2 : ecotaxe
|
||||||
--
|
--
|
||||||
@@ -1,13 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- $Id$
|
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
-- the Free Software Foundation; either version 2 of the License, or
|
-- the Free Software Foundation; either version 2 of the License, or
|
||||||
@@ -22,6 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_compta.sql,v 1.5 2007/12/02 22:03:23 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
-- Copyright (C) 2000-2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_compta_account.sql,v 1.4 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
-- $Source$
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- This program is free software; you can redistribute it and/or modify
|
||||||
@@ -22,6 +22,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
|
-- Id: llx_compta_account.sql,v 1.4 2007/12/02 22:03:23 eldy Exp
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_compta_compte_generaux.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_cond_reglement.sql,v 1.8 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_cond_reglement
|
create table llx_cond_reglement
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,10 +20,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_const.sql,v 1.8 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===========================================================================
|
-- ===========================================================================
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Definitions des constantes utilis<69>s comme parametres de configuration
|
-- Definitions des constantes utilis<69>s comme parametres de configuration
|
||||||
--
|
--
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_contrat.key.sql,v 1.11 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_contrat.sql,v 1.13 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_contrat
|
create table llx_contrat
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_contratdet.key.sql,v 1.6 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_contratdet.sql,v 1.9 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -46,17 +44,17 @@ create table llx_contratdet
|
|||||||
"date_ouverture" timestamp, -- date d'ouverture du service chez le client
|
"date_ouverture" timestamp, -- date d'ouverture du service chez le client
|
||||||
"date_fin_validite" timestamp,
|
"date_fin_validite" timestamp,
|
||||||
"date_cloture" timestamp,
|
"date_cloture" timestamp,
|
||||||
"tva_tx" real(6,3) DEFAULT 0 NOT NULL, -- taux tva
|
"tva_tx" real(6,3) DEFAULT 0, -- taux tva
|
||||||
"qty" real NOT NULL, -- quantit<69>
|
"qty" real NOT NULL, -- quantit<69>
|
||||||
"remise_percent" real DEFAULT 0, -- pourcentage de remise
|
"remise_percent" real DEFAULT 0, -- pourcentage de remise
|
||||||
"subprice" real(16,8), -- prix unitaire
|
"subprice" real(24,8) DEFAULT 0, -- prix unitaire
|
||||||
"price_ht" real, -- prix final (obsolete)
|
"price_ht" real, -- prix final (obsolete)
|
||||||
"remise" real DEFAULT 0, -- montant de la remise (obsolete)
|
"remise" real DEFAULT 0, -- montant de la remise (obsolete)
|
||||||
"total_ht" real(16,8) NOT NULL, -- Total HT de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_ht" real(24,8) DEFAULT 0, -- Total HT de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"total_tva" real(16,8) NOT NULL, -- Total TVA de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_tva" real(24,8) DEFAULT 0, -- Total TVA de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"total_ttc" real(16,8) NOT NULL, -- Total TTC de la ligne toute quantit<69> et incluant remise ligne et globale
|
"total_ttc" real(24,8) DEFAULT 0, -- Total TTC de la ligne toute quantit<69> et incluant remise ligne et globale
|
||||||
"info_bits" integer DEFAULT 0, -- TVA NPR ou non
|
"info_bits" integer DEFAULT 0, -- TVA NPR ou non
|
||||||
"fk_user_author" integer NOT NULL default 0,
|
"fk_user_author" integer NOT NULL DEFAULT 0,
|
||||||
"fk_user_ouverture" integer,
|
"fk_user_ouverture" integer,
|
||||||
"fk_user_cloture" integer,
|
"fk_user_cloture" integer,
|
||||||
"commentaire" text
|
"commentaire" text
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_contratdet_log.key.sql,v 1.1 2006/08/16 22:28:09 eldy Exp $
|
-- Id: llx_contratdet_log.key.sql,v 1.2 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_contratdet_log.key.sql,v $
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
ALTER TABLE llx_contratdet_log ADD INDEX idx_contratdet_log_fk_contratdet (fk_contratdet);
|
ALTER TABLE llx_contratdet_log ADD INDEX idx_contratdet_log_fk_contratdet (fk_contratdet);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_contratdet_log.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_cotisation.key.sql,v 1.2 2007/04/28 14:05:49 eldy Exp $
|
-- Id: llx_cotisation.key.sql,v 1.3 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_cotisation.key.sql,v $
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
ALTER TABLE llx_cotisation ADD UNIQUE INDEX uk_cotisation (fk_adherent,dateadh);
|
ALTER TABLE llx_cotisation ADD UNIQUE INDEX uk_cotisation (fk_adherent,dateadh);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_cotisation.sql,v 1.9 2007/12/02 22:03:23 eldy Exp
|
||||||
-- $Source$
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_cotisation
|
create table llx_cotisation
|
||||||
@@ -30,6 +29,7 @@ create table llx_cotisation
|
|||||||
"datec" timestamp,
|
"datec" timestamp,
|
||||||
"fk_adherent" integer,
|
"fk_adherent" integer,
|
||||||
"dateadh" timestamp,
|
"dateadh" timestamp,
|
||||||
|
"datef" date,
|
||||||
"cotisation" real,
|
"cotisation" real,
|
||||||
"fk_bank" int4 DEFAULT NULL,
|
"fk_bank" int4 DEFAULT NULL,
|
||||||
"note" text
|
"note" text
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_deplacement.sql,v 1.4 2007/12/02 22:00:08 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
create table llx_deplacement
|
create table llx_deplacement
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_document.sql,v 1.2 2007/04/13 15:29:02 rodolphe Exp $
|
-- Id: llx_document.sql,v 1.3 2007/12/02 22:00:08 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_document.sql,v $
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,8 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_document_generator.sql,v 1.2 2007/04/13 12:23:08 rodolphe Exp $
|
-- Id: llx_document_generator.sql,v 1.3 2007/12/02 22:00:08 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_document_generator.sql,v $
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_document_model.key.sql,v 1.1 2007/01/03 22:10:23 eldy Exp $
|
-- Id: llx_document_model.key.sql,v 1.2 2007/12/02 22:00:08 eldy Exp
|
||||||
-- $Source: /cvsroot/dolibarr/dolibarr/mysql/tables/llx_document_model.key.sql,v $
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -20,11 +20,9 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_document_model.sql,v 1.7 2007/12/02 22:00:08 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
--
|
||||||
-- Liste des modeles de document disponibles
|
-- Liste des modeles de document disponibles
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_document_model
|
create table llx_document_model
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_dolibarr_modules.sql,v 1.3 2007/12/02 22:00:08 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_domain.sql,v 1.4 2007/12/02 22:00:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_domain
|
create table llx_domain
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,11 +19,10 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_don.sql,v 1.11 2007/12/02 22:00:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
|
|
||||||
create table llx_don
|
create table llx_don
|
||||||
(
|
(
|
||||||
rowid SERIAL PRIMARY KEY,
|
rowid SERIAL PRIMARY KEY,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_don_projet.sql,v 1.5 2007/12/02 22:00:09 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_don_projet
|
create table llx_don_projet
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
@@ -19,9 +19,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id: llx_droitpret_rapport.sql,v 1.2 2007/02/27 09:40:31 patrickrgn Exp $
|
-- Id: llx_droitpret_rapport.sql,v 1.2 2007/02/27 09:40:31 patrickrgn Exp
|
||||||
-- $Source: /sources/dolibarr/dolibarr/mysql/tables/llx_droitpret_rapport.sql,v $
|
|
||||||
--
|
|
||||||
-- ========================================================================
|
-- ========================================================================
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
-- Generated from dolibarr_mysql2pgsql
|
-- Generated by dolibarr_mysql2pgsql
|
||||||
-- (c) 2004, PostgreSQL Inc.
|
-- (c) 2004, PostgreSQL Inc.
|
||||||
-- (c) 2005, Laurent Destailleur.
|
-- (c) 2005, Laurent Destailleur.
|
||||||
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
-- Copyright (C) 2005 patrick Rouillon <patrick@rouillon.net>
|
-- Copyright (C) 2005 patrick Rouillon <patrick@rouillon.net>
|
||||||
|
-- Copyright (C) 2007 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
--
|
--
|
||||||
-- This program is free software; you can redistribute it and/or modify
|
-- 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
|
-- it under the terms of the GNU General Public License as published by
|
||||||
@@ -19,9 +20,7 @@
|
|||||||
-- along with this program; if not, write to the Free Software
|
-- along with this program; if not, write to the Free Software
|
||||||
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
--
|
--
|
||||||
-- $Id$
|
-- Id: llx_element_contact.key.sql,v 1.6 2007/12/02 21:58:49 eldy Exp
|
||||||
-- $Source$
|
|
||||||
--
|
|
||||||
-- ============================================================================
|
-- ============================================================================
|
||||||
|
|
||||||
|
|
||||||
@@ -31,3 +30,8 @@ ALTER TABLE llx_element_contact
|
|||||||
ALTER TABLE llx_element_contact
|
ALTER TABLE llx_element_contact
|
||||||
ADD CONSTRAINT fk_element_contact_fk_c_type_contact
|
ADD CONSTRAINT fk_element_contact_fk_c_type_contact
|
||||||
FOREIGN KEY (fk_c_type_contact) REFERENCES llx_c_type_contact(rowid);
|
FOREIGN KEY (fk_c_type_contact) REFERENCES llx_c_type_contact(rowid);
|
||||||
|
|
||||||
|
|
||||||
|
ALTER TABLE llx_element_contact ADD INDEX idx_element_contact_fk_socpeople (fk_socpeople);
|
||||||
|
-- Pas de contraite sur fk_socpeople car point sur llx_socpeople mais aussi llx_user
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user