Adding story_date index back in to MStory.

This commit is contained in:
Samuel Clay 2010-11-04 23:04:42 -04:00
parent 44fcee1568
commit 5a6db9c1fb

View file

@ -772,7 +772,7 @@ class MStory(mongo.Document):
meta = {
'collection': 'stories',
'indexes': [('story_feed_id', '-story_date')],
'indexes': ['story_date', ('story_feed_id', '-story_date')],
'ordering': ['-story_date'],
'allow_inheritance': False,
}