mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 23:55:58 +09:00
11 lines
219 B
JavaScript
11 lines
219 B
JavaScript
const { default: DriveFile } = require('../../built/models/drive-file');
|
|
|
|
DriveFile.update({}, {
|
|
$rename: {
|
|
'metadata.url': 'metadata.src',
|
|
'metadata.isMetaOnly': 'metadata.withoutChunks',
|
|
}
|
|
}, {
|
|
multi: true
|
|
});
|