mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-19 00:11:16 +00:00
22 lines
306 B
SQL
22 lines
306 B
SQL
-- name: config-find-id
|
|
|
|
SELECT
|
|
config_id
|
|
,config_repo_id
|
|
,config_hash
|
|
,config_data
|
|
,config_approved
|
|
FROM config
|
|
WHERE config_id = ?
|
|
|
|
-- name: config-find-repo-hash
|
|
|
|
SELECT
|
|
config_id
|
|
,config_repo_id
|
|
,config_hash
|
|
,config_data
|
|
,config_approved
|
|
FROM config
|
|
WHERE config_repo_id = ?
|
|
AND config_hash = ?
|