woodpecker/store/datastore/sql/sqlite/files/config.sql

23 lines
306 B
MySQL
Raw Normal View History

2017-05-05 16:59:37 +00:00
-- 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 = ?