Add index for subscription and notification.