2 lines
78 B
JavaScript
2 lines
78 B
JavaScript
db.posts.update({ mediaIds: null }, { $set: { mediaIds: [] } }, false, true);
|
db.posts.update({ mediaIds: null }, { $set: { mediaIds: [] } }, false, true);
|