mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 10:11:23 +02:00
16 lines
173 B
SQL
16 lines
173 B
SQL
-- name: count-users
|
|
|
|
SELECT count(1)
|
|
FROM users
|
|
|
|
-- name: count-repos
|
|
|
|
SELECT count(1)
|
|
FROM repos
|
|
WHERE repo_active = 1
|
|
|
|
-- name: count-builds
|
|
|
|
SELECT count(1)
|
|
FROM builds
|