metamaps--metamaps/db/migrate/20140210025850_add_featured_to_maps.rb

8 lines
187 B
Ruby
Raw Normal View History

2014-02-10 04:36:23 +00:00
class AddFeaturedToMaps < ActiveRecord::Migration
def change
add_column :maps, :featured, :boolean
Map.reset_column_information
Map.update_all(:featured => false)
end
end