Starten Sie die Seriennummer für Postgres neu
ALTER SEQUENCE tablename_columnname_seq RESTART WITH anynumber;
Witty Weevil
ALTER SEQUENCE tablename_columnname_seq RESTART WITH anynumber;