I'm using Laravel 7.
I want to regenerate the deleted primary key ID. For example, my database ids are:
================
id | username|
================
1 | john |
2 | abc |
3 | xyz |
If any user deletes account like ID 2, my database look like follows:
================
id | username|
================
1 | john |
3 | xyz |
so, I want to get the gap ID, and create new user like with that ID.
================
id | username|
================
1 | john |
2 | mno |
3 | xyz |