mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 16:40:16 +08:00
10 lines
157 B
Ruby
10 lines
157 B
Ruby
|
class AddUserColumns < ActiveRecord::Migration
|
||
|
def up
|
||
|
add_attachment :users, :avatar
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
remove_attachment :users, :avatar
|
||
|
end
|
||
|
end
|