]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20121119165817_drop_nearby_place_from_notes.rb
use a controller method to handle cancan denials
[rails.git] / db / migrate / 20121119165817_drop_nearby_place_from_notes.rb
1 class DropNearbyPlaceFromNotes < ActiveRecord::Migration[5.0]
2   def up
3     remove_column :notes, :nearby_place
4   end
5
6   def down
7     add_column :notes, :nearby_place, :string
8   end
9 end