mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
13 lines
139 B
JavaScript
13 lines
139 B
JavaScript
db.posts.update({
|
|
$or: [{
|
|
mediaIds: null
|
|
}, {
|
|
mediaIds: {
|
|
$exists: false
|
|
}
|
|
}]
|
|
}, {
|
|
$set: {
|
|
mediaIds: []
|
|
}
|
|
}, false, true);
|