From 50e7767c93a33df1696e1197addd3b16af23d5b8 Mon Sep 17 00:00:00 2001
From: Dan Stillman <dstillman@zotero.org>
Date: Thu, 29 Mar 2007 22:37:12 +0000
Subject: [PATCH] Fix error upgrading from 1.0.0b2.r2 that as far as I can
 figure out shouldn't actually happen

---
 chrome/content/zotero/xpcom/schema.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js
index 356b70282..e8d44d1a1 100644
--- a/chrome/content/zotero/xpcom/schema.js
+++ b/chrome/content/zotero/xpcom/schema.js
@@ -741,7 +741,7 @@ Zotero.Schema = new function(){
 				if (i==16) {
 					Zotero.DB.query("CREATE TABLE tagsTemp (tagID INT, tag TEXT, PRIMARY KEY (tagID))");
 					if (Zotero.DB.tableExists("tags")) {
-						Zotero.DB.query("INSERT INTO tagsTemp SELECT * FROM tags");
+						Zotero.DB.query("INSERT INTO tagsTemp SELECT tagID, tag FROM tags");
 						Zotero.DB.query("DROP TABLE tags");
 					}
 					Zotero.DB.query("CREATE TABLE tags (\n    tagID INT,\n    tag TEXT,\n    tagType INT,\n    PRIMARY KEY (tagID),\n    UNIQUE (tag, tagType)\n);");