mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
remove types index specification because it is not compatible with later versions of mongodb
This commit is contained in:
parent
c452728f82
commit
03163a06b4
1 changed files with 1 additions and 2 deletions
|
@ -69,8 +69,7 @@ class MUserFeedNotification(mongo.Document):
|
|||
'collection': 'notifications',
|
||||
'indexes': ['feed_id',
|
||||
{'fields': ['user_id', 'feed_id'],
|
||||
'unique': True,
|
||||
'types': False,
|
||||
'unique': True
|
||||
}],
|
||||
'allow_inheritance': False,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue