feat: add index on user github id

This commit is contained in:
tdurieux committed 2021-09-06 15:05:41 +02:00
1 parent debc6ef084
commit 43e67e1d30
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ const UserSchema = new Schema({
github: { type: String },
},
externalIDs: {
github: { type: String },
github: { type: String, index: true },
},
username: {
type: String,