• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Test/Dev to Production - delete all users

#1
I'm migrating from my test/dev to production, and want to delete all the users I created to test permissions and such. I know I can delete one by one, but then the next registered member is going to be member 7, and I'd like them to be member 2. Does that makes sense? Any thoughts?
 
#2
I'm migrating from my test/dev to production, and want to delete all the users I created to test permissions and such. I know I can delete one by one, but then the next registered member is going to be member 7, and I'd like them to be member 2. Does that makes sense? Any thoughts?
I do not imagine or believe it to be possible to reset the user identification numbers
 

Jake Bunce

XenForo moderator
Staff member
#3
You can edit the autoincrement value in the database, but that can be tricky and is not recommended. You should let it increment normally to avoid collisions.

And generally it is best to use test forums as a point of reference rather than taking them live. Though it depends on the situation.