Plans to demolish a squash court to make way for a playground at Chilton Academy have been given the green light by Durham County Council.