Adding query for deleting time post and project