4 |
|
|
5 |
-- ============================================================================ |
-- ============================================================================ |
6 |
-- Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
-- 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 |
-- 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 |
-- it under the terms of the GNU General Public License as published by |
29 |
-- ============================================================================ |
-- ============================================================================ |
30 |
|
|
31 |
|
|
32 |
|
ALTER TABLE llx_societe_remise_except ADD INDEX idx_societe_remise_except_fk_user (fk_user); |
33 |
|
ALTER TABLE llx_societe_remise_except ADD INDEX idx_societe_remise_except_fk_soc (fk_soc); |
34 |
|
ALTER TABLE llx_societe_remise_except ADD INDEX idx_societe_remise_except_fk_facture (fk_facture); |
35 |
|
|
|
ALTER TABLE llx_societe_remise_except ADD INDEX (fk_user); |
|
|
ALTER TABLE llx_societe_remise_except ADD INDEX (fk_soc); |
|
|
ALTER TABLE llx_societe_remise_except ADD INDEX (fk_facture); |
|
36 |
|
|
37 |
ALTER TABLE llx_societe_remise_except ADD FOREIGN KEY (fk_user) REFERENCES llx_user (rowid); |
ALTER TABLE llx_societe_remise_except ADD FOREIGN KEY (fk_user) REFERENCES llx_user (rowid); |
38 |
ALTER TABLE llx_societe_remise_except ADD FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp); |
ALTER TABLE llx_societe_remise_except ADD FOREIGN KEY (fk_soc) REFERENCES llx_societe (idp); |