]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20120123184321_switch_to_paperclip.rb
Preserve schemes in security policy
[rails.git] / db / migrate / 20120123184321_switch_to_paperclip.rb
1 class SwitchToPaperclip < ActiveRecord::Migration[5.0]
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