PostgreSQL Ustaw wartość automatycznego przyrostu
ALTER SEQUENCE product_id_seq RESTART WITH 1453
Cybernated Dev
ALTER SEQUENCE product_id_seq RESTART WITH 1453
SELECT setval('test_id_seq', (SELECT MAX(id) from "test"));