diff --git a/packages/das/src/api/miners/miners.service.ts b/packages/das/src/api/miners/miners.service.ts index 075a210..8ba86cd 100644 --- a/packages/das/src/api/miners/miners.service.ts +++ b/packages/das/src/api/miners/miners.service.ts @@ -206,10 +206,10 @@ export class MinersService { SELECT${PR_SELECT_COLUMNS} FROM pull_requests p LEFT JOIN pr_review_summary rs - ON rs.repo_full_name = p.repo_full_name + ON LOWER(rs.repo_full_name) = LOWER(p.repo_full_name) AND rs.pr_number = p.pr_number LEFT JOIN repos r - ON r.repo_full_name = p.repo_full_name + ON LOWER(r.repo_full_name) = LOWER(p.repo_full_name) LEFT JOIN maintainers m_author ON m_author.github_id = p.author_github_id AND m_author.repo_full_name = LOWER(p.repo_full_name) @@ -301,10 +301,10 @@ export class MinersService { JOIN windows w ON w.repo_full_name = LOWER(p.repo_full_name) LEFT JOIN pr_review_summary rs - ON rs.repo_full_name = p.repo_full_name + ON LOWER(rs.repo_full_name) = LOWER(p.repo_full_name) AND rs.pr_number = p.pr_number LEFT JOIN repos r - ON r.repo_full_name = p.repo_full_name + ON LOWER(r.repo_full_name) = LOWER(p.repo_full_name) LEFT JOIN maintainers m_author ON m_author.github_id = p.author_github_id AND m_author.repo_full_name = LOWER(p.repo_full_name)