Retain IDs on auto-increment column

M

mjda

Guest
Member
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
 
BlackSpigot General Chat
Rules Help Users
    B @ BeingImpossible: Promote your discord server Fast & Free ⚡ Check out: https://dscspot.lol/ get free members
    Top