1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-30 07:48:57 +09:00
cherrypick/cli/migration/5.0.0.js
syuilo ed36ceadbc ✌️
2018-07-26 03:46:18 +09:00

10 lines
184 B
JavaScript

const { default: DriveFile } = require('../../built/models/drive-file');
DriveFile.update({}, {
$rename: {
'metadata.isMetaOnly': 'metadata.withoutChunks'
}
}, {
multi: true
});