This commit is contained in:
syuilo 2018-06-11 00:27:16 +09:00
parent b60903e2b4
commit 96ab0e7b4c
1 changed files with 0 additions and 2 deletions

View File

@ -15,8 +15,6 @@ import Following from './following';
const Note = db.get<INote>('notes'); const Note = db.get<INote>('notes');
Note.createIndex('uri', { sparse: true, unique: true }); Note.createIndex('uri', { sparse: true, unique: true });
Note.createIndex('userId');
Note.createIndex('tags', { sparse: true });
Note.createIndex({ Note.createIndex({
createdAt: -1 createdAt: -1
}); });