How to reset auto increment in PostgreSQL
Sometimes you insert data directly into the database, or insert it through a DB Seed. In PostgreSQL, you need to reset the auto increment ID in these cases. Thi
GGAMI
Sometimes you insert data directly into the database, or insert it through a DB Seed.
In PostgreSQL, you need to reset the auto-increment ID in these cases.
SELECT setval(pg_get_serial_sequence