Add Cores table to DB creation script, closes issue #26

This commit is contained in:
jkaplon 2015-07-30 12:52:25 -04:00
parent 31da09399d
commit 49ec80a780

View File

@ -41,10 +41,12 @@ db.serialize(function() {
"CREATE TABLE Alerts (" +
"origJSON TEXT," +
"coreId TEXT," +
"coreName TEXT," +
"locationDesc TEXT," +
"status TEXT," +
"published_at TEXT)"
"published_at TEXT) " +
"CREATE TABLE Cores (" +
"coreId TEXT PRIMARY KEY," +
"coreName TEXT," +
"locationDesc TEXT)" +
);
}
});