mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-24 00:39:32 +09:00
✌️
This commit is contained in:
parent
b60903e2b4
commit
96ab0e7b4c
@ -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
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user