lib/earth/shipping/shipment_mode.rb in earth-0.5.2 vs lib/earth/shipping/shipment_mode.rb in earth-0.5.3
- old
+ new
@@ -1,10 +1,10 @@
class ShipmentMode < ActiveRecord::Base
set_primary_key :name
has_many :carrier_modes, :foreign_key => 'mode_name', :primary_key => 'name'
- create_table do
+ force_schema do
string 'name'
float 'route_inefficiency_factor'
float 'transport_emission_factor'
string 'transport_emission_factor_units'
end