Hi I am building a Django application and during this I am doing test uploads into my database, then deleting the data. I understand that when I do this, the next insert will 'pick up where it left off' when inserting the auto-increment primary key int.
I.e:
I insert 3 rows into my table 'Sample':
auto_id | sample
1 | JSUDH172
2 | QIUWJ185
3 | PNMSY111
When i delete these, and enter them in again, it will start at 4:
auto_id | sample
4 | JSUDH172
5 | QIUWJ185
6 | PNMSY111
I understand this is built in to stop Django overwriting primary keys, but when the primary keys are no longer there, it (mainly from a superficial point of view) annoys me that it doesn't reset. I am uploading thousands of rows into certain tables during this development, so sometimes it starts hundreds/thousands in.
I know I can always restart the project 'from scratch' after development is finished, but I was wondering whether anyone had any useful workarounds or if people just left it as it is (if they have the same view as me)
thanks