Skip to content

Conversation

henrybarreto
Copy link
Member

No description provided.

@henrybarreto henrybarreto self-assigned this Jun 30, 2025
@henrybarreto henrybarreto requested a review from a team as a code owner June 30, 2025 16:10
@henrybarreto henrybarreto removed their assignment Jun 30, 2025
Comment on lines -41 to -51
_, err := db.Collection("sessions").
UpdateMany(
ctx,
bson.M{
"recorded": false,
"events.types": bson.M{"$size": 0},
},
bson.M{"$set": bson.M{"recorded": true}},
)
// NOTE: This migration shouldn't be reverted.

return err
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gustavosbarreto, do you think is it right?

@gustavosbarreto gustavosbarreto merged commit cf15fd9 into master Jul 1, 2025
16 checks passed
@gustavosbarreto gustavosbarreto deleted the tests/migration_99 branch July 1, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants