From 214cbe499ba76728c56c645a908854690f272086 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 6 Oct 2006 03:49:46 +0000 Subject: [PATCH] Ack! Drop translators and CSL for people upgrading! --- chrome/content/zotero/xpcom/schema.js | 5 +++++ userdata.sql | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index 74235e75f..f1d1eb9c9 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -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'); diff --git a/userdata.sql b/userdata.sql index 2f412e2f4..0d9be8c38 100644 --- a/userdata.sql +++ b/userdata.sql @@ -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