falsepositives migration (3rd round)

This commit is contained in:
Vicente J. Ruiz Jurado 2018-03-26 15:44:41 +02:00
parent b6accbadef
commit 1504fc1ab1

View file

@ -200,17 +200,6 @@ Meteor.startup(() => {
Migrations.add({ Migrations.add({
version: 15, version: 15,
up: function moveToFalsePositivesUppercase() {
const falsepositiveslower = new Mongo.Collection('falsepositives', { idGeneration: 'MONGO' });
falsepositiveslower.find({}).forEach((falseDoc) => {
FalsePositives.insert(falseDoc);
});
// TODO remove falsepositives lowercase collection
}
});
Migrations.add({
version: 16,
up: function moveToFalsePositivesUppercaseWithUser() { up: function moveToFalsePositivesUppercaseWithUser() {
const falsepositiveslower = new Mongo.Collection('falsepositives', { idGeneration: 'MONGO' }); const falsepositiveslower = new Mongo.Collection('falsepositives', { idGeneration: 'MONGO' });
falsepositiveslower.find({}).forEach((falseDoc) => { falsepositiveslower.find({}).forEach((falseDoc) => {