1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00
woodpecker/store/datastore/sql/mysql/files/counts.sql

16 lines
176 B
MySQL
Raw Normal View History

2017-07-15 18:51:02 +02:00
-- name: count-users
SELECT count(1)
FROM users
-- name: count-repos
SELECT count(1)
FROM repos
2017-07-25 21:32:22 +02:00
WHERE repo_active = true
2017-07-15 18:51:02 +02:00
-- name: count-builds
SELECT count(1)
FROM builds