retrospring/db/migrate/20141113164048_add_smile_count_to_answers.rb
2014-11-13 17:49:31 +01:00

5 lines
151 B
Ruby

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