]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20120123184321_switch_to_paperclip.rb
Move the MapQuest API key to the configuration file
[rails.git] / db / migrate / 20120123184321_switch_to_paperclip.rb
1 class SwitchToPaperclip < ActiveRecord::Migration
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