Postgres obcinaj z kaskadą
TRUNCATE sch.mytable RESTART IDENTITY CASCADE;
Prickly Porcupine
TRUNCATE sch.mytable RESTART IDENTITY CASCADE;