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