Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] ID doesn't...
 
Notifications
Clear all

[SOLVED] ID doesn't restart when entries are deleted

2 Posts
2 Users
0 Reactions
2,438 Views
(@bion)
Posts: 70
Active Member
Topic starter
 
[#5129]

Hello,
I'm having trouble with projeQtor 7.0.5
let's say i've got 10 users in my DB.
When i delete users, for instance from 5 to 10, then when i create a new one his ID will be 11 and not 5 as expected.
Am i doing somethong wrong?

thanks for helping


 
Posted : 03 May 2018 12H06
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

ID is internally provided by Database.
It is base on "sequences" and does not "fill holes".
If you delete items, their ids will not be used anymore.


 
Posted : 04 May 2018 12H28
Share:

Scroll to Top