iceshrimp-161sh/cli/migration/5.0.0.js

10 lines
184 B
JavaScript
Raw Normal View History

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