Sekwencja tabeli postgresql
alter sequence your_sequence restart with 1000;
Cybernated Dev
alter sequence your_sequence restart with 1000;