Pupils at a primary school dressed up as their ancestors for a history day.