mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-29 15:46:21 +00:00
use boolean to filter active flag, postres change
This commit is contained in:
@@ -90,7 +90,7 @@ FROM pg_class WHERE relname = 'users'
|
||||
var countRepos = `
|
||||
SELECT count(1)
|
||||
FROM repos
|
||||
WHERE repo_active = 1
|
||||
WHERE repo_active = true
|
||||
`
|
||||
|
||||
var countBuilds = `
|
||||
|
||||
Reference in New Issue
Block a user