Hi, we have a plugin which gets last inserted record from database and then increments it while creating user. The problem is recently we found that two users are registered with the same Id in database. How can we lock the database so that while a user is created, no other user is able to create a new entry.
Thanks






