# Importing from phpBB

**URL:** <https://meta.discourse.org/t/importing-from-phpbb/215348>\
**Category:** Migration\
**Tags:** phpbb\
**Created:** [January 19, 2022, 5:11pm UTC](https://meta.discourse.org/t/importing-from-phpbb/215348 "2022-01-19T17:11:18Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Joulinar](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joulinar/32/251283_2.png) [@Joulinar](https://meta.discourse.org/u/Joulinar)\
**Post date:** [March 13, 2022, 9:33pm UTC](https://meta.discourse.org/t/importing-from-phpbb/215348/20 "2022-03-13T21:33:30Z")

</div>

> [@pfaffman](#):
>
> It’s stored in a custom field called “import\_id”

I see. It’s mapping phpbb post/topic id’s with Discourse post/topic id’s

This one seems to be a good example to import `accepted answers` [discourse/script/import\_scripts/lithium.rb at 44f7a61c2c5b6f248a62ab7f987ebbd3091c71ef · discourse/discourse · GitHub](https://github.com/discourse/discourse/blob/44f7a61c2c5b6f248a62ab7f987ebbd3091c71ef/script/import_scripts/lithium.rb#L618)

But If I understood correctly, as a first step I would need to store/import the `phpbb_topics.topic_solved` value into `postgres`. right?

---

_[View the full topic](https://meta.discourse.org/t/importing-from-phpbb/215348)._
