I've been working on migrating comments from an old WP install to a new one. The tricky part is that the on new install, the post ID's are different. I've written a script to match up the correct post ID's, but how do I insert them?
I need to give them unique commend_ID's. Is there a function in mysql to insert the highest unique number? Or should I just find the highest value via PHP and increment upon each insertion?
Will I need to do anything to generate commentmeta?