Upgrading to mongo 3.4 requires dropping old indexes with types attributes. Will need downtime to accomplish.

This commit is contained in:
Samuel Clay 2020-06-30 17:13:19 -04:00
parent 230ebf5236
commit 2b1027db6d

View file

@ -0,0 +1,5 @@
db.notifications.dropIndex('user_id_1_feed_id_1')
db.notification_tokens.dropIndex('user_id_1')
db.email_unsubscribes.dropIndex('user_id_1_email_type_1')
db.stories.dropIndex('story_hash_1')
db.saved_searches.dropIndex('user_id_1_feed_id_1_query_1')