add repo_owner and avatar to owner bounties query

This commit is contained in:
Martin Klepsch 2018-03-30 11:33:37 +02:00 committed by Tetiana Churikova
parent bbe5cb897c
commit 628d55db93
1 changed files with 2 additions and 0 deletions

View File

@ -463,6 +463,8 @@ SELECT
i.updated AS updated,
i.winner_login AS winner_login,
r.repo AS repo_name,
r.owner AS repo_owner,
r.owner_avatar_url AS repo_owner_avatar_url,
o.address AS owner_address,
u.address AS payout_address
FROM users o, repositories r, issues i LEFT OUTER JOIN users u ON u.login = i.winner_login