Add link to commit on GitHub when closing a fixed bug/added feature

3 points:

  1. I would count SQL as code
  2. This appears to have affected default badges. I certainly hope that the SQL for those badges is in the code repository.
  3. If the trigger SQL was faulty, then just deleting the bad badges would not actually fix the issue. The underlying SQL would need to be fixed.