]> git.openstreetmap.org Git - rails.git/blob - db/migrate/011_add_user_image.rb
use a controller method to handle cancan denials
[rails.git] / db / migrate / 011_add_user_image.rb
1 class AddUserImage < ActiveRecord::Migration[5.0]
2   def self.up
3     add_column "users", "image", :text
4   end
5
6   def self.down
7     remove_column "users", "image"
8   end
9 end