I have an existing django model in my project, and it's already in production database (PostgreSQL) and has records in it.
And what I basically want is to set id
(autoincrement pk) of new created objects to have at least 5 digits and start from 5.
So for example if I have last record in database with id 1924
I want my next object to have id
51925
(last id + 1 + 50000).
So it will be like this:
older objects
...
1921
1922
1923
1924 # last in production
51925 # next object to be created must autoincrement from 50001 + previous id
51926
51927
.... and so on
Is it possible and what is the best way to do it? thanks