diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-02 09:29:46 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-02 09:29:46 +0900 |
| commit | dfa5cb567f9bf84b28e41830a16fdf3eafb6be98 (patch) | |
| tree | 228b0e5f69922c3d5dbd828d082bfb3a5f554519 /src/models | |
| parent | Clean up (diff) | |
| download | sharkey-dfa5cb567f9bf84b28e41830a16fdf3eafb6be98.tar.gz sharkey-dfa5cb567f9bf84b28e41830a16fdf3eafb6be98.tar.bz2 sharkey-dfa5cb567f9bf84b28e41830a16fdf3eafb6be98.zip | |
Define new index
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/notification.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/models/notification.ts b/src/models/notification.ts index 097e3e691f..835c89cd56 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<INotification>('notifications'); +Notification.createIndex('notifieeId'); export default Notification; export interface INotification { |