mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-04-15 01:41:56 +00:00
* Refactor: move store/ to server/store/ * fix pipeline for moved tests Co-authored-by: 6543 <6543@obermui.de>
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
|