mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 03:33:43 +08:00
8 lines
258 B
Ruby
8 lines
258 B
Ruby
class AddAvatarToUsers < ActiveRecord::Migration[4.2]
|
|
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
|