Skip to content

Instantly share code, notes, and snippets.

@digiari
Created February 11, 2016 16:32
Show Gist options
  • Select an option

  • Save digiari/90ba60c3e6b3795e7ea3 to your computer and use it in GitHub Desktop.

Select an option

Save digiari/90ba60c3e6b3795e7ea3 to your computer and use it in GitHub Desktop.
Remove duplicated entries from mysql db - From http://stackoverflow.com/a/3312066/3641927
ALTER IGNORE TABLE jobs
ADD UNIQUE INDEX idx_name (site_id, title, company);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment