Postgresql – Increment Sequence Reset to 1 Automatically in Postgres SQL
I have a table in a PostgresSQL where I am doing a migration from other database. I have a id field which is defined by Auto increment using sequence feature in postgres. Whenever I truncate the table and insert the…