Skip to content

Node.js based forum software built for the modern web

lets not run the upgrade script everytime

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