mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-02 13:01:23 +01:00
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:
parent
4580aeff3b
commit
4a326aa8b0
@ -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`
|
||||
-- --------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user