postgresql clear auto_increment code example
Example: postgresql reset auto increment
-- if you dont mind losing the data, do the following
TRUNCATE TABLE someTable RESTART IDENTITY;
-- if you dont mind losing the data, do the following
TRUNCATE TABLE someTable RESTART IDENTITY;