fix: Clean old version scan reports of trivy (#16235)
fix: Clean old version scan reports of trivy (#16235)

From harbor 2.4, the trivy does not support scan report v1.0, we need to remove the old version scan reports from the DB.

Signed-off-by: He Weiwei <c834efa4898f8bf976e231f3903babf913725c68@vmware.com>
wy65701436/harbor,wy65701436/harbor,wy65701436/harbor,wy65701436/harbor,wy65701436/harbor,wy65701436/harbor