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

10 lines
162 B
Ruby
Raw Normal View History

2017-06-30 16:23:28 +08:00
class AddUserColumns < ActiveRecord::Migration[4.2]
2016-02-12 23:52:43 +08:00
def up
add_attachment :users, :avatar
end
def down
remove_attachment :users, :avatar
end
end