Skip to content

Commit

Permalink
Unique fields are name, area and term
Browse files Browse the repository at this point in the history
We're no longer generating an id field, so it doesn't make sense to use
this as a unique field
  • Loading branch information
chrismytton committed Jan 9, 2017
1 parent f1b7848 commit 7973902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.rb
Expand Up @@ -84,5 +84,5 @@ def tds

# puts data
ScraperWiki.sqliteexecute('DELETE FROM data') rescue nil
ScraperWiki.save_sqlite(%i(id term), data)
ScraperWiki.save_sqlite(%i(name area term), data)

0 comments on commit 7973902

Please sign in to comment.