add an index for `note_id` and one for `user_id`