Create MongoDB index on tokens.token_hashed
This commit is contained in:
@@ -724,6 +724,7 @@ class PillarServer(Eve):
|
||||
coll = db['tokens']
|
||||
coll.create_index([('user', pymongo.ASCENDING)])
|
||||
coll.create_index([('token', pymongo.ASCENDING)])
|
||||
coll.create_index([('token_hashed', pymongo.ASCENDING)])
|
||||
|
||||
coll = db['notifications']
|
||||
coll.create_index([('user', pymongo.ASCENDING)])
|
||||
|
Reference in New Issue
Block a user