reset sequences after syncing the last rows on postgresql