Ok. So one (hopefully) more question.
I get this error right off the bat:
.rvm/gems/ruby-2.5.1/gems/pg-1.1.0/lib/pg/connection.rb:173:in `get_last_result': ERROR: duplicate key value violates unique constraint "index_topic_users_on_topic_id_and_user_id" (PG::UniqueViolation)
DETAIL: Key (topic_id, user_id)=(6233, 1213) already exists.
CONTEXT: COPY topic_users, line 1437
Does this mean that if I have a topic_id and user_id combo that is identical on both databases this will not work?
If so, that will become a problem in some use-cases where there is one or two admins that are replying a LOT topics on both forums that want to be merged. Because the assumption on this action is that it’s uni-directional and there are ideally no duplicate posts between forums (only duplicate user emails) can this script update the post ID with a unique # if it hits this error?
best,
Walker