Forgot to remove removed field from attachment item type

This commit is contained in:
Dan Stillman 2006-08-25 07:38:16 +00:00
parent 9a897e15e8
commit ebb9122e0a
2 changed files with 3 additions and 4 deletions

View file

@ -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()){

View file

@ -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);