DELETE FROM table_name;
ALTER SEQUENCE table_name_seq_id RESTART WITH 1;
INSERT INTO table_name VALUES(nextval('table_name_seq_id'), 'data1');