mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Removing old types field. Needed to upgrade to mongo 3.4.
This commit is contained in:
parent
33183967b3
commit
6badcaf294
3 changed files with 0 additions and 5 deletions
|
@ -38,7 +38,6 @@ class MUserNotificationTokens(mongo.Document):
|
|||
'collection': 'notification_tokens',
|
||||
'indexes': [{'fields': ['user_id'],
|
||||
'unique': True,
|
||||
'types': False,
|
||||
}],
|
||||
'allow_inheritance': False,
|
||||
}
|
||||
|
@ -71,7 +70,6 @@ class MUserFeedNotification(mongo.Document):
|
|||
'indexes': ['feed_id',
|
||||
{'fields': ['user_id', 'feed_id'],
|
||||
'unique': True,
|
||||
'types': False,
|
||||
}],
|
||||
'allow_inheritance': False,
|
||||
}
|
||||
|
|
|
@ -1219,7 +1219,6 @@ class MEmailUnsubscribe(mongo.Document):
|
|||
'indexes': ['user_id',
|
||||
{'fields': ['user_id', 'email_type'],
|
||||
'unique': True,
|
||||
'types': False,
|
||||
}],
|
||||
}
|
||||
|
||||
|
|
|
@ -2426,7 +2426,6 @@ class MStory(mongo.Document):
|
|||
'indexes': [('story_feed_id', '-story_date'),
|
||||
{'fields': ['story_hash'],
|
||||
'unique': True,
|
||||
'types': False,
|
||||
}],
|
||||
'ordering': ['-story_date'],
|
||||
'allow_inheritance': False,
|
||||
|
@ -3184,7 +3183,6 @@ class MSavedSearch(mongo.Document):
|
|||
'indexes': ['user_id',
|
||||
{'fields': ['user_id', 'feed_id', 'query'],
|
||||
'unique': True,
|
||||
'types': False,
|
||||
}],
|
||||
'ordering': ['query'],
|
||||
'allow_inheritance': False,
|
||||
|
|
Loading…
Add table
Reference in a new issue