Missing association of ISSN with journalArticle type -- added to sample data (thanks Simon)
This commit is contained in:
parent
85d8153024
commit
1d9fa85c15
3 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue