mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-06-11 18:07:51 +02:00
feat: add index on user github id
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user