We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae0c3e7 commit 552ca11Copy full SHA for 552ca11
models/user.js
@@ -59,5 +59,6 @@ UserSchema.index({loginname: 1}, {unique: true});
59
UserSchema.index({email: 1}, {unique: true});
60
UserSchema.index({score: -1});
61
UserSchema.index({githubId: 1});
62
+UserSchema.index({accessToken: 1});
63
64
mongoose.model('User', UserSchema);
0 commit comments