-- Copyright (C) ---Put here your own copyright and developer email---
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see https://www.gnu.org/licenses/.


-- BEGIN MODULEBUILDER INDEXESALTER TABLE llx_livraisondet  ADD KEY idx_livraisondet_fk_livraison (fk_livraison),  ADD KEY idx_livraisondet_fk_product (fk_product),  ADD KEY fk_livraisondet_fk_unit (fk_unit),  ADD KEY fk_livraisondet_fk_commandefourndet (fk_commandefourndet);ALTER TABLE llx_livraisondet  ADD CONSTRAINT fk_livraisondet_fk_commandefourndet FOREIGN KEY (fk_commandefourndet) REFERENCES llx_commande_fournisseurdet (rowid),  ADD CONSTRAINT fk_livraisondet_fk_livraison FOREIGN KEY (fk_livraison) REFERENCES llx_livraison (rowid),  ADD CONSTRAINT fk_livraisondet_fk_unit FOREIGN KEY (fk_unit) REFERENCES llx_c_units (rowid);-- END MODULEBUILDER INDEXES