Reinicie o número de série para o Postgres
ALTER SEQUENCE tablename_columnname_seq RESTART WITH anynumber;
Witty Weevil
ALTER SEQUENCE tablename_columnname_seq RESTART WITH anynumber;