SQL fix
This commit is contained in:
parent
f171259ed4
commit
c5cc94fd81
|
@ -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 -------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue