Skip to content

Commit

Permalink
Remove channelMessages collection from MongoDB
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Dec 9, 2020
1 parent a675f46 commit e07e87f
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -50,6 +50,7 @@ protected MongoDbFactory prepareMongoFactory(String... additionalCollectionsToDr
protected void cleanupCollections(MongoDbFactory mongoDbFactory, String... additionalCollectionsToDrop) {
MongoTemplate template = new MongoTemplate(mongoDbFactory);
template.dropCollection("messages");
template.dropCollection("channelMessages");
template.dropCollection("configurableStoreMessages");
template.dropCollection("data");
for (String additionalCollection : additionalCollectionsToDrop) {
Expand Down

0 comments on commit e07e87f

Please sign in to comment.