DB migration for Vulnerabilities Count
This issue is to implement the post migration for #235630 (closed)
Implementation plan
-
database/backend re-populate database with data from last year - modify retention period from 90 days to 1 year (https://gitlab.com/gitlab-org/gitlab/blob/master/ee/lib/ee/gitlab/background_migration/populate_vulnerability_historical_statistics.rb#L19) and create new post migration to execute the background migration (just like https://gitlab.com/gitlab-org/gitlab/blob/master/db/post_migrate/20200821224343_schedule_populate_vulnerability_historical_statistics.rb#L3)
Edited by Thiago Figueiró