add repo_owner and avatar to owner bounties query

This commit is contained in:
Martin Klepsch 2018-03-30 11:33:37 +02:00
parent bbe5cb897c
commit 58cd2858f5
No known key found for this signature in database
GPG Key ID: 1A35E702AD48A9F6
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