# Database schema issues when migration InvisionBoard v4.3 to Discourse v2.1

**URL:** <https://meta.discourse.org/t/database-schema-issues-when-migration-invisionboard-v4-3-to-discourse-v2-1/95019>\
**Category:** Self-hosting\
**Created:** [August 17, 2018, 6:16pm UTC](https://meta.discourse.org/t/database-schema-issues-when-migration-invisionboard-v4-3-to-discourse-v2-1/95019 "2018-08-17T18:16:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![oncletom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oncletom/32/109064_2.png) [@oncletom](https://meta.discourse.org/u/oncletom)\
**Post date:** [August 17, 2018, 6:16pm UTC](https://meta.discourse.org/t/database-schema-issues-when-migration-invisionboard-v4-3-to-discourse-v2-1/95019/1 "2018-08-17T18:16:21Z")

</div>

Hello,

Thank you @pfaffman for the work on the InvisionBoard converter.  
I’ve been able to set it up, to connect to my remote database but I have a few questions after browsing the code and facing script errors.

- What version of IPBoard `OLD_FORMAT` is meant for? I don’t have an `ipb_forums_posts` (old format) and I don’t have an `ipb_attachment` either (with v4.3)
- What is `USERDIR` for?
- Does `AVATARS_DIR` implies avatars to be stored locally somewhere, and they are being copied to Discourse from the filesystem, not via HTTP?
- What are the implications of having `ID_FIRST` being set to `true`? I’m new to Discourse and I don’t yet grasp the meaning of `permalink_normalizations` being set or not
- If an install fails, can I re-run it without duplicating previously imported data? (in case I hack and rerun the importer multiple times)

Thanks for your help,  
I’d be happy to submit a pull request if I manage to bring the import somewhere

---

_[View the full topic](https://meta.discourse.org/t/database-schema-issues-when-migration-invisionboard-v4-3-to-discourse-v2-1/95019)._
