Badges not being assigned

Err, wait a second, what do you think that query is actually doing?

Also, you need to make the (user_id, post_id) pairs unique or you crash the grant.

The :backfill snippet is for triggered badges, this should be a “check once per day” badge.