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 |
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); |