From 628d55db93b8c679c3c85a74fe7a595329f16ed5 Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Fri, 30 Mar 2018 11:33:37 +0200 Subject: [PATCH] add repo_owner and avatar to owner bounties query --- resources/sql/queries.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/sql/queries.sql b/resources/sql/queries.sql index 75d73e4..0f46d62 100644 --- a/resources/sql/queries.sql +++ b/resources/sql/queries.sql @@ -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