I don't know how to reset postgresql primary key to 1.
select pg_get_serial_sequence('table_name', 'primary_key_column') returns empty string so there is no sequence associated with this pk.
I don't know how to reset postgresql primary key to 1.
select pg_get_serial_sequence('table_name', 'primary_key_column') returns empty string so there is no sequence associated with this pk.