mirror of
https://github.com/goharbor/harbor
synced 2024-09-20 18:45:31 +00: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
|
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`
|
-- Table Structure for `main.VulnerabilityRecord`
|
||||||
-- --------------------------------------------------
|
-- --------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user