mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07: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
|
||
|
});
|