mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-02 17:59:59 +00:00
use boolean to filter active flag, postres change
This commit is contained in:
@@ -7,7 +7,7 @@ FROM pg_class WHERE relname = 'users'
|
||||
|
||||
SELECT count(1)
|
||||
FROM repos
|
||||
WHERE repo_active = 1
|
||||
WHERE repo_active = true
|
||||
|
||||
-- name: count-builds
|
||||
|
||||
|
||||
Reference in New Issue
Block a user