This commit is contained in:
otofune 2017-11-07 22:57:48 +09:00
parent 402d70e74f
commit 8424a0d61c

View File

@ -46,7 +46,7 @@ const migrateToGridFS = async (doc) => {
}
async function main() {
const count = await DriveFile.count({});
const count = await db.get('drive_files').count({});
console.log(`there are ${count} files.`)