In the test/dev database server I would like to reset all sequences to 1 everytime I init the test.
I can use ALTER SEQUENCE xxx_sequence RESTART; to reset a specific sequence, but is there any way to do this programmatically to reset all sequence?