diff --git a/src/upgrade.js b/src/upgrade.js index b28158d826..b957adbe7d 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -695,6 +695,10 @@ Upgrade.upgrade = function(callback) { tasks.push(async.apply(db.setObjectField, 'groupslug:groupname', Utils.slugify(groupObj.name), groupObj.name)); }); + // Administrator group + tasks.push(async.apply(db.setObjectField, 'group:administrators', 'slug', 'administrators')); + tasks.push(async.apply(db.setObjectField, 'groupslug:groupname', 'administrators', 'administrators')); + async.parallel(tasks, function(err) { if (err) { winston.error('[2015/01/19] Error encountered while Generating group slugs');