Fix uid index definition so it also works with MongoDB 3.4 which
performs more strict index validation.
@@ -203,8 +203,7 @@ class UIDFieldMixin(object):
{
'fields': ['uid'],
'unique': True,
- 'sparse': True,
- 'types': False
+ 'sparse': True
}
]
return indexes
