-
- Downloads
Backfill project snippet statistics
In this commit we add a background migration to create/update project snippet statistics. It also update the `snippets_size` in the project and namespace statistics.
Showing
- changelogs/unreleased/fj-223817-populate-project-snippets-statistics.yml 5 additions, 0 deletions...leased/fj-223817-populate-project-snippets-statistics.yml
- db/post_migrate/20200709101408_schedule_populate_project_snippet_statistics.rb 34 additions, 0 deletions...709101408_schedule_populate_project_snippet_statistics.rb
- db/structure.sql 1 addition, 0 deletionsdb/structure.sql
- lib/gitlab/background_migration/populate_project_snippet_statistics.rb 53 additions, 0 deletions...ckground_migration/populate_project_snippet_statistics.rb
- spec/lib/gitlab/background_migration/populate_project_snippet_statistics_spec.rb 173 additions, 0 deletions...und_migration/populate_project_snippet_statistics_spec.rb
Please register or sign in to comment