www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ebb9122e0af7015cb18d8094f87c8459c327fa57
parent 9a897e15e871e78c983595a44f42a800693aff37
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 25 Aug 2006 07:38:16 +0000

Forgot to remove removed field from attachment item type


Diffstat:
Mchrome/chromeFiles/content/scholar/xpcom/schema.js | 4++--
Mschema.sql | 3+--
2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/chrome/chromeFiles/content/scholar/xpcom/schema.js b/chrome/chromeFiles/content/scholar/xpcom/schema.js @@ -401,7 +401,7 @@ Scholar.Schema = new function(){ // // Change this value to match the schema version // - var toVersion = 41; + var toVersion = 42; if (toVersion != _getSchemaSQLVersion()){ throw('Schema version does not match version in _migrateSchema()'); @@ -425,7 +425,7 @@ Scholar.Schema = new function(){ } } - if (i==41){ + if (i==42){ // Clear storage directory var file = Scholar.getStorageDirectory(); if (file.exists()){ diff --git a/schema.sql b/schema.sql @@ -1,4 +1,4 @@ --- 41 +-- 42 DROP TABLE IF EXISTS version; CREATE TABLE version ( @@ -398,7 +398,6 @@ INSERT INTO "itemTypeFields" VALUES(12, 14, 2); INSERT INTO "itemTypeFields" VALUES(13, 1, 5); INSERT INTO "itemTypeFields" VALUES(13, 2, 4); - INSERT INTO "itemTypeFields" VALUES(13, 23, 1); INSERT INTO "itemTypeFields" VALUES(12, 18, 3); INSERT INTO "itemTypeFields" VALUES(2, 18, 11); INSERT INTO "itemTypeFields" VALUES(3, 18, 12);