Revert "Removing unused types key from index."

This reverts commit 6b384b51a2.
This commit is contained in:
Samuel Clay 2021-01-06 18:07:52 -05:00
parent b3944cab07
commit bbd6b9d474

View file

@ -38,6 +38,7 @@ class MUserNotificationTokens(mongo.Document):
'collection': 'notification_tokens',
'indexes': [{'fields': ['user_id'],
'unique': True,
'types': False,
}],
'allow_inheritance': False,
}