We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e3ee7d commit cf15fd9Copy full SHA for cf15fd9
api/store/mongo/migrations/migration_99.go
@@ -38,16 +38,8 @@ var migration99 = migrate.Migration{
38
"action": "Down",
39
}).Info("Reverting migration")
40
41
- _, err := db.Collection("sessions").
42
- UpdateMany(
43
- ctx,
44
- bson.M{
45
- "recorded": false,
46
- "events.types": bson.M{"$size": 0},
47
- },
48
- bson.M{"$set": bson.M{"recorded": true}},
49
- )
+ // NOTE: This migration shouldn't be reverted.
50
51
- return err
+ return nil
52
}),
53
}
0 commit comments