From 40315e68adc9a53e8e8867af2454351034132cf6 Mon Sep 17 00:00:00 2001
From: Ben Adida <ben@adida.net>
Date: Wed, 2 Nov 2011 17:33:25 -0700
Subject: [PATCH] added fixme about json db changes

---
 lib/db/json.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/db/json.js b/lib/db/json.js
index 9b5b68095..fc5705376 100644
--- a/lib/db/json.js
+++ b/lib/db/json.js
@@ -82,6 +82,10 @@ function flush() {
 function sync() {
   try {
     db = JSON.parse(fs.readFileSync(dbPath));
+
+    // FIXME:
+    // at this point db might be missing some important fields
+    // we may want to fix this. In the meantime, delete your old json db
   } catch(e) {
     logger.error("Cannot read database from " + dbPath);
   }
-- 
GitLab