mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
8 lines
253 B
Ruby
8 lines
253 B
Ruby
|
class AddAvatarToUsers < ActiveRecord::Migration
|
||
|
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
|