]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20120123184321_switch_to_paperclip.rb
Merge remote-tracking branch 'upstream/pull/5036'
[rails.git] / db / migrate / 20120123184321_switch_to_paperclip.rb
1 class SwitchToPaperclip < ActiveRecord::Migration[4.2]
2   def up
3     rename_column :users, :image, :image_file_name
4   end
5
6   def down
7     rename_column :users, :image_file_name, :image
8   end
9 end