Forgot to remove removed field from attachment item type
This commit is contained in:
parent
9a897e15e8
commit
ebb9122e0a
2 changed files with 3 additions and 4 deletions
|
@ -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()){
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue