summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2019-03-08 20:36:42 +0900
committerGitHub <noreply@github.com>2019-03-08 20:36:42 +0900
commit9dc0909eeb46f9eac308d4f99254ffcfc088f8ec (patch)
treed1be90e4903e2f995350f07c0114de4ae02dfc66
parentResolve #4453 (diff)
downloadsharkey-9dc0909eeb46f9eac308d4f99254ffcfc088f8ec.tar.gz
sharkey-9dc0909eeb46f9eac308d4f99254ffcfc088f8ec.tar.bz2
sharkey-9dc0909eeb46f9eac308d4f99254ffcfc088f8ec.zip
Add index
-rw-r--r--src/models/note.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/note.ts b/src/models/note.ts
index 549043d557..466d1837c5 100644
--- a/src/models/note.ts
+++ b/src/models/note.ts
@@ -19,6 +19,7 @@ Note.createIndex('userId');
Note.createIndex('mentions');
Note.createIndex('visibleUserIds');
Note.createIndex('replyId');
+Note.createIndex('renoteId');
Note.createIndex('tagsLower');
Note.createIndex('_user.host');
Note.createIndex('_files._id');