mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
add 'items.' to 'gear.owned'
This commit is contained in:
parent
ccfe48099f
commit
774bb7bc3a
1 changed files with 4 additions and 4 deletions
|
|
@ -1,11 +1,11 @@
|
|||
db.users.update(
|
||||
{'gear.owned.head_special_nye':{$ne:null}},
|
||||
{$set:{'gear.owned.head_special_nye2014':false}},
|
||||
{'items.gear.owned.head_special_nye':{$ne:null}},
|
||||
{$set:{'items.gear.owned.head_special_nye2014':false}},
|
||||
{multi:1}
|
||||
)
|
||||
|
||||
db.users.update(
|
||||
{'gear.owned.head_special_nye':null},
|
||||
{$set:{'gear.owned.head_special_nye':false}},
|
||||
{'items.gear.owned.head_special_nye':null},
|
||||
{$set:{'items.gear.owned.head_special_nye':false}},
|
||||
{multi:1}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue