mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-27 22:39:33 +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
|
|
});
|