mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-05 18:29:12 +02:00
lets not run the upgrade script everytime
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user