aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbstore/sql/init.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbstore/sql/init.sql b/dbstore/sql/init.sql
index a54f278..b8f56e9 100644
--- a/dbstore/sql/init.sql
+++ b/dbstore/sql/init.sql
@@ -387,7 +387,7 @@ CREATE INDEX in_cves_item_id ON cves(item_id);
--
CREATE VIEW cve_nvd_ids AS
SELECT cve_id,
- printf('CVE-%04-%04d', cve_year, cve_num) AS nvd_id
+ printf('CVE-%04d-%04d', cve_year, cve_num) AS nvd_id
FROM cves;
--