diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-20 10:46:01 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-20 10:46:01 -0500 |
commit | a1a37bbc35ac1f793f05254edd142d0673c14c94 (patch) | |
tree | 7746ab2224bf1a32f55dc7eb725136f30cff3e7c /dbstore/sql | |
parent | ee154b172cb9eb49d89294abee9e16f1eb21d8a8 (diff) | |
download | cvez-a1a37bbc35ac1f793f05254edd142d0673c14c94.tar.bz2 cvez-a1a37bbc35ac1f793f05254edd142d0673c14c94.zip |
dbstore/sql/init.sql: fix printf() in cve_nvd_ids
Diffstat (limited to 'dbstore/sql')
-rw-r--r-- | dbstore/sql/init.sql | 2 |
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; -- |