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
|
|
|
});
|
2019-09-26 03:08:55 +00:00
|
|
|
db.streams.find({"_meta._target": {$ne: null}}).forEach(function(d){
|
2019-09-26 02:59:39 +00:00
|
|
|
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);
|
|
|
|
});
|