postgres# Select setval('zones_id_seq', (SELECT max(id) from zones));
Created
December 2, 2019 05:26
-
-
Save goravbhootra/978a8564a9085f78ba18e7935f1de5cf to your computer and use it in GitHub Desktop.
Reset sequence of pg table
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment