egirlskey/tools/migration/nighthike/6.js

1 line
78 B
JavaScript

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