Skip to content
Snippets Groups Projects
Commit 4d94d13e authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Uploads: Finish migration

parent e14e73d0
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,10 @@ RocketChat.Migrations.add({
RocketChat.models.Settings.remove({_id: 'Accounts_AvatarStoreType'});
RocketChat.models.Settings.remove({_id: 'Accounts_AvatarStorePath'});
// TODO: Remove old collections
const avatarsFiles = new Mongo.Collection('avatars.files');
const avatarsChunks = new Mongo.Collection('avatars.chunks');
avatarsFiles.rawCollection().drop();
avatarsChunks.rawCollection().drop();
});
}, 1000);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment