migrates model class field leg.type to leg.day