Add code to delete existing records for a id when we try to add the id to the index_event table.
View differences
Add code to delete existing records for a id when we try to add the id to the index_event table.