1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-24 15:16:21 +09:00

Define new index

This commit is contained in:
syuilo 2018-08-02 09:29:46 +09:00
parent bcf854b7bb
commit dfa5cb567f

View File

@ -5,6 +5,7 @@ import { IUser, pack as packUser } from './user';
import { pack as packNote } from './note';
const Notification = db.get<INotification>('notifications');
Notification.createIndex('notifieeId');
export default Notification;
export interface INotification {