Implemented database terminal delete.