mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 03:23:08 +02:00
9 lines
184 B
JavaScript
9 lines
184 B
JavaScript
const { default: DriveFile } = require('../../built/models/drive-file');
|
|
|
|
DriveFile.update({}, {
|
|
$rename: {
|
|
'metadata.isMetaOnly': 'metadata.withoutChunks'
|
|
}
|
|
}, {
|
|
multi: true
|
|
});
|