✌️
This commit is contained in:
parent
df997d83bb
commit
fff1f321a9
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue