falsepositives migration (3rd round)
This commit is contained in:
parent
b6accbadef
commit
1504fc1ab1
1 changed files with 0 additions and 11 deletions
|
|
@ -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) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue