diff --git a/src/models/notification.ts b/src/models/notification.ts index 097e3e691..835c89cd5 100644 --- a/src/models/notification.ts +++ b/src/models/notification.ts @@ -5,6 +5,7 @@ import { IUser, pack as packUser } from './user'; import { pack as packNote } from './note'; const Notification = db.get('notifications'); +Notification.createIndex('notifieeId'); export default Notification; export interface INotification {