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

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,