remove unneeded mongodb scripts
parent
5ec870b144
commit
2591e46d2c
|
@ -1,13 +0,0 @@
|
|||
[db.config, db.config_anon].forEach(function(coll) {
|
||||
coll.find().forEach(function(o) {
|
||||
if (o.filter && o.filter.v && o.filter.v.length > 1) {
|
||||
coll.update({
|
||||
_id: o._id
|
||||
}, {
|
||||
$push: {
|
||||
'filter.v': NumberInt(6)
|
||||
}
|
||||
});
|
||||
};
|
||||
});
|
||||
});
|
|
@ -1,13 +0,0 @@
|
|||
[db.config, db.config_anon].forEach(function(coll) {
|
||||
coll.find().forEach(function(o) {
|
||||
if (o.filter && o.filter.v && o.filter.v.length > 1) {
|
||||
coll.update({
|
||||
_id: o._id
|
||||
}, {
|
||||
$push: {
|
||||
'filter.v': NumberInt(7)
|
||||
}
|
||||
});
|
||||
};
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue