From 2d49f8d4227b2bb674a17cfbed5da945dfa830b2 Mon Sep 17 00:00:00 2001 From: Hans Aikema Date: Sat, 3 Oct 2020 22:13:44 +0200 Subject: [PATCH] Restore idxCpe on initialize.sql --- 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";