mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
Upgrading to mongo 3.4 requires dropping old indexes with types attributes. Will need downtime to accomplish.
This commit is contained in:
parent
230ebf5236
commit
2b1027db6d
1 changed files with 5 additions and 0 deletions
5
utils/upgrade_mongo_3.4.sh
Normal file
5
utils/upgrade_mongo_3.4.sh
Normal 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')
|
Loading…
Add table
Reference in a new issue