users – Set a minimal number for next user_id
I have a WordPress website with 111 users, I have to import +45000 users who had a predefined user_id starting from 31800001 to 32200905.
I know that I can import and set their user_id to their, already defined, id.
But I want that my next users keep this sequential ID, so the following user who register at my website after my import would need to have 32200906 has user_id.
When I try with a BETA the next user who registers has 112 as user_id.
So I am looking for a way to set a minimum for my following user_id. Any ideas ?
I think I could create 32200900 lines in my wp_usermeta + wp_users to fill the table with “fake accounts” in my database but, as you can imagine, I would prefer to avoid this ^^.
Thanks by advance !
Jonathan
Leave an answer