Skip to content

repo stats: do not insert all-zeroes

Administrator requested to merge mrn/repo-stats-no-zeros into main

Created by: mrnugget

This re-creates two triggers on the repo and the gitserver_repos tables with slightly altered functions:

the updated functions now don't append a row to the repo_statistics table if all columns are zero.

Test plan

  • Existing tests

Merge request reports

Loading