commit 1d9fa85c151facdd626a061bc135455459d8c8f7
parent 85d8153024e114938b4802f9001fd5bd039eefa6
Author: Dan Stillman <dstillman@zotero.org>
Date: Sun, 4 Jun 2006 18:53:22 +0000
Missing association of ISSN with journalArticle type -- added to sample data (thanks Simon)
Diffstat:
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/db.js b/chrome/chromeFiles/content/scholar/xpcom/db.js
@@ -463,13 +463,13 @@ Scholar.DB = new function(){
}
// For now, just wipe and recreate
- if (i==12){
+ if (i==13){
Scholar.DB.query("DROP TABLE IF EXISTS folders; "
+ "DROP TABLE IF EXISTS treeStructure;");
_initializeSchema();
}
- if (i==13){
+ if (i==14){
// do stuff
// _updateDBVersion(i);
}
diff --git a/chrome/chromeFiles/content/scholar/xpcom/scholar.js b/chrome/chromeFiles/content/scholar/xpcom/scholar.js
@@ -1,7 +1,7 @@
const SCHOLAR_CONFIG = {
GUID: 'scholar@chnm.gmu.edu',
DB_FILE: 'scholar.sqlite',
- DB_VERSION: 12, // must match version at top of schema.sql
+ DB_VERSION: 13, // must match version at top of schema.sql
DB_REBUILD: false, // erase DB and recreate from schema
DEBUG_LOGGING: true,
DEBUG_TO_CONSOLE: true // dump debug messages to console rather than (much slower) Debug Logger
diff --git a/schema.sql b/schema.sql
@@ -1,4 +1,4 @@
--- 12
+-- 13
DROP TABLE IF EXISTS version;
CREATE TABLE version (
@@ -176,6 +176,7 @@
INSERT INTO itemTypeFields VALUES (2,4,4);
INSERT INTO itemTypeFields VALUES (2,5,5);
INSERT INTO itemTypeFields VALUES (2,10,6);
+ INSERT INTO itemTypeFields VALUES (2,13,7);
INSERT INTO "items" VALUES(1, 1, 'Online connections: Internet interpersonal relationships', '2006-03-12 05:24:40', '2006-03-12 05:24:40');
INSERT INTO "items" VALUES(2, 1, 'Computer-Mediated Communication: Human-to-Human Communication Across the Internet', '2006-03-12 05:25:50', '2006-03-12 05:25:50');