# Most effective way of creating large amount of sub-forums

**URL:** <https://meta.discourse.org/t/most-effective-way-of-creating-large-amount-of-sub-forums/83583>\
**Category:** Product Support\
**Created:** [3월 22, 2018, 6:03오후 UTC](https://meta.discourse.org/t/most-effective-way-of-creating-large-amount-of-sub-forums/83583 "2018-03-22T18:03:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![neounix](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neounix/32/215617_2.png) [@neounix](https://meta.discourse.org/u/neounix)\
**Post date:** [7월 19, 2020, 4:30오전 UTC](https://meta.discourse.org/t/most-effective-way-of-creating-large-amount-of-sub-forums/83583/5 "2020-07-19T04:30:43Z")

</div>

> [@yandos](#):
>
> 처음에는 학교별로 그룹을 만들고 사용자를 해당 그룹에 할당하는 것이 가능해 보이지만, API를 통해 수천 개의 그룹을 생성하는 것은 잘못된 접근 방식인 것 같습니다.

PostgreSQL 데이터베이스를 직접 업데이트하는 작은 Ruby 스크립트를 작성하면 실제로 쉽게 수행할 수 있습니다.

Ruby를 사용하여 이 “상당히 단순한” DB 쿼리 스크립팅 작업을 수행하기 위해 API를 사용할 필요는 없습니다.

---

_[View the full topic](https://meta.discourse.org/t/most-effective-way-of-creating-large-amount-of-sub-forums/83583)._
