fix migration
This commit is contained in:
parent
df0d057322
commit
fbdb64ba37
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ db.objects.find({type: "Group"}).forEach(function(d){
|
|||
d.id = d.id.toLowerCase();
|
||||
db.objects.save(d);
|
||||
});
|
||||
db.streams.find({"_meta._target": {$exists: true}}).forEach(function(d){
|
||||
db.streams.find({"_meta._target": {$ne: null}}).forEach(function(d){
|
||||
d._meta._target = d._meta._target.toLowerCase();
|
||||
db.objects.save(d);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue