mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-21 18:18:06 +09:00
10 lines
184 B
JavaScript
10 lines
184 B
JavaScript
const { default: DriveFile } = require('../../built/models/drive-file');
|
|
|
|
DriveFile.update({}, {
|
|
$rename: {
|
|
'metadata.isMetaOnly': 'metadata.withoutChunks'
|
|
}
|
|
}, {
|
|
multi: true
|
|
});
|