From afaa22d169158298d068618fc87ce21ecd35eb45 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 7 Dec 2006 03:41:23 +0000 Subject: [PATCH] Fixes #429, Fails to build new db Sorry about that --- 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 5418dce5a8..d2143d152e 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -340,7 +340,7 @@ Zotero.Schema = new function(){ Zotero.DB.query(sql); var sql = "INSERT INTO itemData VALUES(123456789, 27, '2006-10-05 14:00:00')"; Zotero.DB.query(sql); - var sql = "INSERT INTO itemNotes VALUES(123456789, NULL, ?)"; + var sql = "INSERT INTO itemNotes (itemID, sourceItemID, note) VALUES(123456789, NULL, ?)"; var msg = "Welcome to Zotero! Click the \"View Page\" button above to visit our Quick Start Guide and learn how to get started collecting, managing, and citing your research.\n\nThanks for trying Zotero, and be sure to tell your friends about it."; Zotero.DB.query(sql, msg);