scinote-web/db/migrate/20150713061603_add_user_columns.rb
2019-10-09 10:28:02 +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