# Hosting many forums on a single Discourse instance with a single database

**URL:** <https://meta.discourse.org/t/hosting-many-forums-on-a-single-discourse-instance-with-a-single-database/21556>\
**Category:** Feature\
**Created:** [10월 27, 2014, 10:35오후 UTC](https://meta.discourse.org/t/hosting-many-forums-on-a-single-discourse-instance-with-a-single-database/21556 "2014-10-27T22:35:32Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [10월 31, 2014, 10:00오후 UTC](https://meta.discourse.org/t/hosting-many-forums-on-a-single-discourse-instance-with-a-single-database/21556/6 "2014-10-31T22:00:04Z")

</div>

You definitely would not do this, this way. Its too hard, risky and there is no chance we will add a “scope” column to every table, never going to happen.

Instead look at apartment gem and how it does schema switching, you would have to port that in conditionally to rails-multisite.

You would need to handle provisioning and comms and a bunch of other stuff.

---

_[View the full topic](https://meta.discourse.org/t/hosting-many-forums-on-a-single-discourse-instance-with-a-single-database/21556)._
