Add index

This commit is contained in:
syuilo 2019-03-08 20:36:42 +09:00 committed by GitHub
parent 0ed2592e41
commit 9dc0909eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ Note.createIndex('userId');
Note.createIndex('mentions'); Note.createIndex('mentions');
Note.createIndex('visibleUserIds'); Note.createIndex('visibleUserIds');
Note.createIndex('replyId'); Note.createIndex('replyId');
Note.createIndex('renoteId');
Note.createIndex('tagsLower'); Note.createIndex('tagsLower');
Note.createIndex('_user.host'); Note.createIndex('_user.host');
Note.createIndex('_files._id'); Note.createIndex('_files._id');