scinote-web/db/migrate/20150713061603_add_user_columns.rb

10 lines
162 B
Ruby
Raw Normal View History

class AddUserColumns < ActiveRecord::Migration[4.2]
def up
add_attachment :users, :avatar
end
def down
remove_attachment :users, :avatar
end
end