scinote-web/db/migrate/20150713061603_add_user_columns.rb
2017-06-30 10:23:28 +02:00

9 lines
162 B
Ruby

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