1
0
Fork 1
mirror of https://example.com synced 2024-11-24 06:16:39 +09:00
firefish/cli/migration/5.0.0.js

10 lines
184 B
JavaScript
Raw Normal View History

2018-07-24 23:35:19 +09:00
const { default: DriveFile } = require('../../built/models/drive-file');
DriveFile.update({}, {
$rename: {
2018-07-26 03:46:18 +09:00
'metadata.isMetaOnly': 'metadata.withoutChunks'
2018-07-24 23:35:19 +09:00
}
}, {
multi: true
});