remove unneeded mongodb scripts

pull/1452/head
Thibault Duplessis 2016-01-14 10:16:09 +07:00
parent 5ec870b144
commit 2591e46d2c
2 changed files with 0 additions and 26 deletions

View File

@ -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)
}
});
};
});
});

View File

@ -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)
}
});
};
});
});