Réinitialiser le compteur Postgres
-- This will also delete all the data in the table. So be careful.
TRUNCATE TABLE someTable RESTART IDENTITY;
Foolish Flatworm
-- This will also delete all the data in the table. So be careful.
TRUNCATE TABLE someTable RESTART IDENTITY;