# Badges not being assigned

**URL:** <https://meta.discourse.org/t/badges-not-being-assigned/38220>\
**Category:** Product Support\
**Created:** [January 20, 2016, 12:32am UTC](https://meta.discourse.org/t/badges-not-being-assigned/38220 "2016-01-20T00:32:18Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [January 26, 2016, 8:11am UTC](https://meta.discourse.org/t/badges-not-being-assigned/38220/11 "2016-01-26T08:11:35Z")

</div>

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.

---

_[View the full topic](https://meta.discourse.org/t/badges-not-being-assigned/38220)._
