1
1
mirror of https://github.com/go-gitea/gitea synced 2025-11-01 11:58:25 +00:00
Files
gitea/models/repo.go
Gusted c540ee08d3 Add Num{Issues,Pulls} stats checks (#21404)
- Currently `repository.Num{Issues,Pulls}` weren't checked and could
become out-of-consistency. Adds these two checks to `CheckRepoStats`.
- Fix incorrect SQL query for `repository.NumClosedPulls`, the check
should be for `repo_num_pulls`.
- Reference: https://codeberg.org/Codeberg/Community/issues/696
2022-10-11 07:41:39 +01:00

21 KiB