metamaps--metamaps/db/migrate/20140210025850_add_featured_to_maps.rb
2014-02-09 23:36:23 -05:00

7 lines
187 B
Ruby

class AddFeaturedToMaps < ActiveRecord::Migration
def change
add_column :maps, :featured, :boolean
Map.reset_column_information
Map.update_all(:featured => false)
end
end