I don't know if it the official solution but you can try this:
- Access database with something like psql or pgadmin3
- Find the sequence you want to reset
- enter query "ALTER SEQUENCE $yoursequence RESTART"
Now it should be reset to 1.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 1/29/15, 3:43 AM|
|Seen: 526 times|
|Last updated: 3/16/15, 8:10 AM|