[RSS Feed/News] Retain IDs on auto-increment column

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm building an add-on and I'm going to need to import all of the old data into the add-on. However, the IDs of the data I'm importing needs to remain the same. I've already written the importer, and everything works fine, except the IDs are not retained. They're, obviously, starting at 1 and working their way up.

I can turn the auto-increment off, then back on after the import, but that requires me to do a few different add-on upgrades. I'd rather do it all at once, if possible.

So, my...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom