Implemented database flow delete.