usecase table cleanup