This commit is contained in:
Teemu Patja 2017-05-31 10:02:07 +03:00
parent f171259ed4
commit c5cc94fd81
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
1 changed files with 8 additions and 6 deletions

View File

@ -164,12 +164,14 @@ WHERE issue_id = :issue_id;
-- :name list-pending-deployments :? :* -- :name list-pending-deployments :? :*
-- :doc retrieves pending transaction ids -- :doc retrieves pending transaction ids
SELECT SELECT
issue_id, i.issue_id as issue_id,
transaction_hash, i.transaction_hash as transaction_hash,
owner_address u.address as owner_address
FROM issues FROM issues i, users u, repositories r
WHERE contract_address IS NULL WHERE r.user_id = u.id
AND issues.transaction_hash IS NOT NULL; AND i.repo_id = r.repo_id
AND i.contract_address IS NULL
AND i.transaction_hash IS NOT NULL;
-- Pull Requests ------------------------------------------------------------------- -- Pull Requests -------------------------------------------------------------------