Skip to content

Instantly share code, notes, and snippets.

@raphox
Created February 17, 2017 17:10
Show Gist options
  • Save raphox/08a8f67e10614481b0c59fd3082f31b5 to your computer and use it in GitHub Desktop.
Save raphox/08a8f67e10614481b0c59fd3082f31b5 to your computer and use it in GitHub Desktop.
-- FIX sequencial
SELECT setval('familias_id_seq', max(id)) FROM familias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment