When a new user is registered through the registration form of Laravel framework, the id
given to this new user is not the next id that exists in table users
.
To give you an example, take a look to the next picture:
The id of the new registered user should be 6, and not 22.
What I assume is that for testing purposes I already have deleted some users from table users
and that maybe the reason of the gap of ids.
Any ideas how to fix this?