Fix create table statements, multiple creates not allowed in one batch; closes #31.

This commit is contained in:
jkaplon 2015-08-24 13:40:41 -04:00
parent 8c22d38f57
commit 0c19cf7913

View File

@ -42,7 +42,9 @@ db.serialize(function() {
"origJSON TEXT," +
"coreId TEXT," +
"status TEXT," +
"published_at TEXT) " +
"published_at TEXT)"
);
db.run(
"CREATE TABLE Cores (" +
"coreId TEXT PRIMARY KEY," +
"coreName TEXT," +