spring postgresql reset auto increment to 0 code example Example: spring postgresql reset auto increment to 0 ALTER SEQUENCE product_id_seq RESTART WITH 1453