class AddSmileCountToAnswers < ActiveRecord::Migration[4.2]
def change
add_column :answers, :smile_count, :integer, default: 0, null: false
end