I have ported a database from MySQL to Postgresql, running behind a django app on heroku.
In adding new rows to tables, Postgres is going back to the start of the id's, in effect starting at 1. I'd deleted some data, say the id's 1, 2 and 3. Now I'm trying to add a new row, which should be id=137, it's trying to use id=4, which already exists. How do I get Postgres to 'refresh' it's auto-id for new rows and find the next available id? Is there some way to do this in Django or in pgAdmin?