Ack! Drop translators and CSL for people upgrading!

This commit is contained in:
Dan Stillman 2006-10-06 03:49:46 +00:00
parent ac2caac913
commit 214cbe499b
2 changed files with 6 additions and 1 deletions

View File

@ -546,6 +546,11 @@ Zotero.Schema = new function(){
Zotero.DB.query("UPDATE itemData SET fieldID=66 WHERE fieldID=24 AND itemID IN (SELECT itemID FROM items WHERE itemTypeID=9)");
Zotero.DB.query("UPDATE itemData SET fieldID=59 WHERE fieldID=24 AND itemID IN (SELECT itemID FROM items WHERE itemTypeID=12)");
}
if (i==8){
Zotero.DB.query("DROP TABLE IF EXISTS translators");
Zotero.DB.query("DROP TABLE IF EXISTS csl");
}
}
_updateSchema('userdata');

View File

@ -1,4 +1,4 @@
-- 7
-- 8
-- This file creates tables containing user-specific data -- any changes
-- to existing tables made here must be mirrored in transition steps in