feature: Add Friends
Now other user can be added as friends in Settings > Friends
This commit is contained in:
@@ -62,5 +62,7 @@ const userSchema = new Schema(
|
||||
}
|
||||
);
|
||||
|
||||
userSchema.index({ username: "text" });
|
||||
|
||||
const User = mongoose.model("User", userSchema);
|
||||
module.exports = { User };
|
||||
|
||||
Reference in New Issue
Block a user