Last active
July 25, 2019 07:25
-
-
Save pierot/774c25eda7f4d5099acefd459745e3d0 to your computer and use it in GitHub Desktop.
Reset Postgres sequence auto increment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER SEQUENCE name_id_seq RESTART WITH 10000; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment