mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-15 06:27:34 -07:00
Revert "✌️"
This reverts commit 96ab0e7b4caee288b605ba2799878f89d0e67429.
This commit is contained in:
parent
fff1f321a9
commit
ac13593755
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ 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 a new issue