# Question Answer Plugin

**URL:** https://meta.discourse.org/t/question-answer-plugin/56032
**Category:** Plugin
**Tags:** deprecated
**Created:** [January 19, 2017, 4:43pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032 "2017-01-19T16:43:47Z")
**Posts on this page:** 1
**Showing post:** 300

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [September 30, 2022, 6:10pm UTC](https://meta.discourse.org/t/question-answer-plugin/56032/300 "2022-09-30T18:10:03Z")

</div>

> [@angus](#):
>
> If there’s a need for a migration script, I’ll be happy to write that, but only if there’s a need amongst existing users of this plugin (please let me know if that’s you).

I have a customer that is going to need it.

> [@Is it possible to convert an existing topic into a Post Voting one?](https://meta.discourse.org/t/is-it-possible-to-convert-an-existing-topic-into-a-post-voting-one/272248/1):
>
> Is it possible to convert an existing topic to QA format topic?

~~Seemed to be interested.~~ No. I think they just mean an existing normal topic. I’m a bit surprised that this isn’t solved, or perhaps all I need to do is to install [Discourse Upvotes](https://meta.discourse.org/t/discourse-upvotes/227808) and it’ll just work?

I don’t see any rake tasks in the new plugin, and glancing at the migrations it doesn’t appear that there is any magic there, though I could be wrong on one or both counts.

EDIT: OOps. It does look like the first migration handles moving stuff to the new plugin right here. . . I’m running the upgrade now and will delete this when it works.

EDIT 2: Sigh. It didn’t work. It’s failing with ` "PG::InvalidParameterValue: ERROR: cannot extract elements from a scalar",`

> <https://github.com/discourse/discourse-post-voting/blob/main/db/migrate/20211020062413_create_question_answer_votes.rb#L13-L28>

---

_[View the full topic](https://meta.discourse.org/t/question-answer-plugin/56032)._
