[ 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_categorie_product.key.sql (source)

   1  -- Generated from dolibarr_mysql2pgsql
   2  -- (c) 2004, PostgreSQL Inc.
   3  -- (c) 2005, Laurent Destailleur.
   4  
   5  -- ============================================================================
   6  -- Copyright (C) 2005 Brice Davoleau       <e1davole@iu-vannes.fr>
   7  -- Copyright (C) 2005 Matthieu Valleton    <mv@seeschloss.org>        
   8  -- Copyright (C) 2005 Laurent Destailleur  <eldy@users.sourceforge.net>
   9  --
  10  -- This program is free software; you can redistribute it and/or modify
  11  -- it under the terms of the GNU General Public License as published by
  12  -- the Free Software Foundation; either version 2 of the License, or
  13  -- (at your option) any later version.
  14  --
  15  -- This program is distributed in the hope that it will be useful,
  16  -- but WITHOUT ANY WARRANTY; without even the implied warranty of
  17  -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  18  -- GNU General Public License for more details.
  19  --
  20  -- You should have received a copy of the GNU General Public License
  21  -- along with this program; if not, write to the Free Software
  22  -- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  23  --
  24  -- ============================================================================
  25  
  26  
  27  ALTER TABLE llx_categorie_product ADD INDEX idx_categorie_product_fk_categorie (fk_categorie);
  28  ALTER TABLE llx_categorie_product ADD INDEX idx_categorie_product_fk_product (fk_product);
  29  
  30  ALTER TABLE llx_categorie_product ADD FOREIGN KEY (fk_categorie) REFERENCES llx_categorie (rowid);
  31  ALTER TABLE llx_categorie_product ADD 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