update sequence postgresql code example
Example 1: postgresql update sequence next value
ALTER SEQUENCE seq_name RESTART WITH 22;
Example 2: alter sequence postgres
ALTER SEQUENCE eadmodulo_id_seq RESTART WITH 8;
ALTER SEQUENCE seq_name RESTART WITH 22;
ALTER SEQUENCE eadmodulo_id_seq RESTART WITH 8;