# 그룹 개요에 사용자 수가 잘못 표시됨

**URL:** <https://meta.discourse.org/t/incorrect-number-of-users-in-the-groups-overview/169968>\
**Category:** Product Support\
**Created:** [11월 12, 2020, 7:20오후 UTC](https://meta.discourse.org/t/incorrect-number-of-users-in-the-groups-overview/169968 "2020-11-12T19:20:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [11월 16, 2020, 3:49오전 UTC](https://meta.discourse.org/t/incorrect-number-of-users-in-the-groups-overview/169968/4 "2020-11-16T03:49:39Z")

</div>

> [@GuidoD](#):
>
> **group\_users** 테이블에서 **users** 테이블에 해당 항목이 없는 항목들을 SQL 문으로 수동으로 삭제하는 건가요?

네, 어떻게 그런 상태가 되었는지 모르겠지만, 어떤 마이그레이션의 결과이거나 그런 종류의 문제일 수도 있겠네요.

삭제는 완전히 안전합니다(다만 이런 경우처럼, 삭제 전에 DB를 백업해 두세요).

```plaintext
./launcher enter app
rails c
DB.exec("delete from group_users where user_id not in (select id from users)")

```

여기서 일관된 재현 단계를 찾을 수 있다면, 기꺼이 수정하겠습니다.

---

_[View the full topic](https://meta.discourse.org/t/incorrect-number-of-users-in-the-groups-overview/169968)._
