travis-ci/travis-core — pull request #342 by henrikhodne (2014-02-03 20:19:35+00:00)
Title: fix(user): if a user is deleted, remove the associated records

This fixes the bug where a user was deleted, but the associated token wasn't, causing an exception in API when a request was made with that user's token.

So, while adding this to `token` was the only thing needed to fix that bug, I decided to go ahead and add it to the other records as well.