# Patron 已添加到群组，但没有徽章？

**URL:** <https://meta.discourse.org/t/patron-was-added-to-the-group-but-no-badge/145117>\
**Category:** Product Support\
**Tags:** patreon\
**Created:** [2020 年3 月 22 日 07:44 UTC](https://meta.discourse.org/t/patron-was-added-to-the-group-but-no-badge/145117 "2020-03-22T07:44:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![Queth](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/queth/32/154753_2.png) [@Queth](https://meta.discourse.org/u/Queth)\
发布日期： [2020 年3 月 25 日 17:17 UTC](https://meta.discourse.org/t/patron-was-added-to-the-group-but-no-badge/145117/6 "2020-03-25T17:17:01Z")

</div>

这是查询语句，是 Patreon 插件为徽章创建的。我唯一改动的就是把组名从 `patreon` 改成了 `supporters`。

```plaintext
select user_id, created_at granted_at, NULL post_id from group_users where group_id = ( select g.id from groups g where g.name = 'supporters' )
```

返回结果是 0 条记录。应该是 1 条才对 🙂

---

_[View the full topic](https://meta.discourse.org/t/patron-was-added-to-the-group-but-no-badge/145117)._
