lets not run the upgrade script everytime

This commit is contained in:
barisusakli
2016-01-16 23:55:23 +02:00
parent 46f2faaa05
commit a133374c0b

View File

@@ -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');