From 9dc0909eeb46f9eac308d4f99254ffcfc088f8ec Mon Sep 17 00:00:00 2001
From: syuilo <Syuilotan@yahoo.co.jp>
Date: Fri, 8 Mar 2019 20:36:42 +0900
Subject: [PATCH] Add index

---
 src/models/note.ts | 1 +
 1 file changed, 1 insertion(+)

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');