From 6b5ba60acfb2b4f658feab5c0c226ccf50ec08f6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 16 May 2006 07:24:37 +0000 Subject: [PATCH] More helpful comment in Scholar.DB._migrateSchema() --- chrome/chromeFiles/content/scholar/db.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/chromeFiles/content/scholar/db.js b/chrome/chromeFiles/content/scholar/db.js index 8a7fe5874a..96fcc16654 100644 --- a/chrome/chromeFiles/content/scholar/db.js +++ b/chrome/chromeFiles/content/scholar/db.js @@ -407,7 +407,8 @@ Scholar.DB = new function(){ // Each block performs the changes necessary to move from the // previous revision to that one. // - // N.B. Be sure to call _updateDBVersion(i) at the end of each block! + // N.B. Be sure to call _updateDBVersion(i) at the end of each block and + // update SCHOLAR_CONFIG['DB_VERSION'] to the target version for (var i=parseInt(fromVersion) + 1; i<=toVersion; i++){ // For now, just wipe and recreate