mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
fix: added index for query that loads flags for user (#2678)
This commit is contained in:
committed by
Kim Gardner
parent
66c7430ff1
commit
16d0b39ebc
@@ -41,4 +41,7 @@ const Action = new Schema(
|
||||
}
|
||||
);
|
||||
|
||||
// Indexes for listing users actions.
|
||||
Action.index({ user_id: 1, item_type: 1 }, { background: true });
|
||||
|
||||
module.exports = Action;
|
||||
|
||||
Reference in New Issue
Block a user