# Bulk convert topics from a Category to Group PMs

**URL:** <https://meta.discourse.org/t/bulk-convert-topics-from-a-category-to-group-pms/218811>\
**Category:** Product Support\
**Tags:** rails-console\
**Created:** [February 19, 2022, 1:32pm UTC](https://meta.discourse.org/t/bulk-convert-topics-from-a-category-to-group-pms/218811 "2022-02-19T13:32:31Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [February 20, 2022, 10:22am UTC](https://meta.discourse.org/t/bulk-convert-topics-from-a-category-to-group-pms/218811/3 "2022-02-20T10:22:22Z")

</div>

Thanks Jay! That would be nice and fast for the first half. However, I also have to ensure that they end up as Group PMs.

Any idea what I have to do with the topic\_groups / topic\_allowed\_groups tables? I don’t think that I can get away with an `update_all` for them.

---

_[View the full topic](https://meta.discourse.org/t/bulk-convert-topics-from-a-category-to-group-pms/218811)._
