-- Copyright (C) 2026 Eduard Wisch <data@data-it-solution.de>
--
-- Schlüssel und Indizes für llx_netdiag_measurement

ALTER TABLE llx_netdiag_measurement ADD INDEX idx_netdiag_measurement_fk_protocol(fk_protocol);
ALTER TABLE llx_netdiag_measurement ADD INDEX idx_netdiag_measurement_fk_device(fk_device);
ALTER TABLE llx_netdiag_measurement ADD INDEX idx_netdiag_measurement_tool(tool);
ALTER TABLE llx_netdiag_measurement ADD CONSTRAINT fk_netdiag_measurement_protocol FOREIGN KEY (fk_protocol) REFERENCES llx_netdiag_protocol(rowid);
