Added incident history entity and repository