diff --git a/migrations/20150130_birthday_goodies.js b/migrations/20150130_birthday_goodies.js index 5e4d84d1b6..46327aed3d 100644 --- a/migrations/20150130_birthday_goodies.js +++ b/migrations/20150130_birthday_goodies.js @@ -24,16 +24,16 @@ db.users.update({},{$inc:{ }},{multi:1}) db.users.update( - {'profile.achievements.habitBirthday':true}, + {'achievements.habitBirthday':true}, {$set:{ - 'profile.achievements.habitBirthday':null, - 'profile.achievements.habitBirthdays':1 + 'achievements.habitBirthday':null, + 'achievements.habitBirthdays':1 }}, {multi:1} ) db.users.update( {}, - {$inc:{'profile.achievements.habitBirthdays':1}}, + {$inc:{'achievements.habitBirthdays':1}}, {multi:1} ) \ No newline at end of file