mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-18 08:26:45 +02:00
23 lines
309 B
MySQL
23 lines
309 B
MySQL
|
-- name: config-find-id
|
||
|
|
||
|
SELECT
|
||
|
config_id
|
||
|
,config_repo_id
|
||
|
,config_hash
|
||
|
,config_data
|
||
|
,config_approved
|
||
|
FROM config
|
||
|
WHERE config_id = $1
|
||
|
|
||
|
-- name: config-find-repo-hash
|
||
|
|
||
|
SELECT
|
||
|
config_id
|
||
|
,config_repo_id
|
||
|
,config_hash
|
||
|
,config_data
|
||
|
,config_approved
|
||
|
FROM config
|
||
|
WHERE config_repo_id = $1
|
||
|
AND config_hash = $2
|