vBulletin importer fails


(Daniel) #1

vBulletin importer needs to check if the firstpostid index exists before creating it. Otherwise the script will fail with this message, if it exists:

Duplicate key name ‘firstpostid_index’

I commented out this line and everything progressed without issue:

    mysql_query("CREATE INDEX firstpostid_index ON thread (firstpostid)")

I believe an index was created on a previous migration and was causing me grief.

Why vbulletin 4 importer exclude the firstpost?
(Régis Hanol) #2

I would happily merge a PR adding that test :wink: