lib/earth/air/flight_segment.rb in earth-0.5.2 vs lib/earth/air/flight_segment.rb in earth-0.5.3

- old
+ new

@@ -17,10 +17,10 @@ falls_back_on :distance => lambda { weighted_average(:distance, :weighted_by => :passengers) }, # 2077.1205 data1 10-12-2010 :seats_per_flight => lambda { weighted_average(:seats_per_flight, :weighted_by => :passengers) }, # 144.15653537046 data1 10-12-2010 :load_factor => lambda { weighted_average(:load_factor, :weighted_by => :passengers) }, # 0.78073233770097 data1 10-12-2010 :freight_share => lambda { weighted_average(:freight_share, :weighted_by => :passengers) } # 0.022567224170157 data1 10-12-2010 - create_table do + force_schema do string 'row_hash' # auto-generated primary key string 'origin_airport_iata_code' # iata code string 'origin_airport_city' # city string 'origin_country_iso_3166_code' # iso code string 'destination_airport_iata_code' # iata code