alter sequence in postgres code example
Example 1: postgresql alter table sequence
alter sequence your_sequence restart with 1000;
Example 2: alter sequence postgres
ALTER SEQUENCE eadmodulo_id_seq RESTART WITH 8;
Example 3: create sequence postgres
CREATE SEQUENCE mysequence
INCREMENT 5
START 100;