lib/earth/residence/dishwasher_use.rb in earth-0.5.0 vs lib/earth/residence/dishwasher_use.rb in earth-0.5.2
- old
+ new
@@ -1,9 +1,11 @@
class DishwasherUse < ActiveRecord::Base
set_primary_key :name
has_many :residential_energy_consumption_survey_responses
-
- data_miner do
- tap "Brighter Planet's sanitized dishwasher use data", Earth.taps_server
+
+ create_table do
+ string 'name'
+ float 'annual_energy_from_electricity_for_dishwashers'
+ string 'annual_energy_from_electricity_for_dishwashers_units'
end
end