mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-23 08:56:29 +00:00
fix postgres repo count
This commit is contained in:
parent
02a8a2a31f
commit
005a28a638
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ FROM pg_class WHERE relname = 'users'
|
|||
-- name: count-repos
|
||||
|
||||
SELECT count(1)
|
||||
FROM repo
|
||||
FROM repos
|
||||
WHERE repo_active = 1
|
||||
|
||||
-- name: count-builds
|
||||
|
|
|
@ -89,7 +89,7 @@ FROM pg_class WHERE relname = 'users'
|
|||
|
||||
var countRepos = `
|
||||
SELECT count(1)
|
||||
FROM repo
|
||||
FROM repos
|
||||
WHERE repo_active = 1
|
||||
`
|
||||
|
||||
|
|
Loading…
Reference in a new issue