reset auto increment postgres testing 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;