Merge pull request #13935 from heww/delete-scan-report

chore: delete records of scan_report
This commit is contained in:
Wenkai Yin(尹文开) 2021-01-08 14:05:57 +08:00 committed by GitHub
commit 3e09eeb62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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`
-- --------------------------------------------------