feat: add index on user github id

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