Skip to content

Commit

Permalink
remove drop
Browse files Browse the repository at this point in the history
  • Loading branch information
njenkins committed Mar 13, 2016
1 parent 03f28a7 commit d50b3d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scraper.js
Expand Up @@ -7,7 +7,6 @@ function initDatabase(callback) {
// Set up sqlite database.
var db = new sqlite3.Database("data.sqlite");
db.serialize(function() {
db.run("DROP TABLE data");
db.run("CREATE TABLE IF NOT EXISTS data (title TEXT, url TEXT, year INTEGER)");
callback(db);
});
Expand Down

0 comments on commit d50b3d1

Please sign in to comment.