In this the new time table generate the data delete is check in local database in restore the last data base back up of school and check the previous data and new data generate the data not deleted when the time table generate.