2017-08-31 00:06:56 -04:00
|
|
|
class AddAvatarToUsers < ActiveRecord::Migration[4.2]
|
2013-08-13 16:08:29 -04:00
|
|
|
def change
|
|
|
|
add_column :users, :use_uploaded_avatar, :boolean, default: false
|
|
|
|
add_column :users, :uploaded_avatar_template, :string
|
|
|
|
add_column :users, :uploaded_avatar_id, :integer
|
|
|
|
end
|
|
|
|
end
|