falsepositives migration (4rd round)

This commit is contained in:
Vicente J. Ruiz Jurado 2018-03-26 16:48:51 +02:00
parent 1504fc1ab1
commit d538f8cd8e

View file

@ -200,6 +200,17 @@ Meteor.startup(() => {
Migrations.add({
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() {
const falsepositiveslower = new Mongo.Collection('falsepositives', { idGeneration: 'MONGO' });
falsepositiveslower.find({}).forEach((falseDoc) => {