mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-01 05:24:59 +00:00
Was throwing: currval of sequence builds_build_id_seq is not yet defined in this session
This commit is contained in:
@@ -11,4 +11,5 @@ WHERE repo_active = true
|
||||
|
||||
-- name: count-builds
|
||||
|
||||
SELECT currval('builds_build_id_seq');
|
||||
SELECT count(1)
|
||||
FROM builds
|
||||
|
||||
Reference in New Issue
Block a user