# question2answer.rb 迁移错误

**URL:** https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601
**Category:** Migration
**Created:** [2019年三月4日 08:26 UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601 "2019-03-04T08:26:58Z")
**Posts on this page:** 1
**Showing post:** 17

<div class="post-metadata">

### Author: ![michaeld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/michaeld/32/1594_2.png) [@michaeld](https://meta.discourse.org/u/michaeld)
#### Post date: [2019年三月5日 21:16 UTC](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601/17 "2019-03-05T21:16:10Z")

</div>

It seems the question2answer importer was written for a case where there is an additional set of tables in the database for another app that was integrated with it. That is what the MAIN\_APP\_DB\_NAME refers to.

We have done an import for a standalone q2a site recently and we have a modified version of the script which does not depend on this extra database. @RGJ was going to clean it up and submit it back in the next few weeks.

---

_[View the full topic](https://meta.discourse.org/t/migration-error-with-question2answer-rb/110601)._
