Closed simonw closed 4 years ago
This definition isn't quite right - it's not pulling the identity of the user who starred the repo (users.login
ends up being the owner login instead).
Blocked on #37
Fixed definition:
select
stars.starred_at,
starring_user.login as starred_by,
repos.*
from
repos
join stars on repos.id = stars.repo
join users as starring_user on stars.user = starring_user.id
join users on repos.owner = users.id
order by
starred_at desc;