[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/mysql/tables/ -> llx_categorie_product.key.sql (source)

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