2019-09-26 02:45:52 +00:00
|
|
|
db.objects.find({type: "Group"}).forEach(function(d){
|
|
|
|
d.id = d.id.toLowerCase();
|
|
|
|
db.objects.save(d);
|
2019-09-26 02:59:39 +00:00
|
|
|
});
|
|
|
|
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);
|
|
|
|
});
|