# メガトピックに属する投稿がある場合、「すべての投稿を削除」が実行できません

**URL:** <https://meta.discourse.org/t/unable-to-delete-all-posts-when-there-are-posts-that-belong-to-megatopic/131652>\
**Category:** Bug\
**Created:** [2019 年 10 月 22 日午後 6:43 UTC](https://meta.discourse.org/t/unable-to-delete-all-posts-when-there-are-posts-that-belong-to-megatopic/131652 "2019-10-22T18:43:29Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [2019 年 10 月 23 日午前 10:03 UTC](https://meta.discourse.org/t/unable-to-delete-all-posts-when-there-are-posts-that-belong-to-megatopic/131652/10 "2019-10-23T10:03:42Z")

</div>

> [@RobinTS](#):
>
> あるトピックには5万5千件の投稿があり、もう一方には1万7千件の投稿があります

:叫び:

コンソールを使ってこれらの投稿5件を削除してみましたか？

```plaintext
./launcher enter app
rails c
Post.find(THE_POST_ID).destroy

```

---

_[View the full topic](https://meta.discourse.org/t/unable-to-delete-all-posts-when-there-are-posts-that-belong-to-megatopic/131652)._
