-
-
Notifications
You must be signed in to change notification settings - Fork 658
Closed
Labels
Description
Filter out any duplicates with:
SELECT
github_username,
COUNT(github_username)
FROM
users
GROUP BY
github_username
HAVING
COUNT(github_username) > 1;
SELECT
*
FROM
users
WHERE
github_username = 'duplicate';
These can actually be synced from their GitHub ID. We should run a queued job that goes over all accounts and syncs them. Maybe also a scheduled job or a GitHub webhook.