In this video, we refactor how weekly mileage is calculated by adding a new column to the activities table to store the distance in miles.