discourse/db/migrate/20130809211409_add_avatar_to_users.rb

8 lines
253 B
Ruby
Raw Normal View History

2013-08-13 15:08:29 -05:00
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