From a133374c0b909cf017f5ac695ef71f0b0621b665 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 16 Jan 2016 23:55:23 +0200 Subject: [PATCH] lets not run the upgrade script everytime --- src/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrade.js b/src/upgrade.js index ae8a6ab690..b9dbb45a9a 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -305,7 +305,7 @@ Upgrade.upgrade = function(callback) { function(next) { thisSchemaDate = Date.UTC(2016, 0, 14); - if (schemaDate < thisSchemaDate || 1) { + if (schemaDate < thisSchemaDate) { updatesMade = true; winston.info('[2016/01/14] Creating user best post sorted sets');