Setel ulang indeks tabel postgres ke nilai maksimal berikutnya
SELECT SETVAL('some_table_id_seq',MAX(id)+1) FROM some_table
hoobastankbutforcoding
SELECT SETVAL('some_table_id_seq',MAX(id)+1) FROM some_table