lib/earth/shipping/carrier.rb in earth-0.5.2 vs lib/earth/shipping/carrier.rb in earth-0.5.3
- old
+ new
@@ -6,10 +6,10 @@
# TODO calculate these
falls_back_on :route_inefficiency_factor => 1.03,
:transport_emission_factor => 0.0005266,
:corporate_emission_factor => 0.221
- create_table do
+ force_schema do
string 'name'
float 'package_volume'
float 'route_inefficiency_factor'
float 'transport_emission_factor'
string 'transport_emission_factor_units'