/[dolibarr]/dolibarr/pgsql/tables/llx_categorie_association.key.sql
ViewVC logotype

Diff of /dolibarr/pgsql/tables/llx_categorie_association.key.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by eldy, Wed Jun 22 06:29:14 2005 UTC revision 1.2 by eldy, Tue Aug 23 23:45:33 2005 UTC
# Line 3  Line 3 
3  -- (c) 2005, Laurent Destailleur.  -- (c) 2005, Laurent Destailleur.
4    
5  -- ============================================================================  -- ============================================================================
6  -- Copyright (C) 2005 Brice Davoleau <e1davole@iu-vannes.fr>  -- Copyright (C) 2005 Brice Davoleau       <e1davole@iu-vannes.fr>
7  -- Copyright (C) 2005 Matthieu Valleton <mv@seeschloss.org>              -- 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  -- 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  -- it under the terms of the GNU General Public License as published by
# Line 22  Line 23 
23  --  --
24  -- ============================================================================  -- ============================================================================
25    
26  ALTER TABLE llx_categorie_association ADD INDEX (fk_categorie_mere);  
27  ALTER TABLE llx_categorie_association ADD INDEX (fk_categorie_fille);  ALTER TABLE llx_categorie_association ADD INDEX idx_categorie_association_fk_categorie_mere (fk_categorie_mere);
28    ALTER TABLE llx_categorie_association ADD INDEX idx_categorie_association_fk_categorie_fille (fk_categorie_fille);
29    
30  ALTER TABLE llx_categorie_association ADD FOREIGN KEY (fk_categorie_mere) REFERENCES llx_categorie (rowid);  ALTER TABLE llx_categorie_association ADD FOREIGN KEY (fk_categorie_mere) REFERENCES llx_categorie (rowid);
31  ALTER TABLE llx_categorie_association ADD FOREIGN KEY (fk_categorie_fille) REFERENCES llx_categorie (rowid);  ALTER TABLE llx_categorie_association ADD FOREIGN KEY (fk_categorie_fille) REFERENCES llx_categorie (rowid);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26