I have asked about this as a part of another thread but I feel this will get better attention as a separate discussion.
The task:
I'd like to merge two separate Flarum instances into one. I think this isn't going to be easy, because user IDs, post IDs discussion IDs and tag IDs will overlap. So there's a question if there is an easy way to make a script that would look carefully at those factors and that would automatically create changes to one of the databases to make required space in the IDs of the other database.
Possible solution?
Something that would probably work is adding some large number to all IDs. For example each ID would be incremented by 100000 (100k). Current user ID = 5 would become ID = 100005 and so on.
Any thoughts if that would be the easiest approach? Would you have some other suggestions?