ubah atau ubah penghitung urutan postgresql

SELECT setval('payments_id_seq', 21, true);  # next value will be 22
Naughty Narwhal