mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 19:43:08 +02:00
Define new index
This commit is contained in:
parent
bcf854b7bb
commit
dfa5cb567f
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ import { IUser, pack as packUser } from './user';
|
||||||
import { pack as packNote } from './note';
|
import { pack as packNote } from './note';
|
||||||
|
|
||||||
const Notification = db.get<INotification>('notifications');
|
const Notification = db.get<INotification>('notifications');
|
||||||
|
Notification.createIndex('notifieeId');
|
||||||
export default Notification;
|
export default Notification;
|
||||||
|
|
||||||
export interface INotification {
|
export interface INotification {
|
||||||
|
|
Loading…
Reference in a new issue