[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/pgsql/tables/ -> llx_contratdet.key.sql (source)

   1  -- Generated from dolibarr_mysql2pgsql
   2  -- (c) 2004, PostgreSQL Inc.
   3  -- (c) 2005, Laurent Destailleur.
   4  
   5  -- ============================================================================
   6  -- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   7  -- Copyright (C) 2005 Laurent Destailleur  <eldy@users.sourceforge.net>
   8  --
   9  -- This program is free software; you can redistribute it and/or modify
  10  -- it under the terms of the GNU General Public License as published by
  11  -- the Free Software Foundation; either version 2 of the License, or
  12  -- (at your option) any later version.
  13  --
  14  -- This program is distributed in the hope that it will be useful,
  15  -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  16  -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17  -- GNU General Public License for more details.
  18  --
  19  -- You should have received a copy of the GNU General Public License
  20  -- along with this program; if not, write to the Free Software
  21  -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  22  --
  23  -- $Id: llx_contratdet.key.sql,v 1.8 2005/12/17 15:31:40 eldy Exp $
  24  -- $Source: /cvsroot/dolibarr/dolibarr/pgsql/tables/llx_contratdet.key.sql,v $
  25  --
  26  -- ============================================================================
  27  
  28  
  29  ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_fk_contrat (fk_contrat);
  30  ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_fk_product (fk_product);
  31  ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_date_ouverture_prevue (date_ouverture_prevue);
  32  ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_date_ouverture (date_ouverture);
  33  ALTER TABLE llx_contratdet ADD INDEX idx_contratdet_date_fin_validite (date_fin_validite);
  34  
  35  ALTER TABLE llx_contratdet ADD CONSTRAINT fk_contratdet_fk_contrat FOREIGN KEY (fk_contrat) REFERENCES llx_contrat (rowid);
  36  ALTER TABLE llx_contratdet ADD CONSTRAINT fk_contratdet_fk_product FOREIGN KEY (fk_product) REFERENCES llx_product (rowid);


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics