metamaps--metamaps/db/migrate/20140707161810_add_image_to_users.rb

10 lines
166 B
Ruby
Raw Permalink Normal View History

class AddImageToUsers < ActiveRecord::Migration
def self.up
add_attachment :users, :image
end
def self.down
remove_attachment :users, :image
end
end