also update ids in streams
This commit is contained in:
parent
bf58e27748
commit
df0d057322
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,12 @@
|
|||
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){
|
||||
d._meta._target = d._meta._target.toLowerCase();
|
||||
db.objects.save(d);
|
||||
});
|
||||
db.streams.find({actor: /gup\.pe/}).forEach(function(d){
|
||||
d.actor = d.actor.toLowerCase();
|
||||
db.streams.save(d);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue