This commit is contained in:
syuilo 2018-06-11 00:27:16 +09:00
parent df997d83bb
commit fff1f321a9

View file

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