From ebb9122e0af7015cb18d8094f87c8459c327fa57 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 25 Aug 2006 07:38:16 +0000 Subject: [PATCH] Forgot to remove removed field from attachment item type --- chrome/chromeFiles/content/scholar/xpcom/schema.js | 4 ++-- schema.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 index 16157d5d89..fb0ecf41fd 100644 --- 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 index a0fe19baea..81f20231d8 100644 --- 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);