chore: delete records of scan_report

The report in previous scan_report records not work well the
vulnerabilities stored in the schema table, so delete the scan_report
records.

Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
He Weiwei 2021-01-08 03:39:00 +00:00
parent 4580aeff3b
commit 4a326aa8b0

View File

@ -478,6 +478,11 @@ Common vulnerability reporting schema.
Github proposal link : https://github.com/goharbor/community/pull/145
*/
/*
The old scan_report not work well with report_vulnerability_record and vulnerability_record so delete them
*/
DELETE FROM scan_report;
-- --------------------------------------------------
-- Table Structure for `main.VulnerabilityRecord`
-- --------------------------------------------------