calckey/tools/migration/nighthike/6.js

2 lines
78 B
JavaScript
Raw Normal View History

db.posts.update({ mediaIds: null }, { $set: { mediaIds: [] } }, false, true);