From 9780493d25791e3fa938d1c77c3b52a82af830ea Mon Sep 17 00:00:00 2001 From: Hans Aikema Date: Tue, 6 Oct 2020 13:53:54 +0200 Subject: [PATCH] Restore idxCpe on initialize.sql (#2862) --- core/src/main/resources/data/initialize.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/resources/data/initialize.sql b/core/src/main/resources/data/initialize.sql index e6bb58baa78..f25cad79c63 100644 --- a/core/src/main/resources/data/initialize.sql +++ b/core/src/main/resources/data/initialize.sql @@ -45,6 +45,7 @@ CREATE INDEX idxReference ON reference(cveid); CREATE INDEX idxSoftwareCve ON software(cveid); CREATE INDEX idxSoftwareCpe ON software(cpeEntryId); CREATE INDEX idxCpeEntry ON cpeEntry(part, vendor, product, version, update_version, edition, lang, sw_edition, target_sw, target_hw, other); +CREATE INDEX idxCpe ON cpeEntry(vendor, product); CREATE ALIAS update_vulnerability FOR "org.owasp.dependencycheck.data.nvdcve.H2Functions.updateVulnerability"; CREATE ALIAS insert_software FOR "org.owasp.dependencycheck.data.nvdcve.H2Functions.insertSoftware";