spec/fixtures/dirigible/lib/dirigible/data.rb in sniff-0.10.1 vs spec/fixtures/dirigible/lib/dirigible/data.rb in sniff-0.11.0
- old
+ new
@@ -1,11 +1,10 @@
module BrighterPlanet
module Dirigible
module Data
def self.included(base)
- base.force_schema do
- float 'fuel_efficiency'
- float 'annual_distance_estimate'
+ base.col :fuel_efficiency, :type => :float
+ base.col :annual_distance_estimate, :type => :float
end
end
end
end
end