mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-23 14:35:14 +00:00
parent
96ab0e7b4c
commit
72ab5c143e
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ 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
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue