falsepositives migration (4rd round)
This commit is contained in:
parent
1504fc1ab1
commit
d538f8cd8e
1 changed files with 11 additions and 0 deletions
|
|
@ -200,6 +200,17 @@ 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